axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (AXIS-1341) Incorrect WSDL for int[] in a method when using doc encoded
Date Thu, 29 Apr 2004 20:52:53 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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, 29 Apr 2004 1:51 PM
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


Mime
View raw message