Warning at client generation stage
----------------------------------

                 Key: AXIS2-1230
                 URL: http://issues.apache.org/jira/browse/AXIS2-1230
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
         Environment: solaris 8, java 1.5, axis2 latest nightly build (25th 
september 2006)
            Reporter: olivier chapelliere


I have been asked to open this defect in this mail 
http://marc.theaimsgroup.com/?l=axis-user&m=115653373229928&w=2

command line used to generate client code is
WSDL2Java.sh -uri  bug.wsdl -o client

and WSDL file is the following:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
                  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                  targetNamespace="http://www.mynamespace.net";
                  xmlns="http://www.mynamespace.net";>

    <wsdl:types>
        <xsd:schema elementFormDefault="qualified"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                xmlns="http://www.mynamespace.net";
                targetNamespace="http://www.mynamespace.net";>

            <xsd:element name="myStatus"><xsd:complexType><xsd:sequence>
                <xsd:element maxOccurs="1" minOccurs="1" name="errorcode" 
type="xsd:int"/>
            </xsd:sequence></xsd:complexType></xsd:element>

            <xsd:element name="myMethod1"><xsd:complexType><xsd:sequence>
                <xsd:element maxOccurs="1" minOccurs="1" name="myArg" 
type="xsd:string"/>
            </xsd:sequence></xsd:complexType></xsd:element>

            <xsd:element 
name="myMethod1Response"><xsd:complexType><xsd:sequence>
                <xsd:element maxOccurs="1" minOccurs="1" ref="myStatus"/>
            </xsd:sequence></xsd:complexType></xsd:element>

        </xsd:schema>
    </wsdl:types>

    <wsdl:message name="myMethod1Request">
        <wsdl:part name="input" element="myMethod1"/>
    </wsdl:message>
    <wsdl:message name="myMethod1Result">
        <wsdl:part name="output" element="myMethod1Response"/>
    </wsdl:message>

    <wsdl:portType name="myWebServices">
        <wsdl:operation name="myMethod1" parameterOrder="input">
            <wsdl:input name="myMethod1Request" message="myMethod1Request"/>
            <wsdl:output name="myMethod1Result" message="myMethod1Result"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="myWebServicesSoapBinding" type="myWebServices">
        <wsdlsoap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="myMethod1">
            <wsdlsoap:operation soapAction="myMethod1"/>
            <wsdl:input><wsdlsoap:body use="literal"/></wsdl:input>
            <wsdl:output><wsdlsoap:body use="literal"/></wsdl:output>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="myWebServices">
        <wsdl:port name="myWebServices" binding="myWebServicesSoapBinding">
            <wsdlsoap:address 
location="http://localhost:8080/axis2/services/myWebServices"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to