You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/12 03:47:52 UTC

[jira] Updated: (AXIS-1602) Stub file from wsdl2java makes something wrong in J2SE5.0

The following issue has been updated:

    Updater: BMK (mailto:blueist@daum.net)
       Date: Mon, 11 Oct 2004 6:46 PM
    Changes:
             Attachment changed to rfid.wsdl
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1602?page=history

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