Forum Stats

  • 3,854,533 Users
  • 2,264,379 Discussions
  • 7,905,718 Comments

Discussions

How consule a webservice from a SOAP url

Pratap Dalai
Pratap Dalai Member Posts: 27 Red Ribbon
edited Nov 28, 2015 5:41AM in Networking

HI All,

I have the below usdl url.How can i consume it.

http://10.88.88.50:8080/arsys/WSDL/public/10.52.58.57/Test2

<wsdl:definitions targetNamespace="urn:Test2"><wsdl:types><xsd:schema elementFormDefault="qualified" targetNamespace="urn:Test2"><xsd:element name="Get" type="s0:InputMapping2"/><xsd:complexType name="InputMapping2"><xsd:sequence><xsd:element name="Request_ID__c" type="xsd:string"/></xsd:sequence></xsd:complexType><xsd:element name="GetResponse" type="s0:OutputMapping2"/><xsd:complexType name="OutputMapping2"><xsd:sequence><xsd:element name="Request_ID__c" type="xsd:string"/><xsd:element name="Submitter__c" type="xsd:string"/><xsd:element minOccurs="0" name="Create_Date__c" type="xsd:dateTime"/><xsd:element minOccurs="0" name="Assigned_To__c" type="xsd:string"/><xsd:element minOccurs="0" name="Last_Modified_By__c" type="xsd:string"/><xsd:element minOccurs="0" name="Modified_Date__c" type="xsd:dateTime"/><xsd:element name="Status__c" type="s0:Status__cType"/><xsd:element minOccurs="0" name="Status_History" type="xsd:string"/><xsd:element name="Short_Description__c" type="xsd:string"/></xsd:sequence></xsd:complexType><xsd:simpleType name="Status__cType"><xsd:restriction base="xsd:string"><xsd:enumeration value="New"/><xsd:enumeration value="Assigned"/><xsd:enumeration value="Fixed"/><xsd:enumeration value="Rejected"/><xsd:enumeration value="Closed"/></xsd:restriction></xsd:simpleType><xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/><xsd:complexType name="AuthenticationInfo"><xsd:sequence><xsd:element name="userName" type="xsd:string"/><xsd:element name="password" type="xsd:string"/><xsd:element minOccurs="0" name="authentication" type="xsd:string"/><xsd:element minOccurs="0" name="locale" type="xsd:string"/><xsd:element minOccurs="0" name="timeZone" type="xsd:string"/></xsd:sequence></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="GetSoapIn"><wsdl:part element="s0:Get" name="parameters">

      </wsdl:part></wsdl:message><wsdl:message name="GetSoapOut"><wsdl:part element="s0:GetResponse" name="parameters">

      </wsdl:part></wsdl:message><wsdl:message name="ARAuthenticate"><wsdl:part element="s0:AuthenticationInfo" name="parameters">

      </wsdl:part></wsdl:message><wsdl:portType name="PortPortType"><wsdl:operation name="Get"><wsdl:input message="s0:GetSoapIn">

       </wsdl:input><wsdl:output message="s0:GetSoapOut">

       </wsdl:output></wsdl:operation></wsdl:portType><wsdl:binding name="PortSoapBinding" type="s0:PortPortType"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="Get"><soap:operation soapAction="urn:Test2/Get" style="document"/><wsdl:input><soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

            </soap:header><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="Test2Service"><wsdl:port binding="s0:PortSoapBinding" name="PortSoap"><soap:address location="http://10.52.8.47:8080/arsys/services/ARService?server=10.52.8.27&webService=Test2"/></wsdl:port></wsdl:service></wsdl:definitions>

Pleease help me .

This discussion has been closed.