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 "Marius Scurtescu (JIRA)" <ji...@apache.org> on 2008/10/06 20:17:44 UTC

[jira] Created: (AXIS2-4069) un-wrapped parameters option leads to invalid Java code

un-wrapped parameters option leads to invalid Java code
-------------------------------------------------------

                 Key: AXIS2-4069
                 URL: https://issues.apache.org/jira/browse/AXIS2-4069
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.4.1
            Reporter: Marius Scurtescu
            Priority: Critical


Generating Java client for the Salesforce partner WSDL, using the maven plugin. Same issue with command line code generator.

If "un-wrap parameters" is enabled then invalid Java code is generated. An extra comma is put at the beginning of the parameter list of some methods.

Since the Salesforce partner WSDL is not publicly available, you have to login to your Salesforce account and download it from there, not sure if I am allowed to attach it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4069) un-wrapped parameters option leads to invalid Java code

Posted by "Kirill Safonov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679620#action_12679620 ] 

Kirill Safonov commented on AXIS2-4069:
---------------------------------------

Any plans on this to be fixed? It prevents us from moving from Axis2 1.3 that has some critical drawbacks

> un-wrapped parameters option leads to invalid Java code
> -------------------------------------------------------
>
>                 Key: AXIS2-4069
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4069
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>            Reporter: Marius Scurtescu
>            Priority: Critical
>
> Generating Java client for the Salesforce partner WSDL, using the maven plugin. Same issue with command line code generator.
> If "un-wrap parameters" is enabled then invalid Java code is generated. An extra comma is put at the beginning of the parameter list of some methods.
> Since the Salesforce partner WSDL is not publicly available, you have to login to your Salesforce account and download it from there, not sure if I am allowed to attach it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4069) un-wrapped parameters option leads to invalid Java code

Posted by "Marius Scurtescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637581#action_12637581 ] 

Marius Scurtescu commented on AXIS2-4069:
-----------------------------------------

Tried with both xmlbeans and adb, same error, made no difference.

Here is a sample:
 public void getUserInfo(

                        ,com.example.soap.client.salesforce.partner.SessionHeaderDocument sessionHeader106,com.example.soap.client.salesforce.partner.CallOptionsDocument callOptions107)

Notice the extra comma at the beginning of the parameter list. If no wrapping is used there is an extra parameter right at the beginning, somehow when adding commas the code generator still thinks that that parameter is there.

> un-wrapped parameters option leads to invalid Java code
> -------------------------------------------------------
>
>                 Key: AXIS2-4069
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4069
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>            Reporter: Marius Scurtescu
>            Priority: Critical
>
> Generating Java client for the Salesforce partner WSDL, using the maven plugin. Same issue with command line code generator.
> If "un-wrap parameters" is enabled then invalid Java code is generated. An extra comma is put at the beginning of the parameter list of some methods.
> Since the Salesforce partner WSDL is not publicly available, you have to login to your Salesforce account and download it from there, not sure if I am allowed to attach it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4069) un-wrapped parameters option leads to invalid Java code

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637431#action_12637431 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4069:
-----------------------------------------------------

what is the data binding framework you use? this feature is tested only with ADB.

> un-wrapped parameters option leads to invalid Java code
> -------------------------------------------------------
>
>                 Key: AXIS2-4069
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4069
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>            Reporter: Marius Scurtescu
>            Priority: Critical
>
> Generating Java client for the Salesforce partner WSDL, using the maven plugin. Same issue with command line code generator.
> If "un-wrap parameters" is enabled then invalid Java code is generated. An extra comma is put at the beginning of the parameter list of some methods.
> Since the Salesforce partner WSDL is not publicly available, you have to login to your Salesforce account and download it from there, not sure if I am allowed to attach it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4069) un-wrapped parameters option leads to invalid Java code

Posted by "Travis Vachon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799581#action_12799581 ] 

Travis Vachon commented on AXIS2-4069:
--------------------------------------

+1 on this - a pain for sure.

> un-wrapped parameters option leads to invalid Java code
> -------------------------------------------------------
>
>                 Key: AXIS2-4069
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4069
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>            Reporter: Marius Scurtescu
>            Priority: Critical
>
> Generating Java client for the Salesforce partner WSDL, using the maven plugin. Same issue with command line code generator.
> If "un-wrap parameters" is enabled then invalid Java code is generated. An extra comma is put at the beginning of the parameter list of some methods.
> Since the Salesforce partner WSDL is not publicly available, you have to login to your Salesforce account and download it from there, not sure if I am allowed to attach it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.