Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.9, 2.7.6
-
None
-
Unknown
Description
This problem occurs if the wswa:Action attribute is used in your wsdl and the value of the attribute starts with one of the namespace prefixes used in the document. For example, the following wsdl document sets wswa:Action with value "http://cxf.apache..." and this "http" happens to be declared as a namespace prefix.
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
...
xmlns:wswa="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
...>
<wsdl:portType ...>
<wsdl:operation ...>
<wsdl:input name="greetMeRequest" message="tns:greetMeRequest"
wswa:Action="http://cxf.apache.org/w2j/hello_world_soap_http/greetMe"/>
This results in the incorrectly extracted action value, which corresponds to the part following the colon "//cxf.apache.org/w2j/hello_world_soap_http/greetMe".
reported in users@cxf
http://cxf.547215.n5.nabble.com/wsdl2java-issue-td5733906.html