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 "Christian Gross (JIRA)" <ax...@ws.apache.org> on 2005/07/09 09:31:10 UTC

[jira] Created: (AXIS-2107) Amazon WSDL Misses Class Declarations

Amazon WSDL Misses Class Declarations
-------------------------------------

         Key: AXIS-2107
         URL: http://issues.apache.org/jira/browse/AXIS-2107
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
 Environment: OSX Tiger 10.4

java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)

    Reporter: Christian Gross
    Priority: Blocker


I am processing the current Amazon WSDL file.

When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by Davanum Srinivas <da...@gmail.com>.
ah! i see

On 7/12/05, Venkat Reddy (JIRA) <ax...@ws.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315594 ]
> 
> Venkat Reddy commented on AXIS-2107:
> ------------------------------------
> 
> Compilation seeems to have no problem. I could compile all 170 classes generated by WSDL2Java.(using -W flag), including the ItemAttributes class, and its java file has all the 8278 lines of code.
> 
> May be running the class will crib, i will try it.
> 
> - venkat
> 
> 
> 
> > Amazon WSDL Misses Class Declarations
> > -------------------------------------
> >
> >          Key: AXIS-2107
> >          URL: http://issues.apache.org/jira/browse/AXIS-2107
> >      Project: Apache Axis
> >         Type: Bug
> >   Components: WSDL processing
> >  Environment: OSX Tiger 10.4
> > java version "1.4.2_07"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> > Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
> >     Reporter: Christian Gross
> >     Assignee: Venkat Reddy
> >     Priority: Blocker
> 
> >
> > I am processing the current Amazon WSDL file.
> > When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.
> 
> --
> 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
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Re: [jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by Davanum Srinivas <da...@gmail.com>.
venkat,

compile it and you will see the failure.

-- dims

On 7/12/05, Venkat Reddy (JIRA) <ax...@ws.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315593 ]
> 
> Venkat Reddy commented on AXIS-2107:
> ------------------------------------
> 
> Regarding the 65k limit problem - we may have to split  the method into two or more.
> Gross, which one is the offending method? And whats the easiest way to test this??
> 
> - venkat
> 
> > Amazon WSDL Misses Class Declarations
> > -------------------------------------
> >
> >          Key: AXIS-2107
> >          URL: http://issues.apache.org/jira/browse/AXIS-2107
> >      Project: Apache Axis
> >         Type: Bug
> >   Components: WSDL processing
> >  Environment: OSX Tiger 10.4
> > java version "1.4.2_07"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> > Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
> >     Reporter: Christian Gross
> >     Assignee: Venkat Reddy
> >     Priority: Blocker
> 
> >
> > I am processing the current Amazon WSDL file.
> > When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.
> 
> --
> 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
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Christian Gross (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315411 ] 

Christian Gross commented on AXIS-2107:
---------------------------------------

The WSDL I am using is http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

You can find that at the URL http://www.amazon.com/gp/browse.html/ref=sd_allcat_ws/002-8611849-5225602?node=3435361

BTW another problem that I am running into is that the WSDL generates a huge class, and it exceeds the 65K boundary for a method.  Specifically the problem class is ItemAttributes.


> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315591 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

Works fne if you use -W or --noWrapped option for WSDL2Java.

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315818 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

When i run WSDL2Java on the attached minimal wsdl, the generated PortType class has these methods - 

    public java.lang.Object help(java.lang.String subscriptionId) throws java.rmi.RemoteException;
    public java.lang.String multiOperation(com.amazon.w.A... .Help help) throws java.rmi.RemoteException;

I think there are two issues here. The signature for the first method should use Help type instead of java.lang.String, since it is a wrapped style service. Second, the Help class need to be generated, because it is used by atleast the second method.

just thinking aloud.

- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: A3.wsdl
>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315593 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

Regarding the 65k limit problem - we may have to split  the method into two or more.
Gross, which one is the offending method? And whats the easiest way to test this??

- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2107?page=all ]
     
Venkat Reddy resolved AXIS-2107:
--------------------------------

    Resolution: Fixed

Fixed in latest cvs.

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: A3.wsdl
>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Christian Gross (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315607 ] 

Christian Gross commented on AXIS-2107:
---------------------------------------

A bit offtopic here, but I was wondering should I setup a build project that can be used to test Axis against some WSDL's from Amazon, and Google?



> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315592 ] 

Davanum Srinivas commented on AXIS-2107:
----------------------------------------

Venkat, yep. but we need to try fixing the default option too.

-- dims

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315608 ] 

Davanum Srinivas commented on AXIS-2107:
----------------------------------------

+1 for Amazon and Google test case.

-- dims

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS-2107) Amazon WSDL Misses Class Declarations

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

Davanum Srinivas reassigned AXIS-2107:
--------------------------------------

    Assign To: Venkat Reddy

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315896 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

hmm ....  it doesn't work with Axis 1.1 but works with 1.2 RC2. Axis 1.1 has the same problem as Axis 1.2.1 has, with the attached wsdl, while running WSDL2Java without the "-W" flag. The generated code doesn't compile, because the class _Help (or Help) is not generated. Need to see whats changed after 1.2 RC2

-- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: A3.wsdl
>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315857 ] 

Tom Jordahl commented on AXIS-2107:
-----------------------------------

The code that worked in Axis 1.1 was changed in the 1.2 cycle and now I am just not sure we do the right thing here in all cases.


> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: A3.wsdl
>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2107?page=all ]

Venkat Reddy updated AXIS-2107:
-------------------------------

    Attachment: A3.wsdl

Minimal WSDL to reproduce the issue.

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: A3.wsdl
>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315384 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

I dont see any "Help" in the wsdl at http://soap.amazon.com/schemas2/AmazonWebServices.wsdl.
Is that the wsdl you are referring to?

- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Christian Gross (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315606 ] 

Christian Gross commented on AXIS-2107:
---------------------------------------

I submitted a bug on the 65K issue, because I thought I was wrong on putting two issues in one issue.

However, the offending class is ItemAttributes.  In previous WSDL versions it worked fine, but they added declarations.

The problems are the constructor 200+ parameters, hashcode and equals I think.

BTW everything will compile properly, but the moment you try to run the code the exception is generated.

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315727 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

It seems to me the logic for sensing and handling the wrapped style WSDL is broken. Currently if we use --noWrapped flag on the amzon wsdl, WSDL2Java generates class for the element types defined in types secion of WSDL, otherwise it doesn't .  However, when the flag is not specified, the generated classes for PortType, Stub and BindingImpl classes assume that the wrapper class for the types are also generated, which is not correct, and the generated code doesn't compile.

After a digging for a while, i'm now at SymbolTable.setTypeReferences() which is not setting the flag onlyLiteralReference properly. may be due to wrapped not being is not set to true.

Tom, do you have comments on this? since i find this code a bit old and stable so far.

- venkat

> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2107) Amazon WSDL Misses Class Declarations

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2107?page=comments#action_12315594 ] 

Venkat Reddy commented on AXIS-2107:
------------------------------------

Compilation seeems to have no problem. I could compile all 170 classes generated by WSDL2Java.(using -W flag), including the ItemAttributes class, and its java file has all the 8278 lines of code.

May be running the class will crib, i will try it.

- venkat



> Amazon WSDL Misses Class Declarations
> -------------------------------------
>
>          Key: AXIS-2107
>          URL: http://issues.apache.org/jira/browse/AXIS-2107
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>  Environment: OSX Tiger 10.4
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215)
> Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode)
>     Reporter: Christian Gross
>     Assignee: Venkat Reddy
>     Priority: Blocker

>
> I am processing the current Amazon WSDL file.
> When I use Axis 1.2.1 a number of classes are not generated, with an example being Help.  If I use Axis 1.2, or earlier everything is processed properly.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira