Hi,

I have attached my WSDL. Thanks for your response

On 8/22/05, Venkat Reddy <[EMAIL PROTECTED]> wrote:
> please post your WSDL.
> 
> - venkat
> 
> On 8/22/05, Arun Bhandari <[EMAIL PROTECTED]> wrote:
> > I am using Apache Axis 1.2 with java jdk 1.5, Tomcat as my web container.
> > I have ensured that all the Axis jars in my classpath.
> >
> > I am trying to generate a client stub using a WSDL, but I get the
> > following error:
> >
> > ****************************************************************
> > java.lang.NullPointerException
> >       at javax.wsdl.OperationType.equals(Unknown Source)
> >       at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.constructSignat=
> > ures(
> > JavaGeneratorFactory.java:1393)
> >       at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.generatorPass(J=
> > avaGe
> > neratorFactory.java:213)
> >       at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:424)
> >       at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:44)
> >       at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361=
> > )
> >       at java.lang.Thread.run(Unknown Source)
> > ****************************************************************
> > Any help will be appreciated.
> >
> > --
> > Thanks & Regards,
> >
> > Arun Bhandari
> >
> 


-- 
Thanks & Regards,

Arun Bhandari
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by TIBCO WSDL-->
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://www.hmco.com/EAI/OTS/orderSale/ArunsubmitSaleImpl"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:ns0="http://www.hmco.com/EAI/OTS/submitSaleOrder"; name="Untitled" targetNamespace="http://www.hmco.com/EAI/OTS/orderSale/ArunsubmitSaleImpl";>
    <wsdl:types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema"; xmlns:sbs="http://www.hmco.com/EAI/OTS/submitSaleOrder"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.hmco.com/EAI/OTS/submitSaleOrder";>
            <element name="CreditCard">
                <complexType>
                    <sequence>
                        <element name="creditCardType" type="xsd:string"/>
                        <element name="number" type="xsd:string"/>
                        <element minOccurs="0" name="expDate" type="xsd:string"/>
                        <element name="address1" type="xsd:string"/>
                        <element name="address2" type="xsd:string"/>
                        <element name="city" type="xsd:string"/>
                        <element name="state" type="xsd:string"/>
                        <element name="zipCode" type="xsd:string"/>
                        <element name="poNumber" type="xsd:string"/>
                        <element name="clientTransactionId" type="xsd:string"/>
                    </sequence>
                </complexType>
            </element>
            <element name="LineItems">
                <complexType>
                    <sequence>
                        <element name="ProductID">
                            <complexType>
                                <sequence>
                                    <element name="title" type="xsd:string"/>
                                    <element name="isbn" type="xsd:string"/>
                                </sequence>
                            </complexType>
                        </element>
                        <element name="quantity" type="xsd:string"/>
                        <element minOccurs="0" name="allowSubstitution" type="xsd:string"/>
                        <element name="discount" type="xsd:string"/>
                    </sequence>
                </complexType>
            </element>
            <element name="SaleException">
                <complexType>
                    <sequence>
                        <element name="errorCategory" type="xsd:string"/>
                        <element name="errorCode" type="xsd:string"/>
                        <element name="errorMessage" type="xsd:string"/>
                        <element name="ExceptionLineItems">
                            <complexType>
                                <sequence>
                                    <element name="errorCategory" type="xsd:string"/>
                                    <element name="errorCode" type="xsd:string"/>
                                    <element name="errorMessage" type="xsd:string"/>
                                </sequence>
                            </complexType>
                        </element>
                    </sequence>
                </complexType>
            </element>
            <element name="SaleHeader">
                <complexType>
                    <sequence>
                        <element name="shipToCustomerId" type="xsd:string"/>
                        <element name="billToCustomerId" type="xsd:string"/>
                        <element minOccurs="0" name="shipToAttentionLine" type="xsd:string"/>
                        <element name="billToAttentionLine" type="xsd:string"/>
                        <element name="entryDivision" type="xsd:string"/>
                        <element name="contactName" type="xsd:string"/>
                        <element name="contactPhone" type="xsd:string"/>
                        <element name="orderSource" type="xsd:string"/>
                        <element name="shippingMethod" type="xsd:string"/>
                        <element name="priceDate" type="xsd:string"/>
                        <element name="promotionCode" type="xsd:string"/>
                        <element name="allowSubstitutionsFlag" type="xsd:string"/>
                        <element name="allowContractPricingFlag" type="xsd:string"/>
                        <element name="requestedDate" type="xsd:string"/>
                        <element name="shipDateOption" type="xsd:string"/>
                        <element name="arTerms" type="xsd:string"/>
                        <element name="shippingTerms" type="xsd:string"/>
                        <element name="backorderOption" type="xsd:string"/>
                        <element name="backorderCancelDate" type="xsd:string"/>
                        <element name="BillingOption" type="xsd:string"/>
                        <element name="freeFormMessage" type="xsd:string"/>
                    </sequence>
                </complexType>
            </element>
            <element name="SaleOut">
                <complexType>
                    <sequence>
                        <element name="SaleOutHeader">
                            <complexType>
                                <sequence>
                                    <element name="orderId" type="xsd:string"/>
                                    <element name="orderDate" type="xsd:string"/>
                                    <element minOccurs="0" name="orderSubTotal" type="xsd:string"/>
                                    <element name="taxAmount" type="xsd:string"/>
                                    <element name="shippingAmount" type="xsd:string"/>
                                    <element name="orderTotal" type="xsd:string"/>
                                    <element name="deliveredPricing" type="xsd:string"/>
                                </sequence>
                            </complexType>
                        </element>
                        <element name="SaleOutLineItem">
                            <complexType>
                                <sequence>
                                    <element name="ProductID">
                                        <complexType>
                                            <sequence>
                                                <element name="Title" type="xsd:string"/>
                                                <element name="ISBN" type="xsd:string"/>
                                            </sequence>
                                        </complexType>
                                    </element>
                                    <element name="priceMethod" type="xsd:string"/>
                                    <element name="quantity" type="xsd:string"/>
                                    <element name="listPrice" type="xsd:string"/>
                                    <element name="newPrice" type="xsd:string"/>
                                    <element name="discountPercent" type="xsd:string"/>
                                    <element name="substituted" type="xsd:string"/>
                                </sequence>
                            </complexType>
                        </element>
                    </sequence>
                </complexType>
            </element>
            <element name="TranAction" type="xsd:integer"/>
            <element name="clientTransactionID" type="xsd:string"/>
            <element name="poNumber" type="xsd:string"/>
        </schema>
    </wsdl:types>
    <wsdl:message name="TransactionType">
        <wsdl:part name="TransactionType" element="ns0:TranAction"/>
    </wsdl:message>
    <wsdl:message name="SaleOut">
        <wsdl:part name="SaleOut" element="ns0:SaleOut"/>
    </wsdl:message>
    <wsdl:message name="SaleException">
        <wsdl:part name="Exception" element="ns0:SaleException"/>
    </wsdl:message>
    <wsdl:portType name="submitSaleOrder">
        <wsdl:operation name="ArunsubmitSale">
            <wsdl:input message="tns:TransactionType"/>
            <wsdl:output message="tns:SaleOut"/>
            <wsdl:fault name="SaleError" message="tns:SaleException"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="submitSaleBinding" type="tns:submitSaleOrder">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="ArunsubmitSale">
            <wsdl:documentation>The operation has no documentation</wsdl:documentation>
            <soap:operation style="rpc" soapAction="/ActionsubmitSale"/>
            <wsdl:input>
                <soap:body use="literal" namespace="http://InputMessageNamespace"; parts="TransactionType"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" namespace="http://OutputMessageNamespace"; parts="SaleOut"/>
            </wsdl:output>
            <wsdl:fault name="SaleException">
                <soap:fault use="literal" namespace="http://FaultMessageNamespace"; name="SaleError"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="submitSale">
        <wsdl:port name="submitSaleHttpPort" binding="tns:submitSaleBinding">
            <soap:address location="http://USMUMABHANDARI2:9696/Sub_sp_Processes/submitSale"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

Reply via email to