Title: Need WSDL for this SOAP message

This is from the Axis Users Guide, in the section explaining the difference between Document and Wrapped services:

<soap:Envelope xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
  <soap:Body>
    <myNS:PurchaseOrder xmlns:myNS="http://commerce.com/PO">
      <item>SK001</item>
      <quantity>1</quantity>
      <description>Sushi Knife</description>
    </myNS:PurchaseOrder>
  </soap:Body>
</soap:Envelope>

I would really like to see the (a?) WSDL document that was used to produce this message.

In my experimentation with Java2WSDL, I keep getting what I think is an extra step-- I get this:
<wsdl:message name="purchaseOrderRequest">
  <wsdl:part name="parameters" element="impl:purchaseorder"/>
</wsdl:message>

Then two schemas at the top-- purchaseorder has one element named 'in0', and it is of type PurchaseOrder.  Then the second schema for PurchaseOrder which is what I really want, just the three item/quantity/description elements inside the parent PurchaseOrder tag, directly inside the Body tag.

If that didn't make any sense, I think I'm becoming incoherent due to frustration and lack of knowledge.

--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM

Reply via email to