Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

combining wsdl and retaining namespaces  RSS feed

Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a scenario where we have combined 2 wsdl files of two separate web services using Apache tool wsdlmerge.
In this combined wsdl we have introduced an additional operation called consolidatedOperation. The consolidatedOperation has an input called consolidatedInput and output parameter called consolidatedOutput.
consolidatedInput and consolidatedOutput are additional schema data types we have introduced combining data types from the schemas belonging to wsdl 1 and wsdl 2.
All this works fine and we deploy this consolidated web service on an ESB.

Using SOAPUI I try to open the 3 web services each represented by WSDL1, WSDL2 and Consolidated WSDL respectively

The SOAP request elements for WSDL1 and WSDL2 is generated in SOAPUI with all the necessary namespace attributes

<service1Input xsi:type="my:com_model_Service1Input" xs:type="type:com_model_Service1Input"></service1Input>
<service2Input xsi:type="my:com_model_Service2Input" xs:type="type:com_model_Service2Input"></service2Input>

but for the SOAP request pointing to the combined WSDL consolidated operation with consolidated input/output they look like this


My question here is how can i retain the namespace from the schemas of original wsdl's while creating the consolidated operation and consolidated input and output in the combined WSDL's.

Let me know your thoughts.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!