I tested with this wsdl, but seems good.
can you attach your wsdl?

Amila

On Nov 29, 2007 3:40 PM, Amila Suriarachchi <[EMAIL PROTECTED]>
wrote:

> this must be due to a change I recently did to remove depreciated class.
> I'll look at into it.
>
> Could you please attach your wsdl?
>
>
>
>
> On Nov 28, 2007 8:19 AM, Pantvaidya, Vishwajit < [EMAIL PROTECTED]>
> wrote:
>
> >  I used Axis2 1.3 release wsdl2java to generate code and services.xmland 
> > find that the code is missing the ECMServiceMessageReceiverInOnly class.
> > So when I build the aar and deploy it I get
> > java.lang.ClassNotFoundException: ...ECMServiceMessageReceiverInOnly".
> >
> >
> >
> > services.xml has:
> >
> > <messageReceiver 
> > mep=http://www.w3.org/ns/wsdl/in-onlyclass="...ECMServiceMessageReceiverInOnly"/>
> >
> > <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out";
> > class="...ECMServiceMessageReceiverInOut"/>
> >
> > But the wsdl2java generated code has the
> > ECMServiceMessageReceiverRobustInOnly class instead of
> > ECMServiceMessageReceiverInOnly.
> >
> >
> >
> > Then I tried wsdl2java with the Nov 9 nightly build and it deployed
> > fine. I saw that the generated services.xml has:
> >
> > <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out";
> > class="...ECMServiceMessageReceiverInOut"/>
> >
> > <messageReceiver mep="http://www.w3.org/ns/wsdl/robust-in-only";
> > class="…ECMServiceMessageReceiverRobustInOnly"/>
> >
> > and both the messagereceiver classes are generated by wsdl2java.
> >
> >
> >
> > Is this a known problem in axis2-1.3 that was fixed later? If not – I
> > could add it to the note I am planning to submit on the migration to axis2.
> >
> >
> >
> >
> >
> > - Vish.
> >
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.




-- 
Amila Suriarachchi,
WSO2 Inc.
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:tns="http//tempuri.org/sample1"
             xmlns:ns1="http//tempuri.org/sample1/types"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
             xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
             xmlns:xsd="http://www.w3.org/2001/XMLSchema";
             xmlns="http://schemas.xmlsoap.org/wsdl/";
             targetNamespace="http//tempuri.org/sample1">
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                    xmlns:tns="http//tempuri.org/sample1/types"
                    targetNamespace="http//tempuri.org/sample1/types"
                    elementFormDefault="qualified"
                    attributeFormDefault="unqualified">
            <xsd:element name="echoString">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="param1" type="xsd:int" nillable="true"/>
                        <xsd:element name="param2" type="xsd:long" nillable="true"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="echoStringResponse">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="param1" type="xsd:boolean" nillable="true"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="faultMessage">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="param1" type="xsd:int" nillable="true"/>
                        <xsd:element name="param2" type="xsd:long" nillable="true"/>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:schema>
    </types>

    <message name="EchoStringRequest">
        <part name="part1" element="ns1:echoString"/>
    </message>
    <message name="EchoStringResponse">
        <part name="part1" element="ns1:echoStringResponse"/>
    </message>
    <message name="FaultMessage">
        <part name="part1" element="ns1:faultMessage"/>
    </message>

    <portType name="Sample1PortType">
        <operation name="echoString">
            <input message="tns:EchoStringRequest"/>
            <output message="tns:EchoStringResponse"/>
        </operation>
        <operation name="echoString1">
            <input message="tns:EchoStringRequest"/>
            <fault name="fault" message="tns:FaultMessage"/>
        </operation>
        <operation name="echoString2">
            <input message="tns:EchoStringRequest"/>
        </operation>
    </portType>
    <binding name="Sample1Soap11Binding" type="tns:Sample1PortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="echoString">
            <soap:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
        <operation name="echoString1">
            <soap:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <fault name="fault">
                <soap:fault name="fault" use="literal"/>
            </fault>
        </operation>
        <operation name="echoString2">
            <soap:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap:body use="literal"/>
            </input>
        </operation>
    </binding>
    <binding name="Sample1Soap12Binding" type="tns:Sample1PortType">
        <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="echoString">
            <soap12:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap12:body use="literal"/>
            </input>
            <output>
                <soap12:body use="literal"/>
            </output>
        </operation>
        <operation name="echoString1">
            <soap12:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap12:body use="literal"/>
            </input>
            <fault name="fault">
                <soap12:fault name="fault" use="literal"/>
            </fault>
        </operation>
        <operation name="echoString2">
            <soap12:operation style="document" soapAction="urn:echoString"/>
            <input>
                <soap12:body use="literal"/>
            </input>
        </operation>
    </binding>

    <service name="Sample1Service">
        <port name="Soap11Port" binding="tns:Sample1Soap11Binding">
            <soap:address location="http://localhost:8080/axis2/services/Sample1Service"/>
        </port>
        <port name="Soap12Port" binding="tns:Sample1Soap12Binding">
            <soap:address location="http://localhost:8080/axis2/services/Sample1Service"/>
        </port>
    </service>
</definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to