Advertisement
Guest User

error causing wsdl

a guest
May 1st, 2012
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  3.     xmlns:tns="http://www.example.com/AdapterDSS/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4.     xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AdapterDSS"
  5.     targetNamespace="http://www.example.com/AdapterDSS/">
  6.     <wsdl:types>
  7.         <xsd:schema targetNamespace="http://www.example.com/AdapterDSS/">
  8.             <xsd:element name="Sign">
  9.                 <xsd:complexType>
  10.                     <xsd:sequence>
  11.                         <xsd:element name="userId" type="xsd:string" />
  12.                         <xsd:element name="fileType" type="xsd:string"></xsd:element>
  13.                         <xsd:element name="fileContent" type="xsd:base64Binary"></xsd:element>
  14.                     </xsd:sequence>
  15.                 </xsd:complexType>
  16.             </xsd:element>
  17.             <xsd:element name="SignResponse">
  18.                 <xsd:complexType>
  19.                     <xsd:sequence>
  20.                         <xsd:element name="signature" type="xsd:base64Binary" />
  21.                         <xsd:element name="status" type="xsd:string"></xsd:element>
  22.                     </xsd:sequence>
  23.                 </xsd:complexType>
  24.             </xsd:element>
  25.         </xsd:schema>
  26.     </wsdl:types>
  27.     <wsdl:message name="SignRequest">
  28.         <wsdl:part element="tns:Sign" name="parameters" />
  29.     </wsdl:message>
  30.     <wsdl:message name="SignResponse">
  31.         <wsdl:part element="tns:SignResponse" name="parameters" />
  32.     </wsdl:message>
  33.     <wsdl:portType name="Adapter">
  34.         <wsdl:operation name="Sign">
  35.             <wsdl:input message="tns:SignRequest" />
  36.             <wsdl:output message="tns:SignResponse" />
  37.         </wsdl:operation>
  38.     </wsdl:portType>
  39.     <wsdl:binding name="AdapterSOAP" type="tns:Adapter">
  40.         <soap:binding style="document"
  41.             transport="http://schemas.xmlsoap.org/soap/http" />
  42.         <wsdl:operation name="Sign">
  43.             <soap:operation soapAction="http://www.example.com/AdapterDSS/Sign" />
  44.             <wsdl:input>
  45.                 <soap:body use="literal" />
  46.             </wsdl:input>
  47.             <wsdl:output>
  48.                 <soap:body use="literal" />
  49.             </wsdl:output>
  50.         </wsdl:operation>
  51.     </wsdl:binding>
  52.     <wsdl:service name="Adapter">
  53.         <wsdl:port binding="tns:AdapterSOAP" name="AdapterSOAP">
  54.             <soap:address location="http://localhost:7001/AdapterDSS/" />
  55.         </wsdl:port>
  56.     </wsdl:service>
  57. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement