Skip to content

Instantly share code, notes, and snippets.

@xrd
Created January 14, 2011 16:06
Show Gist options
  • Select an option

  • Save xrd/779798 to your computer and use it in GitHub Desktop.

Select an option

Save xrd/779798 to your computer and use it in GitHub Desktop.
web services
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="Authenticate">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionID" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AuthenticateResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="AuthenticateResult" type="tns:UserAuthenticationResponse" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="UserAuthenticationResponse">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="IsLoggedIn" type="s:boolean" />
<s:element minOccurs="0" maxOccurs="1" name="LoginName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="AuthenticateSoapIn">
<wsdl:part name="parameters" element="tns:Authenticate" />
</wsdl:message>
<wsdl:message name="AuthenticateSoapOut">
<wsdl:part name="parameters" element="tns:AuthenticateResponse" />
</wsdl:message>
<wsdl:portType name="UserAuthenticationSoap">
<wsdl:operation name="Authenticate">
<wsdl:input message="tns:AuthenticateSoapIn" />
<wsdl:output message="tns:AuthenticateSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="UserAuthenticationSoap" type="tns:UserAuthenticationSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Authenticate">
<soap:operation soapAction="http://tempuri.org/Authenticate" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="UserAuthenticationSoap12" type="tns:UserAuthenticationSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Authenticate">
<soap12:operation soapAction="http://tempuri.org/Authenticate" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="UserAuthentication">
<wsdl:port name="UserAuthenticationSoap" binding="tns:UserAuthenticationSoap">
<soap:address location="http://38.98.42.20/Outreach/services/UserAuthentication.asmx" />
</wsdl:port>
<wsdl:port name="UserAuthenticationSoap12" binding="tns:UserAuthenticationSoap12">
<soap12:address location="http://38.98.42.20/Outreach/services/UserAuthentication.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Body>
    <n1:Authenticate xmlns:n1="http://tempuri.org/"> 51eeisux5buqqb55s4uofi55 </n1:Authenticate>
  </env:Body>
</env:Envelope>
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Authenticate xmlns="http://tempuri.org/">
<sessionID>51eeisux5buqqb55s4uofi55</sessionID>
</Authenticate>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment