I need a little help getting a jax-rpc client going. I have a service that takes a
single argument that is an Element and returns an Element.
Running my client I get:
unexpected element type: expected=Element,
actual={http://xml.apache.org/xml-soap}Element
my code looks like:
String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
call.setReturnType(new javax.xml.namespace.QName("Element"),
org.w3c.dom.Element.class);
I am not sure how to qualify my return type.
Also, after looking at other example code, do I need:
call.addParameter(......);
Not sure how to define this for Element.
-Steve Pruitt