• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to call WebService from Java

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic