File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 12761
    
    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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting SOAP Message as a method Parameter.
 
Similar Threads
Security using HTTP 1.1 basic challenge response
Axis 1.4 does not validate input parameters?
Need Assistance With Apache SOAP Issue
Consuming SOAP Web Service
How to get the contents of message from the soap request