This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Getting SOAP Message as a method Parameter. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Getting SOAP Message as a method Parameter." Watch "Getting SOAP Message as a method Parameter." New topic
Author

Getting SOAP Message as a method Parameter.

audi gene
Greenhorn

Joined: Jan 07, 2013
Posts: 2
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

Joined: Mar 22, 2000
Posts: 12756
    
    5
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

Joined: Jan 07, 2013
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting SOAP Message as a method Parameter.
 
Similar Threads
Need Assistance With Apache SOAP Issue
Consuming SOAP Web Service
How to get the contents of message from the soap request
Axis 1.4 does not validate input parameters?
Security using HTTP 1.1 basic challenge response