• Post Reply Bookmark Topic Watch Topic
  • New Topic

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="http://www.w3.org/2001/XMLSchema" >
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order" schemaLocation="xsd/Order.xsd" />
<wsdl:message name="requestMessage">
<wsdl:part name="request" element="inp1:Order"/>
<wsdl:portType name="execute_ptt">
<wsdlperation name="execute">
<wsdl:input message="tns:requestMessage"/>

Any similar example will be really good.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!