Announcement Announcement Module
Collapse
No announcement yet.
Webservices in Spring Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Webservices in Spring

    Hi, i am new to Spring, and i have to call a web service. Can someone help with the best way of doing this? I have put a sample WSDL below. Thanks for the help.

    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://XXX.com.sg/ServiceInterface" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://XXX.com.sg/ServiceInterface" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://XXX.com.sg/ServiceInterface">
    - <s:element name="Execute">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="inputXML" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="sChannelId" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="sUserId" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="onErrorContinue" type="s:boolean" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="ExecuteResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ExecuteResult" type="tns:StandardStringArrayResult" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:complexType name="StandardStringArrayResult">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="WebServiceResult" type="tns:ExceptionResult" />
    <s:element minOccurs="0" maxOccurs="1" name="Return" type="tns:ArrayOfString" />
    </s:sequence>
    </s:complexType>
    + <s:complexType name="ExceptionResult">
    + <s:complexType name="ArrayOfString">
    <s:element name="AuthenticationSoapHeader" type="tns:AuthenticationSoapHeader" />
    + <s:complexType name="AuthenticationSoapHeader">
    + <s:element name="XMLtest">
    + <s:element name="XMLtestResponse">
    + <s:element name="ExecuteAsObject">
    + <s:complexType name="StandardObjectArrayResult">
    + <s:complexType name="ArrayOfAnyType">
    + <s:element name="ExecuteAsObjectResponse">
    <s:element name="StandardStringArrayResult" nillable="true" type="tns:StandardStringArrayResult" />
    <s:element name="string" nillable="true" type="s:string" />
    </s:schema>
    </wsdl:types>
    + <wsdl:message name="ExecuteSoapIn">
    + <wsdl:message name="ExecuteSoapOut">

    Regards,
    Srini
Working...
X