Discussions

XML & Web services: INVOKING .net objects - URGENT

  1. INVOKING .net objects - URGENT (1 messages)

    hi all,
    i have a problem ...hope someone could help me...
    i've created a webservice in c#.net that returns an custom object person.Now when i try to make use of this object in my java client, i get an deserialisation exception.I tried creating a class in java with similar structure and tried to typecat it too, but even then am getting the same exception.
    The sample code is also here,
    Person is the class created in java similar to the Person class in c#.net
    Person person=(Person)call.invoke(params)
    This statement leads to the Deserialsation error.
    Am using apache soap client to invoke my webservice.

    I beleive someone would help me fixing this,

    Bye
    regards
    Dinesh
  2. Download a JBuilder trial to make it generate the whole java client from a plain WSDL file. It is VERY easy usinf JBuilder (in fact, JBuilder uses Apache Axis, but it makes the job quite easier).

    Are you sure that .NET generated a WSDL file with the complete type definition?