The following comment has been added to this issue:
Author: Tom Jordahl
Created: Thu, 6 May 2004 11:15 AM
Body:
I am prety sure that document/encoded is baadly, if at all, supported by Axis (or any other
toolkit). This mode doesn't really make any sense.
rpc/encoded - yes
document/literal - yes
rpc/literal - maybe...
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1341?page=comments#action_35435
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1341
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1341
Summary: Incorrect WSDL for int[] in a method when using doc encoded
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
beta-1
Assignee:
Reporter: Ross Yakulis
Created: Thu, 29 Apr 2004 1:51 PM
Updated: Thu, 6 May 2004 11:15 AM
Environment: Axis Beta 1.
Description:
given a method of
public int[] srArrayInt(int[] ints) {}
And Using Document Encoded, I believe incorrect wsdl is generated by the Java2WSDL. It seems
that the type should be something like ArrayOf_xsd_int or somehow otherwise indicate the type
is an array.
java org.apache.axis.wsdl.Java2WSDL -l http://localhost:8080 -u encoded -T 1.2 -n NS.TestService
-y document -o DocEnc.wsdl TestService
<wsdl:message name="srArrayIntResponse">
<wsdl:part name="srArrayIntReturn" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="srArrayIntRequest">
<wsdl:part name="ints" type="xsd:int"/>
</wsdl:message>
<wsdl:operation name="srArrayInfo" parameterOrder="info">
<wsdl:input name="srArrayInfoRequest"
message="impl:srArrayInfoRequest"/>
<wsdl:output name="srArrayInfoResponse"
message="impl:srArrayInfoResponse"/>
</wsdl:operation>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|