• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting SOAP Message as a method Parameter.

 
audi gene
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I know the basic operations of webservices, but the problem is i want to get soap message in my public method as a parameter and than i want to manipulate that message.

Thanks in advance for your help.

Regards.

audi gene.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A SOAP message is just a bunch of text in XML format so you could pass a big String or a Reader.

Are you able to submit a SOAP request to a web service and get a reply?

Bill
 
audi gene
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,

Actually when i write simple operations (without passing a SOAPMessage as parameter) and create webservice EAR from eclipse it works fine, but if i define operation which takes (SOAPMessage as parameter) than while creating webservice EAR it gives me exception
The service class xyz does not comply to one or more requirement of jax-RPC 1.1 specification or may not deploy or function correctly.

and when i deploy this ear on weblogic server it throws an exception.

org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: pkg.ConvertSOAPMessageToStringResponse
java.lang.ClassNotFoundException: pkg.ConvertSOAPMessageToStringResponse
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic