Hi and thanks to the people that helped me to fix the problem.
Here the portion of the wsdl:binding related with the getParent call:
<wsdl:binding name="ServiceImplServiceSoapBinding" type="tns:IService">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getParent">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getParent">
<soap:header encodingStyle="" message="tns:getParent"
part="callerId" use="literal"/>
<soap:header encodingStyle="" message="tns:getParent"
part="timestamp" use="literal"/>
<soap:header encodingStyle="" message="tns:getParent"
part="signature" use="literal"/>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getParentResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
I had to change in the section <wsdl:input name="getParent">, this line
<soap:body use="literal"/>
for this one
<soap:body use="literal" parts="parameters"/>
Not very sure why this parts attribute was not generated in my automatically
generated WSDL, but well, it fixed my problem. It would be great if there is
a way in the java cxf web service code to make a change and then this parts
attribute appears automatically. That would be great as I don“t like to make
this manual changes in the wsdl. Anyway, at least my problem is fixed.
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-incorrect-WSDL-automatically-generated-Please-help-tp5763489p5763526.html
Sent from the cxf-dev mailing list archive at Nabble.com.