User: cgjung  
  Date: 02/04/02 05:48:42

  Modified:    jboss.net/testsuite/src/main/samples/addr AddressBook.wsdl
  Log:
  That is the alpha-version together with the .Net sample client
  I hacked together at JBossOne ;-)
  
  more to come.
  
  Revision  Changes    Path
  1.2       +84 -102   
contrib/jboss.net/testsuite/src/main/samples/addr/AddressBook.wsdl
  
  Index: AddressBook.wsdl
  ===================================================================
  RCS file: 
/cvsroot/jboss/contrib/jboss.net/testsuite/src/main/samples/addr/AddressBook.wsdl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AddressBook.wsdl  12 Mar 2002 11:04:47 -0000      1.1
  +++ AddressBook.wsdl  2 Apr 2002 13:48:42 -0000       1.2
  @@ -1,110 +1,92 @@
  -<?xml version="1.0" ?>
  +<?xml version="1.0" encoding="UTF-8"?>
   
  -<definitions name="urn:AddressFetcher"
  -             targetNamespace="urn:AddressFetcher2"
  -             xmlns:tns="urn:AddressFetcher2"
  -             xmlns:typens="urn:AddressFetcher2"
  -             xmlns:xsd="http://www.w3.org/1999/XMLSchema";
  -             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  -             xmlns="http://schemas.xmlsoap.org/wsdl/";>
  -
  -  <!-- type defs -->
  -  <types>
  -    <xsd:schema targetNamespace="urn:AddressFetcher2"
  -                xmlns:xsd="http://www.w3.org/1999/XMLSchema";>
  -
  -      <xsd:simpleType name="stateType">
  -        <xsd:restriction base="xsd:string">
  -            <xsd:enumeration value="TX"/>                      
  -            <xsd:enumeration value="IN"/>                    
  -            <xsd:enumeration value="OH"/>                    
  -        </xsd:restriction>
  -      </xsd:simpleType>
  -
  -      <xsd:complexType name="phone">
  -        <xsd:all>
  -            <xsd:element name="areaCode" type="xsd:int"/>
  -            <xsd:element name="exchange" type="xsd:string"/>
  -            <xsd:element name="number" type="xsd:string"/>
  -        </xsd:all>
  -      </xsd:complexType>
  -
  -      <xsd:complexType name="address">
  -        <xsd:all>
  -            <xsd:element name="streetNum" type="xsd:int"/>
  -            <xsd:element name="streetName" type="xsd:string"/>
  -            <xsd:element name="city" type="xsd:string"/>
  -            <xsd:element name="state" type="typens:stateType"/>
  -            <xsd:element name="zip" type="xsd:int"/>
  -            <xsd:element name="phoneNumber" type="typens:phone"/>
  -        </xsd:all>
  -      </xsd:complexType>
  -    </xsd:schema>
  -  </types>
  -
  -  <!-- message declns -->
  -  <message name="AddEntryRequest">
  -    <part name="name" type="xsd:string"/>
  -    <part name="address" type="typens:address"/>
  -  </message>
  -
  -  <message name="GetAddressFromNameRequest">
  -    <part name="name" type="xsd:string"/>
  -  </message>
  -
  -  <message name="GetAddressFromNameResponse">
  -    <part name="address" type="typens:address"/>
  -  </message>
  -
  -  <!-- port type declns -->
  -  <portType name="AddressBook">
  -    <operation name="addEntry">
  -      <input message="tns:AddEntryRequest"/>
  -    </operation>
  -    <operation name="getAddressFromName">
  -      <input message="tns:GetAddressFromNameRequest"/>
  -      <output message="tns:GetAddressFromNameResponse"/>
  -    </operation>
  -  </portType>
  -
  -  <!-- binding declns -->
  -  <binding name="AddressBookSOAPBinding" type="tns:AddressBook">
  -    <soap:binding style="rpc"
  -                  transport="http://schemas.xmlsoap.org/soap/http"/>
  -    <operation name="addEntry">
  -      <soap:operation soapAction=""/>
  -      <input>
  -        <soap:body use="encoded"
  -                   namespace="urn:AddressFetcher2"
  -                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  -      </input>
  -      <output>
  +<wsdl:definitions 
  +        targetNamespace="http://net.jboss.org/samples/AddressBook";
  +        xmlns="http://schemas.xmlsoap.org/wsdl/";
  +        xmlns:tns="http://net.jboss.org/samples/AddressBook";
  +        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
  +        xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  +        xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
  +        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  +        <wsdl:types>
  +          <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema";
  +                  targetNamespace="http://net.jboss.org/samples/AddressBook";>
  +                    <xsd:simpleType name="StateType">
  +        
  +                                             <xsd:restriction base="xsd:string">
  +                                                     <xsd:enumeration value="TX"/>  
                    
  +                                                     <xsd:enumeration value="IN"/>  
                  
  +                                                     <xsd:enumeration value="OH"/>  
                  
  +                                             </xsd:restriction>
  +                                     </xsd:simpleType>
  +
  +                                     <xsd:complexType name="Phone">
  +                                             <xsd:all>
  +                                                     <xsd:element name="areaCode" 
