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 "Gul Onural (JIRA)" <ji...@apache.org> on 2007/04/30 22:43:16 UTC

[jira] Created: (AXIS2-2609) Incorrectly generated stub functions

Incorrectly generated stub functions 
-------------------------------------

                 Key: AXIS2-2609
                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.2
            Reporter: Gul Onural
            Priority: Blocker
         Attachments: test.zip



The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.

For example, operation and message are defined something similar to  :

      <operation name="queryX">
         <input message="queryXRequest"/>
         <output message="queryXResponse"/>
      </operation>


   <message name="queryXRequest">
      <part name="header" element="id"/>
   </message>

The generated stubs contains the id twice :

  public  com.mycompany.QueryXResponseDocument queryX(
                            com.mycompany.IdDocument id2,
                            com.mycompany.IdDocument id3)
                            throws java.rmi.RemoteException
{
...
}

-- 
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-2609) Incorrectly generated stub functions

Posted by "Gul Onural (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493351 ] 

Gul Onural commented on AXIS2-2609:
-----------------------------------


This behavior has changed since Axis2 1.1, where I didn't have to
specify empty string in the
body part. Omitting body (no <soap:body parts="" use="literal"/>) in the
input worked with Axis2 1.1.

Have you had a chance to test if body parts="" works with axis2 1.2? 

Gul





> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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-2609) Incorrectly generated stub functions

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

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

Sorry for the late reply
yes that is how it works in Axis2 1.2.

The problem here is that if you do not say  <soap:body parts="" use="literal"/> then some implementation may interpret it not using parts and some may use available part as spec has not clearly define this. but if you specifically put  <soap:body parts="" use="literal"/> then any implementation should support this sine this is define in the spec.

We added lot of WSDL validation code for Axis2 1.2


> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Assigned: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2609:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Updated: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Gul Onural (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gul Onural updated AXIS2-2609:
------------------------------

    Attachment: test.zip



WSDL files and generated code to simulate the issue.

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

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


Re: [jira] Resolved: (AXIS2-2609) Incorrectly generated stub functions

Posted by Franz Fehringer <fe...@isogmbh.de>.
Just curious: Why is an Axis2 code generation issue not an Axis2 issue?

Cheers

Franz


Amila Chinthaka Suriarachchi (JIRA) schrieb:
>      [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Amila Chinthaka Suriarachchi resolved AXIS2-2609.
> -------------------------------------------------
>
>     Resolution: Invalid
>
> Resolving issue since this is not an axis2 issue
>
>   
>> Incorrectly generated stub functions 
>> -------------------------------------
>>
>>                 Key: AXIS2-2609
>>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>>             Project: Axis 2.0 (Axis2)
>>          Issue Type: Bug
>>          Components: codegen
>>    Affects Versions: 1.2
>>            Reporter: Gul Onural
>>         Assigned To: Amila Chinthaka Suriarachchi
>>            Priority: Blocker
>>         Attachments: test.zip
>>
>>
>> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
>> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
>> For example, operation and message are defined something similar to  :
>>       <operation name="queryX">
>>          <input message="queryXRequest"/>
>>          <output message="queryXResponse"/>
>>       </operation>
>>    <message name="queryXRequest">
>>       <part name="header" element="id"/>
>>    </message>
>> The generated stubs contains the id twice :
>>   public  com.mycompany.QueryXResponseDocument queryX(
>>                             com.mycompany.IdDocument id2,
>>                             com.mycompany.IdDocument id3)
>>                             throws java.rmi.RemoteException
>> {
>> ...
>> }
>>     
>
>   


-- 
Dr. Franz Fehringer (Dipl. Math.)
Projektleiter Touristik-Systeme
____________________________________
ISO Software Systeme GmbH
Eichendorffstrasse 29
90491 Nürnberg
Germany

Tel.: +49/(911) - 99594-0

mailto:Franz.Fehringer@isogmbh.de
http://www.isogmbh.de

Amtsgericht Nürnberg HRB 18299
Geschäftsführer: Dipl.-Inform., Dipl.-Kaufm. Harald Goeb
Sitz: Nürnberg



[jira] Resolved: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-2609.
-------------------------------------------------

    Resolution: Invalid

Resolving issue since this is not an axis2 issue

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Reopened: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Gul Onural (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gul Onural reopened AXIS2-2609:
-------------------------------


I tried the suggestion, but now Axis2 is giving me a different error (The EPR and operation the AxisFault is complaining about below are correct and exist but I still get the exception below:


org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is https://xxxxxxxx:8443/axis2/s
ervices/TestService and the WSA Action = urn:testop
        at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
        at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.send(RobustOutOnlyAxi
sOperation.java:108)
        at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
        at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:446)
        at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:426)
        at com.nortel.optical.drac.client.wsautomatedtestengine.DracWsAutomatedTestClient.main(DracWsAutomatedTestCli
ent.java:94)

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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-2609) Incorrectly generated stub functions

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

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

soap body parts is optional it is correct.
But where the spec says what to do when the parts absent. As you have told most of the people do not use the parts element since it is optional. but they expect the message part goes through the wire. So Axis2 has implement it as in that way.
But if you want not to say something then you have to specify parts="".


> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Resolved: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-2609.
-------------------------------------------------

    Resolution: Fixed

if there is not parts to send parts="" must be set.

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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-2609) Incorrectly generated stub functions

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

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

use 
<operation name="sampleOperation">
         <soap:operation soapAction="http://www.mycompany.com/SampleService/queryServers" style="document"/>
         <input>
            <soap:header message="tns:sampleRequest" part="header" use="literal"/>
            <soap:body parts="" use="literal"/>
         </input>
         <output>
            <soap:body parts="payload" use="literal"/>
         </output>
      </operation>

please specifically specify you don't want to send any thing in the body. Otherwise it picks the message part as the body part. 

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Reopened: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Gul Onural (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gul Onural reopened AXIS2-2609:
-------------------------------



WSDL 1.1 specs defines body parts an optional element. Therefore putting an empty string ("") where there is no data required in the input message body is incorrect implementation (see http://www.w3.org/TR/wsdl#_soap:body)

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

-- 
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] Closed: (AXIS2-2609) Incorrectly generated stub functions

Posted by "Gul Onural (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gul Onural closed AXIS2-2609.
-----------------------------

    Resolution: Invalid

> Incorrectly generated stub functions 
> -------------------------------------
>
>                 Key: AXIS2-2609
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2609
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Gul Onural
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: test.zip
>
>
> The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload.
> This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem.
> For example, operation and message are defined something similar to  :
>       <operation name="queryX">
>          <input message="queryXRequest"/>
>          <output message="queryXResponse"/>
>       </operation>
>    <message name="queryXRequest">
>       <part name="header" element="id"/>
>    </message>
> The generated stubs contains the id twice :
>   public  com.mycompany.QueryXResponseDocument queryX(
>                             com.mycompany.IdDocument id2,
>                             com.mycompany.IdDocument id3)
>                             throws java.rmi.RemoteException
> {
> ...
> }

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