topical media & game development

talk show tell print

basic-xml-15-listing38all.xml / xml



  <?xml version="1.0"?>
  <definitions name="SernaFerna" 
      targetNamespace="http://www.sernaferna.com/soap/ordersystem" 
      xmlns:typens="http://www.sernaferna.com/soap/ordersystem" 
      xmlns:xsd="http://www.w3.org/1999/XMLSchema" 
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
      xmlns="http://schemas.xmlsoap.org/wsdl/">
  
                  <types>
                  <xsd:schema xmlns="" 
                     xmlns:xsd="http://www.w3.org/1999/XMLSchema" 
                     targetNamespace="http://www.sernaferna.com/soap/ordersystem">
                          <xsd:complexType name="addToCartType">
                             <xsd:sequence>
                                <xsd:element name="cartId" type="xsd:string" />
                                <xsd:element name="item">
                            <xsd:complexType>
                               <xsd:sequence>
                                           <xsd:element name="quantity" 
                                                    type="xsd:string"/>
                                    <xsd:element name="extPrice" 
                                                    type="xsd:string"/>
                               </xsd:sequence>
                               <xsd:attribute name="itemId" 
                                                    type="xsd:string" />
                            </xsd:complexType>
                        </xsd:element>
                     </xsd:sequence>
                          </xsd:complexType>
                          <xsd:complexType name="addToCartResponseType">
                             <xsd:sequence>
                                <xsd:element name="cartId" type="xsd:string"/>
                                <xsd:element name="status" type="xsd:string"/>
                                <xsd:element name="quantity" type="xsd:string"/>
                                 <xsd:element name="itemId" type="xsd:string"/>
                             </xsd:sequence>
                          </xsd:complexType>
                  </xsd:schema>
          </types>
  
          <message name="AddToCartRequestMsg">
                  <part name="addToCart" type="typens:addToCartType"/>
          </message>
          <message name="AddToCartResponseMsg">
                  <part name="addToCartResponse" type="typens:addToCartResponseType"/>
          </message>
  
          <portType name="SernaFernaPort">
                  <operation name="AddToCart">
                          <input message="typens:AddToCartRequestMsg"/>
                          <output message="typens:AddToCartResponseMsg"/>
                  </operation>
          </portType>
  
  </definitions>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.