| Author |
How to call WebService from Java
|
madhukiran kommalapati
Greenhorn
Joined: Jul 06, 2009
Posts: 1
|
|
Hi All,
This is Madhu and I am new to WebService.
I need to call a WebService, Which is in dot net, from my application.
I am trying to access it.
But I could not able to invoke the method.
I could able to create a service and Call.
But whenever I am invoking na, it is giving error saying that,
javax.xml.rpc.JAXRPCException: failed to invoke operation 'RationalData' due to an error in the soap
layer (SAAJ); nested exception is: Message[ failed to serialize interface javax.xml.soap.SOAPElemen
tweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.x
ml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://ShowData.org/']:RationalData
As RationalData is my method to invoke.
Please help me out.
Thanks
madhu
|
 |
Lalit Bhatt
Ranch Hand
Joined: Dec 27, 2007
Posts: 69
|
|
|
Can you tell more details about how you have created your client? Also looking at exception it seems you are using JAX-RPC client. IF possible use JAX-WS client.
|
Java-JavaEE Hibernate Spring Spring Roo Web Applications
|
 |
 |
|
|
subject: How to call WebService from Java
|
|
|