saaj « soap « Java Enterprise Q&A





1. JAX-WS vs SAAJ Style, Which to Use    stackoverflow.com

What is difference, philosophical or otherwise, between calling a web service from Java code using Service and Dispatch classes, vs a SOAPConnection class? For example, something like this:

SOAPConnectionFactory scf = SOAPConnectionFactory.newInstance();
SOAPConnection soapConnection ...

2. DRM content with MM7 protocol Submit Request    stackoverflow.com

I am creating a SOAP request to MMSC for posting DRM content (.dm file which is a 3gp video). I am using Saaj API for the same. The MMSC to which I ...

3. What approach coud I use to unit test the output of SAAJ SOAPMssage?    stackoverflow.com

I'm using SAAJ to create soap envelops that contain xml content in the body and a group of attachments as http multipart/mixed content, I need to create a unit test for ...

4. escape characters in SAAJ SOAP action    stackoverflow.com

We have this bit of code creating an XML Message within a SAAJ SOAP message:

OdysseyMessageXML.addTextNode("<Message
MessageType='FindCaseByCaseNumber' NodeID='1' ReferenceNumber='1'
UserID='1'
Source='APIMessage'><CaseNumber>T-4-CV-2011-004617</CaseNumber></Message>"
);
When the message is complete it looks like this:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tyl="http://www.tylertech.com/"><SOAP-ENV:Header/>
<SOAP-ENV:Body><tyl:OdysseyMsgExecution><tyl:OdysseyMessageXML>&lt;Message
 MessageType='FindCaseByCaseNumber' NodeID='1' ReferenceNumber='1'
UserID='1'
Source='APIMessage'&gt;&lt;CaseNumber&gt;T-4-CV-2011-004617&lt;/CaseNumber&gt;
&lt;/Message&gt;</tyl:OdysseyMessageXML>
<tyl:siteKey>NMODYSSEYMETRO</tyl:siteKey>
</tyl:OdysseyMsgExecution></SOAP-ENV:Body></SOAP-ENV:Enve 

6. SOAP implementation using SAAJ    coderanch.com

7. Problem in sending SOAP message using SAAJ on web service implemented in .NET    coderanch.com

Hi, first of all thanks for reading my message. i am explaining it a little more..... Web service, that is implemented on .NET platform, also runs on secure layer. and Tomcat server want to interact with that web service. Please tell me the detail of jar files which i need to copy in WEB-INF/lib folder and which jar files should be ...

8. Help with SAAJ and SOAP 1.2    coderanch.com

Hi everyone, I am trying to set up a web service that sends out SOAP 1.2 requests and processes SOAP 1.2 responses. To minimize the complexity of the application, I decided to use Java SAAJ v1.3 from the JWSDP v2.0 developer kit. Using SAAJ, I can send out and receive SOAP messages without Apache Tomcat or Apache Axis. SAAJ 1.3 is ...

9. SAAJ - SOAP attachment    coderanch.com

Dear believers , I need to add the following SMIL part ( I do have the part as a bytes array ) to a SOAP msg using the SAAJ, the smil part should have content type of application/smil and the id smil.smil , and it should be the first part (start)





10. SAAJ (SOAP 1.1) incompatibility with Java 1.6    coderanch.com

Building a simple SOAP client using SAAJ which has both a SOAPBody and one attachment using Java 1.6. Was successful in running the SAAJ tutorial in j2eetutorial14\examples\saaj\attachments\src\Attachments.java. But after adding some elements to the SOAPBody and adding some code to display MimeHeaders, I find the "content-length" hasn't increased. The Content-Length continues to show 271 --> The "attachment" addr.txt which shipped with ...

11. HTTPS soap call using SAAJ    coderanch.com

12. How to send soap attachment without SAAJ    forums.oracle.com

I have to send XML or text file as an attachment in the web service, just like email attachment. Currently I am intercepting the SOAP message (sent from web service client) and then adding an attachment using SAAJ. Can we send an attachment without intercepting and SAAJ in netbeans just like how we send other data (with basic datatypes ) as ...

13. SOAP / SAAJ error, please help me.    forums.oracle.com

14. SOAP / SAAJ error    forums.oracle.com