Title: Axis Client (java)
I have a related problem: how to get an object (customized object) back from a client call, what I need to do?
Can I simply do the casting like:
        Person p = (Person) call.invoke(methodValues);
Thanks!
 
Richard
-----Original Message-----
From: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 8:58 AM
To: '[email protected]'
Subject: RE: Axis Client (java)

Form a qname  for the object and add parameter using that:
For exammple:
  QName qnPerson = new QName("your-namespace-here", "Person");
  ..............
 call.addParameter( "personArg", qnPerson , ParameterMode.IN );
 
 
Jai
 
-----Original Message-----
From: Suzy Fynes [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 5:27 AM
To: [email protected]
Subject: Axis Client (java)

Hi,

I'm trying to create an axis client for a wsdl doc that I have. The service takes in two parameters, both objects of a type created by the server e.g. Person object which holds a person's details. So far if I was adding parameters to my I'd use the following

call.addParameter("personsname", XMLType.XSD_STRING, ParameterMode.IN);

if the parameter is an object and not a simple type how do I add it?

Thanks

Suzy

Reply via email to