Dear Team,

I am trying to create client/stub for SOAP web service.
I am getting following error.

I guess, It is related to RPC/Document XML. DO we have different command
line utility to generate WSDL for RPC and Document stype type of SOAP XML?


org.apache.cxf.tools.common.ToolException: Non unique body parts, operation
[ getIOBoundPaxCountInfo ] and  operation [ getPaxTypesForFlightLeg ] in
binding {http://www.xyz.org/std/2003/05}binding have the same body block: {
http://www.xyz.com/webservices/api/order}myrequest

WSI-BP-1.0 R2210 violation: Operation 'book' more than one part bound to
body


at
org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:139)
at
org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:207)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:205)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:165)
at
org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:416)
at
org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)


​*Note* - I am new to webservice.  I am sorry if I misuse any term.​



-
​--------​

Thanks And Regards,
Neeraj Nayal | Senior Software Engineer
Make My Trip, India | Flights Team
Mobile: +918335881012

Reply via email to