axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Gamage (JIRA)" <>
Subject [jira] Updated: (AXIS2C-749) WSDL2C tool generates nodes for group references
Date Fri, 09 Nov 2007 09:06:50 GMT


Dimuthu Gamage updated AXIS2C-749:

    Attachment: case17.tar.gz

Fixed in the current java svn. Commit 593418.
The test case is attached..

> WSDL2C tool generates nodes for group references
> ------------------------------------------------
>                 Key: AXIS2C-749
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: 1.1.0
>         Environment: I'm running Windows XP SP2 x86, but this seems to be OS independent
>            Reporter: Michael Mole
>         Attachments: case17.tar.gz
> When using the WSDL2C tool with a schema definition file that contains group references,
the generated serialize methods of the adb databindings insert the groups as if they were
> In other words, I am using adb databindings with the WSDL2C tool.  I have a wsdl that
defines a group.  I then reference this group in one of my complex types.  The serialize method
for this complex type is explicitly adding the group as if it is an element.  It should leave
out the group node, and just add the contents of the group.  Please see (edited) snippets
>   <group name="TargetGroup"> 
>     <sequence> 
>       <element name="target" type="string"> 
>       </element> 
>     </sequence> 
>   </group> 
> <complexType name="Request"> 
>     <sequence> 
>       <group ref="WSX:TargetGroup"/> 
>     </sequence> 
>   </complexType> 
> The serialize method of "Request" is producing this (from tcpmon):  Also, please note
the method I ran is called "update". 
> <soapenv:Envelope xmlns:soapenv=" "> 
>    <soapenv:Header/> 
>    <soapenv:Body> 
>       <ns4:update xmlns:ns2="http://[REMOVED FROM THIS EMAIL]" xmlns:ns4="http://[REMOVED
>          <ns2:TargetGroup> 
>             <ns2:target>this_is_a_target</ns2:target> 
>          </ns2:TargetGroup> 
>       </ns4:update> 
>    </soapenv:Body></soapenv:Envelope> 

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:
For additional commands, e-mail:

View raw message