Hello gentlemen, I'm evaluating the impact of migrating from Axis 1.0 to Axis 1.4.
What I found, between others, is the following: Response from Axis 1.0: HTTP/1.1 200 OK Date: Fri, 30 Nov 2007 08:22:13 GMT Server: Apache/2.0.46 (Red Hat) Connection: close Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:getProfilesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:Minosse"> <getProfilesReturn xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[5]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <item>RIMENU</item> <item>SPEDPRAT</item> <item>W-REPR</item> <item>W-REPRIS</item> <item>W-REPRP</item> </getProfilesReturn> </ns1:getProfilesResponse> </soapenv:Body> </soapenv:Envelope> Response, to the same request, from Axis 1.4: HTTP/1.1 200 OK Date: Fri, 30 Nov 2007 08:26:03 GMT Content-Type: text/xml; charset=utf-8 Connection: close <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:getProfilesResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:Minosse"> <getProfilesReturn soapenc:arrayType="soapenc:string[5]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <getProfilesReturn xsi:type="soapenc:string">RIMENU</getProfilesReturn> <getProfilesReturn xsi:type="soapenc:string">SPEDPRAT</getProfilesReturn> <getProfilesReturn xsi:type="soapenc:string">W-REPR</getProfilesReturn> <getProfilesReturn xsi:type="soapenc:string">W-REPRIS</getProfilesReturn> <getProfilesReturn xsi:type="soapenc:string">W-REPRP</getProfilesReturn> </getProfilesReturn> </ns1:getProfilesResponse> </soapenv:Body> </soapenv:Envelope> WSDL genrated from Axis 1.4 is: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse" xmlns:intf="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)--> <wsdl:types> <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse"/> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="mapItem"> <sequence> <element name="key" nillable="true" type="xsd:anyType"/> <element name="value" nillable="true" type="xsd:anyType"/> </sequence> </complexType> <complexType name="Map"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/> </sequence> </complexType> </schema> <schema targetNamespace="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_xsd_string"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/> </restriction> </complexContent> </complexType> </schema> </wsdl:types> <wsdl:message name="getProfilesResponse"> <wsdl:part name="getProfilesReturn" type="impl:ArrayOf_xsd_string"/> </wsdl:message> <wsdl:message name="getProfilesRequest"> <wsdl:part name="in0" type="xsd:string"/> </wsdl:message> <wsdl:portType name="Servizio"> <wsdl:operation name="getProfiles" parameterOrder="in0"> <wsdl:input message="impl:getProfilesRequest" name="getProfilesRequest"/> <wsdl:output message="impl:getProfilesResponse" name="getProfilesResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="urn:MinosseSoapBinding" type="impl:Servizio"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getProfiles"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getProfilesRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.mnse" use="encoded"/> </wsdl:input> <wsdl:output name="getProfilesResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse" use="encoded"/> </wsdl:output> </wsdl:operation> <wsdl:service name="ServizioService"> <wsdl:port binding="impl:urn:MinosseSoapBinding" name="urn:Minosse"> <wsdlsoap:address location="http://minosse01.intra.infocamere.it:7050/Minosse2WebService/services/urn:Minosse"/> </wsdl:port> </wsdl:service> </wsdl:definitions> Whilst, Axis 1.0 WSDL is: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" xmlns:intf="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="Map"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item"> <complexType> <all> <element name="key" type="xsd:anyType"/> <element name="value" type="xsd:anyType"/> </all> </complexType> </element> </sequence> </complexType> <element name="Map" nillable="true" type="apachesoap:Map"/> </schema> <schema targetNamespace="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_xsd_string"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/> </restriction> </complexContent> </complexType> <element name="ArrayOf_xsd_string" nillable="true" type="impl:ArrayOf_xsd_string"/> </schema> </wsdl:types> <wsdl:message name="getProfilesResponse"> <wsdl:part name="getProfilesReturn" type="impl:ArrayOf_xsd_string"/> </wsdl:message> <wsdl:message name="getProfilesRequest"> <wsdl:part name="in0" type="xsd:string"/> </wsdl:message> <wsdl:portType name="Servizio"> <wsdl:operation name="getProfiles" parameterOrder="in0"> <wsdl:input message="impl:getProfilesRequest" name="getProfilesRequest"/> <wsdl:output message="impl:getProfilesResponse" name="getProfilesResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="urn:MinosseSoapBinding" type="impl:Servizio"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getProfiles"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getProfilesRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" use="encoded"/> </wsdl:input> <wsdl:output name="getProfilesResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="ServizioService"> <wsdl:port binding="impl:urn:MinosseSoapBinding" name="urn:Minosse"> <wsdlsoap:address location="http://mnsewssv.intra.infocamere.it/Minosse2WebService/services/urn:Minosse"/> </wsdl:port> </wsdl:service> </wsdl:definitions> Just for information, I would like to get the Axis 1.0 response (1.4 response has a bad impact on some applications). Could you kindly help me? TIA emanuele -- View this message in context: http://www.nabble.com/Migrating-from-Axis-1.0-to-Axis-1.4%3A-different-SOAP-response-with-Array-tf4949772.html#a14171923 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]