|
Axis 1.1 has very poor support for
document/literal. If you want to use Axis 1.1, then you cannot use java2wsdl to
generate the WSDL file. You must develop the WSDL yourself and run wsdl2java. Please describe the problem that you’re
experiencing with Axis 1.2 beta3 in more detail. Regards, Anne From: Bouche Paul
[mailto:[EMAIL PROTECTED] Hello, I use this list for the first time and maybe this problem
has been posted before, if so then please point me to a solution. when trying to return an array of integers for intance there
is the And even when generating a RPC style WSDL for the same
service, this is concerning Axis version 1.1. And still in Axis 1.2beta3 when I try to return a String[]
in document literal it creates only a string return value in WSDL and then in
the SOAP response creates three child elements of the body element if
returning a String[3]. below is the source code, the WSDL and the SOAP for the
first problem (all using AXIS 1.1).
package testhashmapservicealldoc; public class TestHashMapService { deployment descriptor: <deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/" <service name="TestHashMapServiceDoc"
style="document">
generated WSDL document by ?WSDL:
5.2.3 soapenc:Array R2110 In a DESCRIPTION, array declarations MUST NOT extend
or R2111 In a DESCRIPTION, array declarations MUST NOT use R2112 In a DESCRIPTION, array declaration wrapper elements R2113 A MESSAGE containing serialized arrays MUST NOT
include For example, INCORRECT: Given the WSDL Description: <xsd:element name="MyArray2"
type="tns:MyArray2Type"/> <MyArray2
soapenc:arrayType="tns:MyArray2Type[]" > Given the WSDL Description: <xsd:element name="MyArray1"
type="tns:MyArray1Type"/> <MyArray1> |
- Ecoding Problem document vs. rpc Bouche Paul
- RE: Ecoding Problem document vs. rpc Anne Thomas Manes
- Anne Thomas Manes
