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 Websphere Java WS client: How do I send raw XML as part of a SOAP request 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 "Websphere Java WS client: How do I send raw XML as part of a SOAP request" Watch "Websphere Java WS client: How do I send raw XML as part of a SOAP request" New topic
Author

Websphere Java WS client: How do I send raw XML as part of a SOAP request

Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
Hi -

1. I've got the WSDL for a SOAP web service

2. I created a "Top down, Java Bean" web service client in RAD Developer (an Eclipse based compiler used with IBM Websphere) and auto-generated a bunch of JAX-WS .java modules

3. Here is the auto-generated JAX-WS code for one of the operations:

---


QUESTION:

* "transactionData" comes from a large, complex XML data record. The WSDL format exactly matches the XML I'll be writing on the Java side, and exactly matches what the Web service will be reading on the server side.

* Q: How do I bypass Java serialization for the "transactionData" parameter, to send raw XML directly in my SOAP message? Instead of having to read my XML, parse it, and pack the Java "TransactionType" structure field-by-field?

Thank you in advance!

Paul M. Santa Maria, SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere Java WS client: How do I send raw XML as part of a SOAP request
 
Similar Threads
Creating a webservice using JAX-WS Question
Asynchronous web service client
How to access a remote SOAP using JAX-WS
Service for Asynchronous Client calls (polling, callback)
ResponseWrapper in cxf