There are a number of ways of doing this, but all involve some kind of
binding. http://xfire.codehaus.org/Bindings is a good place to start. If
you are using Java 5, I'd recommend Java 5 annotations,
http://xfire.codehaus.org/JSR+181+Annotations. The classes can be generated
from the WSDL as well, which is a nice bootstrap.
Regards
Matt
Erik Allais wrote:
>
> hi,
> i have the following code to invoke a web service with single parameter
>
>
> public Object[] invokeService(String method, Object[] params) {
> Object[] results = null;
> try {
> /* Invoke the Web Service */
> results = client.invoke(method, params);
> if (results.length == 0) {
> System.out.println("null return");
> }
> } catch (Exception e) {
> e.printStackTrace();
> }
> return results;
> }
>
>
> i want to call a web service with complex type parameter
> how can i do that ???
>
> thanks
>
--
View this message in context:
http://www.nabble.com/Xfire-SOAP-Client-and-complex-type-parameter-tf3922490.html#a11123128
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email