axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Gamage" <dimut...@gmail.com>
Subject Re: Axis2C: WSDL2C tool generates nodes for group references
Date Fri, 16 Nov 2007 06:58:10 GMT
Fixed. Thanks for the quick comment

Dimuthu

On Nov 15, 2007 10:26 PM, Michael Mole <mjmole@us.ibm.com> wrote:

>
> Ok, we're almost there.  That seemed to do the trick for most of my stuff.
>  I have one complex type that still does not get the
> adb_NoContent_is_particle in the header.  Note that the function is
> defined in the source file.
>
> *-* <complexType name="*NoContent*">
> *-* <annotation>
> * * <documentation>*XML element with no content*</documentation>
> * * </annotation>
> * * </complexType>
>
> Any thoughts on why this one wouldn't get the declaration in the header?
>
> Thanks again,
> Mike
>
> Michael J Molé
> Software Engineer
> IBM Software Group - Rational
> (781)676-2710
>
>
>  *"Dimuthu Gamage" <dimuthuc@gmail.com>*
>
> 11/14/2007 11:36 PM
>  Please respond to
> "Apache AXIS C User List" <axis-c-user@ws.apache.org>
>
>   To
> "Apache AXIS C User List" <axis-c-user@ws.apache.org>  cc
>   Subject
> Re: Axis2C: WSDL2C tool generates nodes for group references
>
>
>
>
> That was a mistake in template..
> Fixed in the latest svn.
>
> Thanks
> Dimuthu
>
> On Nov 15, 2007 3:56 AM, Michael Mole <*mjmole@us.ibm.com*<mjmole@us.ibm.com>>
> wrote:
>
> I grabbed a snapshot after this fix, and I'm getting a lot of warnings
> like this:
> ../adb_Foo.c(279) : warning C4013: 'adb_Bar_is_particle' undefined;
> assuming extern returning int
>
> I noticed that these *_is_particle functions are implemented in the .c
> files, but there is not declaration in the corresponding header file.
>  Shouldn't it be in there?
>
>
> Thanks,
> Mike
>
> Michael J Molé
> Software Engineer
> IBM Software Group - Rational
> (781)676-2710
>
>   *Michael Mole/Lexington/IBM@IBMUS*
>
> 11/01/2007 09:30 AM
>
>
>   Please respond to
> "Apache AXIS C User List" <*axis-c-user@ws.apache.org*<axis-c-user@ws.apache.org>
> >
>
>   To
> "Apache AXIS C User List" <*axis-c-user@ws.apache.org*<axis-c-user@ws.apache.org>
> >  cc
>   Subject
> Re: Axis2C: WSDL2C tool generates nodes for group references
>
>
>
>
>
>
>
> Done.  It is *AXIS2C-749*<https://issues.apache.org/jira/browse/AXIS2C-749>
> .
>
> Thanks,
> Mike
>
> Michael J Molé
> Software Engineer
> IBM Software Group - Rational
> (781)676-2710
>   *"Dimuthu Gamage" <**dimuthuc@gmail.com* <dimuthuc@gmail.com>*>*
>
> 11/01/2007 04:08 AM
>
>
>   Please respond to
> "Apache AXIS C User List" <*axis-c-user@ws.apache.org*<axis-c-user@ws.apache.org>
> >
>
>
>   To
> "Apache AXIS C User List" <*axis-c-user@ws.apache.org*<axis-c-user@ws.apache.org>
> >  cc
>   Subject
> Re: Axis2C: WSDL2C tool generates nodes for group references
>
>
>
>
>
>
>
>
> Hi Michael,
> This is a Bug in the tool. Currently it is not tested with Groups. Can you
> please raise a JIRA on this.
>
> Thanks,
> Dimuthu
>
> On 10/31/07, *Michael Mole* <*mjmole@us.ibm.com* <mjmole@us.ibm.com>>
> wrote:
>
> 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.  Shouldn't it leave out the group node, and just add
> the contents of the group?  I think this is a bug in the WSDL2C tool, but I
> just wanted to make sure that this is not the desired behavior.  Please see
> (edited) snippets below:
>
>
> <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="*http://schemas.xmlsoap.org/soap/envelope/
> * <http://schemas.xmlsoap.org/soap/envelope/>">
> <soapenv:Header/>
> <soapenv:Body>
>    <ns4:update xmlns:ns2="http://[REMOVED FROM THIS EMAIL]"
> xmlns:ns4="http://[REMOVED FROM THIS EMAIL]">
>       <ns2:TargetGroup>
>          <ns2:target>this_is_a_target</ns2:target>
>       </ns2:TargetGroup>
>    </ns4:update>
> </soapenv:Body></soapenv:Envelope>
>
> - Mike
>
> Michael J Molé
> Software Engineer
> IBM Software Group - Rational
> (781)676-2710
>
>
>

Mime
View raw message