Hello Ben,

Following is a WSDL for a doc\literal style web service. Hope this helps.
:-).

Regards,
Dimuthu.

<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:s0="urn:Notification"
xmlns="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="urn:Notification">
 <types>
  <s:schema elementFormDefault="qualified"
targetNamespace="urn:Notification">
   <s:complexType name="POType">
    <s:sequence>
     <s:element name="name" type="s:string"/>
     <s:element name="adress" type="s:string"/>
    </s:sequence>
   </s:complexType>
   <s:complexType name="RetType">
     <s:sequence>
        <s:element name="verify" type="s:int"/>
     </s:sequence>
   </s:complexType>
   <s:element name="Person" type="s0:POType"/>
   <s:element name="Notifying" type="s0:RetType"/>
  </s:schema>
 </types>
 <message name="InMessage">
  <part name="parameters" element="s0:Person"/>
 </message>
 <message name="OutMessage">
  <part name="parameters" element="s0:Notifying"/>
 </message>
 <portType name="NotificationPort">
  <operation name="findPerson">
   <input message="s0:InMessage"/>
   <output message="s0:OutMessage"/>
  </operation>
 </portType>
 <binding name="NotificationBinding" type="s0:NotificationPort">
  <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="findPerson">
   <soap:operation soapAction="findPerson" style="document"/>
   <input>
    <soap:body use="literal"/>
   </input>
   <output>
    <soap:body use="literal"/>
   </output>
  </operation>
 </binding>
 <service name="NotificationService">
  <port name="NotificationPort" binding="s0:NotificationBinding">
   <soap:address
location="http://localhost:8080/axis/services/NotificationPort"/>
  </port>
 </service>
</definitions>


----- Original Message -----
From: "Ben Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 4:40 AM
Subject: Axis and Document Style RPC


> Apologies if this has been asked before:
> Does anybody have a simple example I can use for document style soap
> using Axis? (I.e. similar to the first few examples in the user guide?)
> I'm trying to write a client that will connect to any document style
> SOAP service but I don't know if this is possible without having to
> create beans for each and every service that it will connect with.
>
> Thanks,
>
> Benjamin

Reply via email to