You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2006/03/10 16:40:39 UTC

[jira] Created: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
------------------------------------------------------------------------------------------------

         Key: TUSCANY-111
         URL: http://issues.apache.org/jira/browse/TUSCANY-111
     Project: Tuscany
        Type: Bug
  Components: Java SCA Tools  
    Reporter: Jean-Sebastien Delfino


Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.


-- 
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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by Frank Budinsky <fr...@ca.ibm.com>.
Rick, the latest SDO codegenerator has a bug that makes it generate code 
that might not run (converting some simple data types to/from string is 
broken - see TUSCANY-130). I'm not sure exactly which types work as it is 
and which don't (String type properties, for example, are no problem), but 
the proper runtime support for all the built-in simple types won't be 
fixed until Monday.

Sorry about that,
Frank.

"Rick Rineholt (JIRA)" <tu...@ws.apache.org> wrote on 03/24/2006 
09:56:19 AM:

>     [ http://issues.apache.org/jira/browse/TUSCANY-111?
> page=comments#action_12371742 ] 
> 
> Rick Rineholt commented on TUSCANY-111:
> ---------------------------------------
> 
> Does anyone know off the bat if I fix up the interfaces will it 
> work?  Or is the issue beyond just incorrect generation of the java 
> interface ?
> 
> > Tuscany WSDL2Java generates incorrect signature for multiple 
> parameters in a doc-literal wrapper
> > 
> 
------------------------------------------------------------------------------------------------
> >
> >          Key: TUSCANY-111
> >          URL: http://issues.apache.org/jira/browse/TUSCANY-111
> >      Project: Tuscany
> >         Type: Bug
> >   Components: Java SCA Tools
> >     Reporter: Jean-Sebastien Delfino
> >  Attachments: account.zip
> >
> > Our WSDL2Java tool does not generate the correct signature on Java
> methods derived from a doc-literal wrapper. Only the first child 
> element of the wrapper gets turned into a parameter on the Java method.
> 
> -- 
> 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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-111?page=comments#action_12371742 ] 

Rick Rineholt commented on TUSCANY-111:
---------------------------------------

Does anyone know off the bat if I fix up the interfaces will it work?  Or is the issue beyond just incorrect generation of the java interface ?

> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

-- 
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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-111?page=all ]

Jean-Sebastien Delfino updated TUSCANY-111:
-------------------------------------------

    Priority: Blocker  (was: Major)

This is blocking the development of the web services interop test cases, since most of them use the doc-literal wrapped pattern.

> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>     Priority: Blocker
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

-- 
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] Closed: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-111?page=all ]
     
Jean-Sebastien Delfino closed TUSCANY-111:
------------------------------------------


> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Jean-Sebastien Delfino
>     Priority: Blocker
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

-- 
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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-111?page=all ]

Jean-Sebastien Delfino reassigned TUSCANY-111:
----------------------------------------------

    Assign To: Jean-Sebastien Delfino

> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Jean-Sebastien Delfino
>     Priority: Blocker
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

-- 
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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-111?page=all ]

Rick Rineholt updated TUSCANY-111:
----------------------------------

    Attachment: account.zip

Look at wsdl2java-source/org/apache/tuscany/samples/bigbank/account/services/account/AccountService.java look at sellStock method's parameters it's taking an integer
This should be two ints with doc/lit wrapped or a SelStock type for doc/lit .. but not just an int.




> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug
>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

-- 
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: (TUSCANY-111) Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-111?page=all ]
     
Jean-Sebastien Delfino resolved TUSCANY-111:
--------------------------------------------

    Resolution: Fixed

Fixed under r397455. Overriden the Axis2 getInput/OutputElement methods to generate the correct parameter list for doc-wrapped WSDL. Our WSDL2Java tool now supports BOTH doc-bare and doc-wrapped.

> Tuscany WSDL2Java generates incorrect signature for multiple parameters in a doc-literal wrapper
> ------------------------------------------------------------------------------------------------
>
>          Key: TUSCANY-111
>          URL: http://issues.apache.org/jira/browse/TUSCANY-111
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Tools
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Jean-Sebastien Delfino
>     Priority: Blocker
>  Attachments: account.zip
>
> Our WSDL2Java tool does not generate the correct signature on Java methods derived from a doc-literal wrapper. Only the first child element of the wrapper gets turned into a parameter on the Java method.

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