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: axis-user@ws.apache.org
Subject: Axis Client (java)
From: Suzy Fynes [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 5:27 AM
To: axis-user@ws.apache.org
Subject: Axis Client (java)
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