Hello Giri,

WSDL2Java is intended for this purpose : "generate Axis client from WSDL".

Here are the docs :
http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
http://ws.apache.org/axis/java/ant/axis-wsdl2java.html

Hope this helps,

Cyrille

--
Cyrille Le Clerc
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On 3/9/06, Giri <[EMAIL PROTECTED]> wrote:
>
> pls Tell me if i use WSDL2java
>
> how do i write client, the schema is huge(very BIG)
>
> regards
> giri babu
>
>
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <wsdl:definitions
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ "
> xmlns:s="http://www.w3.org/2001/XMLSchema";
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/ "
> xmlns:i0="http://tempuri.org/PrudentialData.xsd";
> xmlns:tns="http://seshasai.com/webservices/ipru/wim "
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/ "
> targetNamespace="http://seshasai.com/webservices/ipru/wim";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/ ">
>
>
> <wsdl:import
> namespace="http://tempuri.org/PrudentialData.xsd";
> location="
> http://localhost/IPruWFIntegration/GetDataService.asmx?schema=PrudentialData";
> />
>
> <wsdl:types>
> <s:schema elementFormDefault="qualified"
> targetNamespace="http://seshasai.com/webservices/ipru/wim";>
> <s:import namespace="
> http://tempuri.org/PrudentialData.xsd"; />
>
> <s:element name="GetData">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="applicationNo" type="s:string"
> />
>
>
> </s:sequence>
> </s:complexType>
> </s:element>
> <s:element name="GetDataResponse">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="GetDataResult">
> <s:complexType>
> <s:sequence>
> <s:any namespace="http://tempuri.org/PrudentialData.xsd"; />
> </s:sequence>
> </s:complexType>
> </s:element>
> </s:sequence>
> </s:complexType>
> </s:element>
> <s:element name="ReceivedData">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="applicationNo" type="s:string"
> />
> </s:sequence>
> </s:complexType>
> </s:element>
> <s:element name="ReceivedDataResponse">
> <s:complexType>
> <s:sequence>
> <s:element minOccurs="1" maxOccurs="1" name="ReceivedDataResult"
> type="s:boolean" /> </s:sequence>
> </s:complexType>
> </s:element>
> </s:schema>
> </wsdl:types>
> <wsdl:message name="GetDataSoapIn">
> <wsdl:part name="parameters" element="tns:GetData" />
> </wsdl:message> <wsdl:message name="GetDataSoapOut">
> <wsdl:part name="parameters" element="tns:GetDataResponse" />
> </wsdl:message> <wsdl:message name="ReceivedDataSoapIn">
> <wsdl:part name="parameters" element="tns:ReceivedData" />
> </wsdl:message> <wsdl:message name="ReceivedDataSoapOut">
> <wsdl:part name="parameters"
> element="tns:ReceivedDataResponse" />
> </wsdl:message> <wsdl:portType name="GetDataServiceSoap">
> <wsdl:operation name="GetData">
> <wsdl:input message="tns:GetDataSoapIn" />
> <wsdl:output message="tns:GetDataSoapOut" />
>  </wsdl:operation>
>  <wsdl:operation name="ReceivedData">
>  <wsdl:input message="tns:ReceivedDataSoapIn" />
>  <wsdl:output message="tns:ReceivedDataSoapOut" />
>  </wsdl:operation>
>  </wsdl:portType>
>  <wsdl:binding name="GetDataServiceSoap" type="tns:GetDataServiceSoap">
> <soap:binding transport="
> http://schemas.xmlsoap.org/soap/http"; style="document" />
> <wsdl:operation name="GetData">
> <soap:operation soapAction="
> http://seshasai.com/webservices/ipru/wim/GetData";
> style="document" />
> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
> <wsdl:operation name="ReceivedData"> <soap:operation
> soapAction="http://seshasai.com/webservices/ipru/wim/ReceivedData
> " style="document" /> <wsdl:input>
> <soap:body use="literal" />
> </wsdl:input> <wsdl:output>
> <soap:body use="literal" />
> </wsdl:output> </wsdl:operation>
> </wsdl:binding> <wsdl:service name="GetDataService">
> <documentation xmlns="http://schemas.xmlsoap.org/wsdl/"; />
> <wsdl:port name="GetDataServiceSoap"
> binding="tns:GetDataServiceSoap">
> <soap:address
> location="http://localhost/IPruWFIntegration/GetDataService.asmx";
> /> </wsdl:port>
> </wsdl:service>
>  </wsdl:definitions>

Reply via email to