[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to