axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Client Values not transmitting properly
Date Tue, 22 Apr 2008 21:15:20 GMT
My web services is using Axis 2.

Some of the operations in the web services, take a complex object (obj1) as an input argument.
 This input object in turn contains another object (obj2).

Signature looks something like:

      String operation1(Object1 obj1)

Definition of Object1 :

      String name;

      Object obj2;

Definition of Object2:

      String id = "";

The client code is generated using xml binding.  The client code has something like


Then the service is invoked, the operation1 receives empty string (which is the default value)
for the id element.

In the Soap Monitor, it shows that the server (entry point) is getting the value of "ID" for
the objcet2's id element; but when it comes to the operation1 method, it is empty string.

Has anyone seen such a behavior? Is there any workarounds?


Sai (Srinivasan Sairamachandran)




View raw message