• 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
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic