axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonid Gerzon" <>
Subject Problem with serialization of complex parameters in axis C++ (RCP)
Date Wed, 08 Dec 2004 14:19:40 GMT


I have a problem with sending complex parameters
to Web Services from axis C++ client (in RPC style).

Axis C++ serializes complex types as follows:
it puts the parameter type in both: name and type fields.

But if such a complex type is a member of another complex type,
then its name may be different from its type.

Here what is in my WSDL (types):

   <complexType name="DigitalRightPermission">
     <element name="descr" type="xsd:string"/>

   <complexType name="ServiceGroup">
     <element minOccurs="0" maxOccurs="1" name="dp"

here what is in soap request (sent by axis C++ client):

            <ServiceGroup type="ServiceGroup">
               <DigitalRightPermission type="DigitalRightPermission">
                 <descr type="xsd:string">THE DESCRIPTION</descr>

and I receive an error response from axis java server that tag
is wrong.

here how it should look in soap:

            <ServiceGroup type="ServiceGroup">
               <dp type="DigitalRightPermission">
                 <descr type="xsd:string">THE DESCRIPTION</descr >

Is it a bug in axis C++ code or I need to configure axis C++ so it will
use right serialization of complex objects?

Thanks in advance,
Leonid Gerzon.

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
View raw message