axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Created: (AXIS-1602) Stub file from wsdl2java makes something wrong in J2SE5.0
Date Tue, 12 Oct 2004 01:45:51 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1602

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1602
    Summary: Stub file from wsdl2java makes something wrong in J2SE5.0
       Type: Bug

     Status: Unassigned
   Priority: Blocker

    Project: Axis
   Versions:
             1.2RC1

   Assignee: 
   Reporter: BMK

    Created: Mon, 11 Oct 2004 6:45 PM
    Updated: Mon, 11 Oct 2004 6:45 PM
Environment: Axis1.2RC1 with windows 2000 professinal/J2SE5.0/Eclipse3.1

Description:
Dear all..

Stub file from running wsdl2java on J2SE5.0 makes some compile-time errors against J2SE5.0
scheme.. with "enum". 


e.g. 
generated STUB file from attached WSDL.. is ..

........

public class RFIDServerSoapBindingStub extends org.apache.axis.client.Stub implements test.skcc.rfid.serverdriver.RFIDServerServiceDriverInterface
{
	...........

    private static void _initOperationDesc1(){
        org.apache.axis.description.OperationDesc oper;
        oper = new org.apache.axis.description.OperationDesc();
        oper.setName("getAllReaderInformation");
        oper.setReturnType(new javax.xml.namespace.QName("urn:test.skcc.rfid.serverdriver",
"ArrayOfReaderInformation"));
        oper.setReturnClass(test.skcc.rfid.serverdriver.ReaderInformation[].class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "getAllReaderInformationReturn"));
        oper.setStyle(org.apache.axis.enum.Style.RPC);  // <- org.apache.axis package name
is compile-time error in J2SE5.0
        oper.setUse(org.apache.axis.enum.Use.ENCODED); // <- org.apache.axis package name
is compile-time error in J2SE5.0
        _operations[0] = oper;

        oper = new org.apache.axis.description.OperationDesc();
        oper.setName("getReaderInformation");
        oper.addParameter(new javax.xml.namespace.QName("", "in0"), new javax.xml.namespace.QName("urn:test.skcc.rfid.serverdriver",
"ReaderSearchCondition"), test.skcc.rfid.serverdriver.ReaderSearchCondition.class, org.apache.axis.description.ParameterDesc.IN,
false, false);
        oper.setReturnType(new javax.xml.namespace.QName("urn:test.skcc.rfid.serverdriver",
"ArrayOfReaderInformation"));
        oper.setReturnClass(test.skcc.rfid.serverdriver.ReaderInformation[].class);
        oper.setReturnQName(new javax.xml.namespace.QName("", "getReaderInformationReturn"));
        oper.setStyle(org.apache.axis.enum.Style.RPC);
        oper.setUse(org.apache.axis.enum.Use.ENCODED);
        _operations[1] = oper;

    }

	........
}

Thank you...



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