type="xsd:int"/>
  +                                                     <xsd:element name="exchange" 
type="xsd:string"/>
  +                                                     <xsd:element name="number" 
type="xsd:string"/>
  +                                             </xsd:all>
  +                                     </xsd:complexType>
  +      
  +                                     <xsd:complexType name="Address">
  +                                             <xsd:all>
  +                                                     <xsd:element name="streetNum" 
type="xsd:int"/>
  +                                                     <xsd:element name="streetName" 
type="xsd:string"/>
  +                                                     <xsd:element name="city" 
type="xsd:string"/>
  +                                                     <xsd:element name="state" 
type="tns:StateType"/>
  +                                                     <xsd:element name="zip" 
type="xsd:int"/>
  +                                                     <xsd:element 
name="phoneNumber" type="tns:Phone"/>
  +                                             </xsd:all>
  +                                     </xsd:complexType>
  +               </xsd:schema>
  +        </wsdl:types>
  +        
  +  <wsdl:message name="AddEntryRequest">
  +    <wsdl:part name="name" type="xsd:string"/>
  +    <wsdl:part name="address" type="tns:Address"/> 
  +  </wsdl:message>
  +  <wsdl:message name="GetAddressFromNameRequest">
  +    <wsdl:part name="name" type="xsd:string"/>
  +  </wsdl:message>
  +  <wsdl:message name="GetAddressFromNameResponse">
  +    <wsdl:part name="address" type="tns:Address"/>
  +  </wsdl:message>
  +  <wsdl:portType name="AddressBook">
  +    <wsdl:operation name="addEntry">
  +      <wsdl:input message="tns:AddEntryRequest"/>
  +    </wsdl:operation>
  +    <wsdl:operation name="getAddressFromName">
  +      <wsdl:input message="tns:GetAddressFromNameRequest"/>
  +      <wsdl:output message="tns:GetAddressFromNameResponse"/>
  +    </wsdl:operation>
  +  </wsdl:portType>
  +  <wsdl:binding name="AddressBookSOAPBinding" type="tns:AddressBook">
  +    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  +    <wsdl:operation name="addEntry" >
  +      <soap:operation soapAction="" style="rpc"/>
  +      <wsdl:input>
           <soap:body use="encoded"
  -                   namespace="urn:AddressFetcher2"
  +                   namespace="http://net.jboss.org/samples/AddressBook";
                      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  -      </output>
  -    </operation>
  -    <operation name="getAddressFromName">
  -      <soap:operation soapAction=""/>
  -      <input>
  +      </wsdl:input>
  +    </wsdl:operation> 
  +    <wsdl:operation name="getAddressFromName">
  +      <soap:operation soapAction="" style="rpc"/>
  +      <wsdl:input>
           <soap:body use="encoded"
  -                   namespace="urn:AddressFetcher2"
  +                   namespace="http://net.jboss.org/samples/AddressBook";
                      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  -      </input>
  -      <output>
  +      </wsdl:input>
  +      <wsdl:output>
           <soap:body use="encoded"
  -                   namespace="urn:AddressFetcher2"
  +                   namespace="http://net.jboss.org/samples/AddressBook";
                      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  -      </output>
  -    </operation>
  -  </binding>
  -
  -  <!-- service decln -->
  -  <service name="AddressBookService">
  -    <port name="AddressBook" binding="tns:AddressBookSOAPBinding">
  +      </wsdl:output>
  +    </wsdl:operation>
  +  </wsdl:binding>
  +  <wsdl:service name="AddressBookService">
  +    <wsdl:port name="AddressBook" binding="tns:AddressBookSOAPBinding">
         <soap:address location="http://localhost:8080/axis/services/AddressBook"/>
  -    </port>
  -  </service>
  -
  -</definitions>
  -
  +    </wsdl:port>
  +  </wsdl:service>
  +</wsdl:definitions>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to