I'm trying to convert to Axis from an implementation I did using Apache SOAP
about a year back.  I'm having some difficulty and hoping someone can help.

What I want to do:

Invoke a method that returns a org.w3c.dom.Element.  I want to process the
XML that is returned directly but want to use the RPC service style (since
it makes it easier to pass parameters).


What I tried:

My new service is both published and consumed by Axis (using 1.1 RC2).  I
deployed the service exposing a simple method that retuns a
org.w3c.dom.Element with the following signature:

  public Element getStandings(int season)

The WSDL (generated by Axis) indicates that the method of the service
returns something of type "apachesoap:Element".

When I try to invoke the call on the client side (setting the return type of
the call to "org.apache.axis.Constants.SOAP_ELEMENT"), I get a
"java.lang.reflect.InvocationTargetException".

Am I setting the return type incorrectly (there is not much documentation to
go off)?  Should I be using the "wrapped" service style?  This seemed a lot
easier in Apache SOAP but maybe I've just forgotten the trials I had to go
through to get it working.

Thanks in advance for any help,

Stefan

----
Stefan Leyhane
Firmwater Inc.

[EMAIL PROTECTED]
http://www.firmwater.com

Reply via email to