> Hi,
> 
> I am trying to write my first webservice using Axis 2.
> 
> I have a webservice deployed on TIBCO Businessworks. I need to access
> this webservice using an Axis client. I have download the wsdl and
> created the stubs using WSDL2Java utility. This stub class contains
> 5000 lines of code. I am having hard time understanding which method
> to instantiate for sending a SOAP request from client. Is there any
> relationship between the method name in the stub and the request /
> response elements of WSDL.
> 
> I am using Axis ADB style to create the client.
> 
> Any help will be greatly appreciated....
> 
> Thanks in advance....
> 
> Best regards
> 
> Below is my wsdl:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!--Created by TIBCO WSDL-->
> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:tns="http://xmlns.example.com/1181831940453/GetAAA2OwnerImpl/Pro
> cesses" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:ns0="http://www.Co.com/NorthAmerica/AA/AAA2/Request";
> xmlns:ns1="http://www.ABC.com/NorthAmerica/AA/AAA2/Owner";
> targetNamespace="http://xmlns.example.com/1181831940453/GetAAA2OwnerIm
> pl/Processes">
>     <wsdl:types>
>         <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns="http://www.ABC.com/NorthAmerica/AA/AAA2/Owner";
> targetNamespace="http://www.ABC.com/NorthAmerica/AA/AAA2/Owner";
> elementFormDefault="unqualified" attributeFormDefault="unqualified">
>             <xsd:element name="Owner">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element name="OwnerID"
> type="xsd:string"/>
>                         <xsd:element name="AddressID"
> type="xsd:string"/>
>                         <xsd:element name="MSANumber"
> type="xsd:string"/>
>                         <xsd:element name="OwnerINITNGSouce"
> type="xsd:string"/>
>                         <xsd:element name="OwnerType"
> type="xsd:string"/>
>                         <xsd:element name="OwnerName"
> type="xsd:string"/>
>                         <xsd:element name="OwnerStatus"
> type="xsd:string"/>
>                         <xsd:element name="OwnerCD"
> type="xsd:string"/>
>                         <xsd:element name="CustomerGLN"
> type="xsd:string"/>
>                         <xsd:element name="CustomerToLINXNumber"
> type="xsd:string"/>
>                         <xsd:element name="InfoUSANumber"
> type="xsd:string"/>
>                         <xsd:element name="FedEXTaxID"
> type="xsd:string"/>
>                         <xsd:element name="DUNSPlusFour"
> type="xsd:string"/>
>                         <xsd:element name="MSAHGHROwnerNumber"
> type="xsd:string"/>
>                         <xsd:element name="OwneNumber"
> type="xsd:string"/>
>                         <xsd:element name="DistributorFlag"
> type="xsd:string"/>
>                         <xsd:element name="Status" type="xsd:string"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="OwnerGroup">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="ns1:Owner"
> maxOccurs="unbounded"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="AAA2Owner">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="ns1:OwnerGroup"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>         </xsd:schema>
>         <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns="http://www.ABC.com/NorthAmerica/AA/AAA2/Request";
> targetNamespace="http://www.ABC.com/NorthAmerica/AA/AAA2/Request";
> elementFormDefault="qualified" attributeFormDefault="unqualified">
>             <xsd:element name="BusinessID" type="xsd:string"/>
>             <xsd:element name="Header">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element ref="ns0:BusinessID"
> minOccurs="0"/>
>                         <xsd:element ref="ns0:SourceSystemID"
> minOccurs="0"/>
>                         <xsd:element ref="ns0:SourceSystemName"
> minOccurs="0"/>
>                         <xsd:element ref="ns0:RequestType"
> minOccurs="0"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>             <xsd:element name="RequestType" type="xsd:string"/>
>             <xsd:element name="SourceSystemID" type="xsd:string"/>
>             <xsd:element name="SourceSystemName" type="xsd:string"/>
>         </xsd:schema>
>     </wsdl:types>
>     <wsdl:message name="OwnerRequest">
>         <wsdl:part name="part1" element="ns0:Header"/>
>     </wsdl:message>
>     <wsdl:message name="OwnerResponse">
>         <wsdl:part name="part1" element="ns1:AAA2Owner"/>
>     </wsdl:message>
>     <wsdl:portType name="PortType">
>         <wsdl:operation name="GetAAA2Owner">
>             <wsdl:input message="tns:OwnerRequest"/>
>             <wsdl:output message="tns:OwnerResponse"/>
>         </wsdl:operation>
>     </wsdl:portType>
>     <wsdl:binding name="SOAPEventSourceBinding" type="tns:PortType">
>         <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>         <wsdl:operation name="GetAAA2Owner">
>             <soap:operation style="document"
> soapAction="/Processes/ProvideAAA2Owner"/>
>             <wsdl:input>
>                 <soap:body use="literal" parts="part1"/>
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal" parts="part1"/>
>             </wsdl:output>
>         </wsdl:operation>
>     </wsdl:binding>
>     <wsdl:service name="ProvideAAA2Owner">
>         <wsdl:port name="SOAPEventSource"
> binding="tns:SOAPEventSourceBinding">
>             <soap:address
> location="http://localhost:7989/Processes/ProvideAAA2Owner"/>
>         </wsdl:port>
>     </wsdl:service>
> </wsdl:definitions>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to