I'd guess that it's a bug.
Please file a JIRA.

Anne

On Dec 23, 2007 3:45 AM, Adrian Herscu <[EMAIL PROTECTED]> wrote:
> Any chance that someone here knows why the xml encoding is generated
> like this?
>
> <?xml version="1.0" encoding="http://www.w3.org/2003/05/soap-envelope";
> standalone="no"?>
>
>
> Adrian Herscu wrote:
> > Hi all,
> >
> > Using Axis2 1.3 with the WSDL appearing below.
> > When invoking the service the SOAP looks like this:
> >
> > <?xml version="1.0" encoding="http://www.w3.org/2003/05/soap-envelope";
> > standalone="no"?>
> > <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
> > <soapenv:Body>
> > ...
> > </soapenv:Body>
> > </soapenv:Envelope>
> >
> > I am deploying the service through the Eclipse IDE on its embedded
> > Tomcat 5.5 server.
> >
> > Adrian.
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> > xmlns:ns1="http://acme.com/xsd";
> > xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
> > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
> > xmlns:ns0="http://acme.com"; xmlns:xs="http://www.w3.org/2001/XMLSchema";
> > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
> > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
> > targetNamespace="http://acme.com";>
> >     <wsdl:documentation>
> >         Please Type your service description here
> >     </wsdl:documentation>
> >     <wsdl:types>
> >         <xs:schema xmlns:ns="http://acme.com";
> > attributeFormDefault="qualified" elementFormDefault="qualified"
> > targetNamespace="http://acme.com";>
> >             <xs:element name="getBNodeResponse">
> >                 <xs:complexType>
> >                     <xs:sequence>
> >                         <xs:element minOccurs="0" name="return"
> > nillable="true" type="ns1:BNode"/>
> >                     </xs:sequence>
> >                 </xs:complexType>
> >             </xs:element>
> >         </xs:schema>
> >         <xs:schema xmlns:ax21="http://acme.com/xsd";
> > attributeFormDefault="qualified" elementFormDefault="qualified"
> > targetNamespace="http://acme.com/xsd";>
> >             <xs:complexType name="BNode">
> >                 <xs:sequence>
> >                     <xs:element minOccurs="0" name="left"
> > nillable="true" type="ax21:BNode"/>
> >                     <xs:element minOccurs="0" name="right"
> > nillable="true" type="ax21:BNode"/>
> >                     <xs:element minOccurs="0" name="value" type="xs:int"/>
> >                 </xs:sequence>
> >             </xs:complexType>
> >         </xs:schema>
> >     </wsdl:types>
> >     <wsdl:message name="getBNodeRequest"/>
> >     <wsdl:message name="getBNodeResponse">
> >         <wsdl:part name="parameters" element="ns0:getBNodeResponse"/>
> >     </wsdl:message>
> >     <wsdl:portType name="ConverterPortType">
> >         <wsdl:operation name="getBNode">
> >             <wsdl:input message="ns0:getBNodeRequest"
> > wsaw:Action="urn:getBNode"/>
> >             <wsdl:output message="ns0:getBNodeResponse"
> > wsaw:Action="urn:getBNodeResponse"/>
> >         </wsdl:operation>
> >     </wsdl:portType>
> >     <wsdl:binding name="ConverterSOAP11Binding"
> > type="ns0:ConverterPortType">
> >         <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
> > style="document"/>
> >         <wsdl:operation name="getBNode">
> >             <soap:operation soapAction="urn:getBNode" style="document"/>
> >             <wsdl:input>
> >                 <soap:body use="literal"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >                 <soap:body use="literal"/>
> >             </wsdl:output>
> >         </wsdl:operation>
> >     </wsdl:binding>
> >     <wsdl:binding name="ConverterSOAP12Binding"
> > type="ns0:ConverterPortType">
> >         <soap12:binding transport="http://schemas.xmlsoap.org/soap/http";
> > style="document"/>
> >         <wsdl:operation name="getBNode">
> >             <soap12:operation soapAction="urn:getBNode" style="document"/>
> >             <wsdl:input>
> >                 <soap12:body use="literal"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >                 <soap12:body use="literal"/>
> >             </wsdl:output>
> >         </wsdl:operation>
> >     </wsdl:binding>
> >     <wsdl:binding name="ConverterHttpBinding" type="ns0:ConverterPortType">
> >         <http:binding verb="POST"/>
> >         <wsdl:operation name="getBNode">
> >             <http:operation location="Converter/getBNode"/>
> >             <wsdl:input>
> >                 <mime:content type="text/xml" part="getBNode"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >                 <mime:content type="text/xml" part="getBNode"/>
> >             </wsdl:output>
> >         </wsdl:operation>
> >     </wsdl:binding>
> >     <wsdl:service name="Converter">
> >         <wsdl:port name="ConverterSOAP11port_http"
> > binding="ns0:ConverterSOAP11Binding">
> >             <soap:address
> > location="http://localhost:8080/axis2-buttomup/services/Converter"/>
> >         </wsdl:port>
> >         <wsdl:port name="ConverterSOAP12port_http"
> > binding="ns0:ConverterSOAP12Binding">
> >             <soap12:address
> > location="http://localhost:8080/axis2-buttomup/services/Converter"/>
> >         </wsdl:port>
> >         <wsdl:port name="ConverterHttpport"
> > binding="ns0:ConverterHttpBinding">
> >             <http:address
> > location="http://localhost:8080/axis2-buttomup/services/Converter"/>
> >         </wsdl:port>
> >     </wsdl:service>
> > </wsdl:definitions>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to