I find out if i annotate the header part of wsdl:message.All the problem has
been fixed.
But the wsdl is published by other people, which means that everytime i
should check their wsdl file and make the change, then generate my code.In
doNet the wsdl can be used directly and auto-generate what i wanted.Is there
any method which don't need to modify the wsdl?

original wsdl:
<wsdl:message name="GetPaxListByFlightRes">
        <wsdl:part element="ns0:GetPaxListByFlightRes" name="part2"/>
        <wsdl:part element="header:ResHeader" name="header2"/>
</wsdl:message>
if i change to this below it will worked:
<wsdl:message name="GetPaxListByFlightRes">
        <wsdl:part element="ns0:GetPaxListByFlightRes" name="part2"/>
</wsdl:message>

--
View this message in context: 
http://cxf.547215.n5.nabble.com/wsdl-output-s-message-have-two-parts-cause-to-generate-wrong-parameter-and-return-type-method-tp4598102p4598140.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to