• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

combining wsdl and retaining namespaces

Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


keep an eye out for scorpions and black widows. But the tiny ads are safe.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic