Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3761

Client Values not transmitting properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.3
    • None
    • rpc
    • None
    • Client is invoked from (witn in Eclipse) Windows XP and Server is Linux (RHEL 3)

    Description

      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

      Obj1.obj2.setId("ID");

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sairams Srinivasan Sairam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: