axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1341) Incorrect WSDL for int[] in a method when using doc encoded
Date Thu, 06 May 2004 18:15:56 GMT
The following comment has been added to this issue:

     Author: Tom Jordahl
    Created: Thu, 6 May 2004 11:15 AM
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:

View the issue:

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
             WSDL processing

   Reporter: Ross Yakulis

    Created: Thu, 29 Apr 2004 1:51 PM
    Updated: Thu, 6 May 2004 11:15 AM
Environment: Axis Beta 1.

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 name="srArrayIntRequest">
      <wsdl:part name="ints" type="xsd:int"/>
    <wsdl:operation name="srArrayInfo" parameterOrder="info">
         <wsdl:input name="srArrayInfoRequest" 
         <wsdl:output name="srArrayInfoResponse"   

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message