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:[EMAIL PROTECTED]
http://www.isogmbh.de

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


begin:vcard
fn:Dr. Franz Fehringer
n:Fehringer;Franz
org:ISO Software Systeme
adr;quoted-printable:;;Eichendorffstrasse 29;N=C3=BCrnberg;;90491;Deutschland
email;internet:mailto:[EMAIL PROTECTED]
tel;work:+49/(911) - 99594-0 
tel;fax:+49/(911) - 99594-580
x-mozilla-html:TRUE
url:http://www.isogmbh.de/
version:2.1
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to