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:45:51 UTC

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

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


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

Posted by "BMK (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1602?page=comments#action_54916 ]
     
BMK commented on AXIS-1602:
---------------------------

Thank you for your answer. 
where can i find new version of axis.jar invloving org.apache.axis.constants packsge??

is this - http://cvs.apache.org/dist/axis/nightly/axis-bin-1_2RC1.zip - right link??

Thank you. 

> Stub file from wsdl2java makes something wrong in J2SE5.0
> ---------------------------------------------------------
>
>          Key: AXIS-1602
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1602
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1
>  Environment: Axis1.2RC1 with windows 2000 professinal/J2SE5.0/Eclipse3.1
>     Reporter: BMK
>     Priority: Blocker
>  Attachments: RFIDServerSoapBindingStub.java, rfid.wsdl
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


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

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Thu, 14 Oct 2004 12:58 PM
       Body:
use "-source 1.4" switch on javac command line or the source attribute in Ant javac task.

-- dims

PS: I can run "ant clean all-tests" under jdk1.5. 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1602?page=comments#action_54079

---------------------------------------------------------------------
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: Thu, 14 Oct 2004 12:58 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


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

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1602?page=history ]
     
Davanum Srinivas resolved AXIS-1602:
------------------------------------

    Resolution: Fixed

 Use org.apache.axis.constants package. Also note that all generated stubs (using WSDL2Java) now use the org.apache.axis.constants package.

-- dims


> Stub file from wsdl2java makes something wrong in J2SE5.0
> ---------------------------------------------------------
>
>          Key: AXIS-1602
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1602
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1
>  Environment: Axis1.2RC1 with windows 2000 professinal/J2SE5.0/Eclipse3.1
>     Reporter: BMK
>     Priority: Blocker
>  Attachments: RFIDServerSoapBindingStub.java, rfid.wsdl
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


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

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: BMK
    Created: Thu, 14 Oct 2004 5:37 PM
       Body:
Thank you for your comment...

I think yours is so good solution.. 

Only one thing I wanna know is that ,in "-source 1.4" environment, 
Can i use new features added in J2Se5.0? 
e.g. Generic type.. or easer for loop.. etc..
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1602?page=comments#action_54124

---------------------------------------------------------------------
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: Thu, 14 Oct 2004 5:37 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


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

Posted by ax...@ws.apache.org.
The following issue has been updated:

    Updater: BMK (mailto:blueist@daum.net)
       Date: Mon, 11 Oct 2004 6:47 PM
    Changes:
             Attachment changed to RFIDServerSoapBindingStub.java
    ---------------------------------------------------------------------
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:47 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


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

Posted by "BMK (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1602?page=comments#action_54919 ]
     
BMK commented on AXIS-1602:
---------------------------

In the API document in above link, 
there is no org.apache.axis.constants package..
there is only org.apache.axis.Constants class which had exist since earler. 
do you mean org.apache.axis.Constants class? 

thank you so much. 

> Stub file from wsdl2java makes something wrong in J2SE5.0
> ---------------------------------------------------------
>
>          Key: AXIS-1602
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1602
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1
>  Environment: Axis1.2RC1 with windows 2000 professinal/J2SE5.0/Eclipse3.1
>     Reporter: BMK
>     Priority: Blocker
>  Attachments: RFIDServerSoapBindingStub.java, rfid.wsdl
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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


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

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Steve Loughran
    Created: Tue, 12 Oct 2004 12:23 AM
       Body:
We know there are issues w/ Axis on 1.5; enum is only part of the problem, merely a more visible one (i.e, sun added a new reserved word without warning). The other issue is the XML parser and DOM3 changes, which are equally fundamental.

As it stands, Axis1.2 will not compile on java1.5; there is development version in the subversion repository which fixes up the enum naming issue, but is still to be actively worked on. This also means that Axis1.2 will not work on Java1.5

I know this isn't a good solution for you; it isn't ideal for us either. We were unfortunate to have used enum in a public package name, at a time when it wasnt even a 'we may use this in future' reserved word, leading to compatibility problems all round. Note that when C++ versions add new reserved words, the tendency is to use __ underscore prefixes to avoid such problems, but no, Sun don't care about developers that much.

DOM3 is another issue.


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1602?page=comments#action_53924

---------------------------------------------------------------------
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: Tue, 12 Oct 2004 12:23 AM
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


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

Posted by ax...@ws.apache.org.
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


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

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Steve Loughran
    Created: Fri, 15 Oct 2004 6:05 AM
       Body:
1. you can still compile with enum.* if you enable -source 1.4

2. you cannot then use fancy new templates, enum or autoboxing in that bit of the code.

3. you can, if you are devious, compile bits of the code in 1.4, and other bits in 1.5, through the careful use of <java> tasks in ant. But you have to have no dependencies on the 1.5 code in the 1.4 tree, as the javac compiler demand-compiles even those files you didnt tell it to, if an import requires it.

4. so the only real way to safely isolate things is in separate code trees, with separate JARs as the outcome.

Like I said, I do think this is major. I am also unhappy with sun for adding more reserved words; they could have done it more gracefully. I also know that we cannot do it for Axis 1.2. As soon as Axis1.2 ships, we will do a switch, but the switch also requires adoption of DOM3 which will take time to stabilize. The other consequence of the switch is everything breaks. Anything that imports enum.* will break and need editing or rebuilding. This is unfortunate, and there is no nice solution.


For now, there is a pre-release version of a java1.5 compatible build in the subversion repository. If you really find this to be a blocker, then you are going to have to pull it down and build it yourself. 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1602?page=comments#action_54185

---------------------------------------------------------------------
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: Fri, 15 Oct 2004 6:05 AM
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


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

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: BMK
    Created: Mon, 11 Oct 2004 7:35 PM
       Body:
not "org.apache.axis" but "org.apache.axis.enum"..
"enum" is newly keyword-ed in J2SE5.0.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1602?page=comments#action_53919

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