Aki Yoshida created CXF-5280:
--------------------------------

             Summary: wsdl2java may fail to extract the wsma:Action attribute 
value
                 Key: CXF-5280
                 URL: https://issues.apache.org/jira/browse/CXF-5280
             Project: CXF
          Issue Type: Bug
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to