Upgrade to Axis 1.4.
On 7/4/06, Amit Andhale <[EMAIL PROTECTED]> wrote:
Hi,
I have query regarding Products and Components Web Service.
I have developed a Wrapped/Literal style J2EE Web Service which retrieves
Products and Components. I am accessing this web service form .NET C#
Client.
This Web Service details are as follows
getProductAndComponentList(String UUID) method returns
Array of ProductView class which extends BaseView class
ProductView array contains some attributes like Name, ID and Array of
ProductComponentView class which also extends BaseView class.
When I call this Web Service from .NET C# Client I can get the ProductView
Array.
In "ProductView" Array I can get the values of "ID", "Name" but getting
Empty ProductComponentView array even if Components are there for the
Product.
I have also written Java Client which returns correct response.
I also verified the SOAP Request and Response on the wire using "SOAPScope"
tool which also shows me correct response.
But I am getting zero length ProductComponentView Array inside "ProductView"
array for .NET Client.
The returned XML contained an apparent misnaming of the constituent
elements. For example, if I defined 3 types:
1. InnerObject;
2. ArrayOfInnerObjects []
3. OuterObject ( contains ArrayOfInnerObjects )
then the xml response for an OuterObject with 2 elements in the
ArrayOfInnerObjectgs would look like:
<OuterObject>
<ArrayOfInnerObjects>
<ArrayOfInnerObjects>....</ArrayOfInnerObjects> #
WRONG
<ArrayOfInnerObjects>....</ArrayOfInnerObjects> #
WRONG
</ArrayOfInnerObjects>
</OuterObjects>
The tags on the lines that are wrong should have been <InnerObject>.
Please help me to resolve this issue!
Amit
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]