Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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!