Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

How to handle multiple XML message types in on Webservice  RSS feed

Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a webservice that receives XML messages from third party. The webservice populates 3 database tables from these XML files. Data for each table comes in a single XML file. How will I design the werbservice to receive all the three different types of messages. eg: Customer, Order, OrderItem.

My WSDL is given below:

<?xml version= '1.0' encoding= 'UTF-8' ?>
<schema xmlns="" >
<import namespace="" schemaLocation="xsd/Order.xsd" />
<wsdl:message name="requestMessage">
<wsdl:part name="request" element="inp1:Order"/>
<wsdl:portType name="execute_ptt">
<wsdl:operation name="execute">
<wsdl:input message="tns:requestMessage"/>

Any similar example will be really good.
rubbery bacon. rubbery tiny ad:
ScroogeXHTML 8.2 - easy to use RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!