Hi -
Attached please find the wsdl that was used to generate the stub. For
some reason it couldn't match the element result with the namespace
qualified result. In the wsdl, both the request and response has the
namespace attributes defined. I'm fairly new in this so I could be
missing something. Hitting the service via an URL or a manual soap
request all work.
Thanks in advance for your help.
The stack trace is as follows:
[java] java.rmi.RemoteException: Runtime exception; nested
exception is:
[java] unexpected element name: expected=result,
actual={
http://rpc.webparam.test
s.ts.bea.com}result
[java] at
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(St
reamingSender.java:318)
[java] at
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
[java] at
com.bea.ts.tests.webparam.DefaultRpcWebParamWebService_Stub.hello(Defau
ltRpcWebParamWebService_Stub.java:69)
[java] at
com.bea.ts.tests.webparam.Client2.testHelloRPC(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:176)
[java] at
com.sun.javatest.lib.MultiTest.run(MultiTest.java:115)
[java] at com.bea.ts.tests.webparam.Client2.main(Unknown
Source)
[java] Caused by: unexpected element name: expected=result,
actual={
http://rpc.webpar
am.tests.ts.bea.com}result
[java] at
com.bea.ts.tests.webparam.DefaultRpcWebParamWebService_hello_ResponseSt
ruct_LiteralSerializer.doDeserialize(DefaultRpcWebParamWebService_hello_
ResponseStruct_Lit
eralSerializer.java:57)
[java] at
com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDe
serialize(LiteralObjectSerializerBase.java:216)