• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invoking webservice in one application through a dynamic client in other application

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I have two applications deployed on weblogic 8.1. Both have separate set of webservices . When I try to invoke these web services through a simple java application client it is possible to invoke the service normally. But when i try to invoke the webservice in one application through a dynamic client in other webservice it fails giving following error:

javax.xml.rpc.JAXRPCException: failed to invoke operation 'execute' due to an error in the soap layer (SAAJ); nested exception is: Message[ failed to serialize xml:weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://example/xsd']:inputDTO}]StackTrace[

javax.xml.soap.SOAPException: failed to serialize xml:weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://example/xsd']:inputDTO}
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:292)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:610)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:193)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:130)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:439)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:425)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:536)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:389)
at myclient.WebserviceClient.executeWeb(WebserviceClient.java:190)
at java.lang.Thread.run(Thread.java:536)
Caused by: weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://example/xsd']:inputDTO}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:284)
... 12 more
]

at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:545)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:389)
at myclient.WebserviceClient.executeWeb(WebserviceClient.java:190)
at java.lang.Thread.run(Thread.java:536)


Can anybody please tell me the cause and workaround for this problem ?

I have registered all the data types with respective names explicitly. Even then it is not working.

Please help me on this.

Thanks and Regards
Aparna
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic