[ 
https://issues.apache.org/jira/browse/CXF-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510620
 ] 

maomaode commented on CXF-602:
------------------------------

Ok, after deep investigate the issue, i found that there's nothing related to 
the namespace, the method name in the CodeGenTest is really misleading. it 
*MUST* changed to the FromAnotherMessagePart not FromAnotherNamespace.

As  per the spec, if the header from another message part, then it's optional 
to generate a parameter. As you can see be default cxf wsdl2java generate the 
same method signature as the JAXWS RI, i.e we don't generate the extra 
parameter for the soap:header from another message part.

However in cxf wsdl2java we have a flag to generate the optional parameter 

THAT is :  -exsh true



> EBay WSDL does not work
> -----------------------
>
>                 Key: CXF-602
>                 URL: https://issues.apache.org/jira/browse/CXF-602
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Dan Diephouse
>            Assignee: Jervis Liu
>             Fix For: 2.0
>
>         Attachments: pizza.wsdl, pizza_service_cxf_wsdl2java_header_bug.zip
>
>
> Generating a client for the EBay WSDL does not seem to work correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to