Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes How to retrieve SOAP message? 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 "How to retrieve SOAP message? " Watch "How to retrieve SOAP message? " New topic
Author

How to retrieve SOAP message?

Sang-Wook Kim
Ranch Hand

Joined: Jan 07, 2004
Posts: 36
Hello,

I am using JWSDP1.1 and I am trying to sign a SOAP message using

Apache XML Security (xmlsec.jar). I know how to sign and validate

xml files, but the problem is that I don't find a way to retrieve the

SOAP message before transmitting. Does anybody have succeeded XML

signature using JWSDP and ApacheXML Security? If so, could you please

let me know how you extracted the SOAP message?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The javax.xml.soap.SOAPBody interface extends org.w3c.dom.Element and org.w3c.dom.Node interfaces, which should let you apply the digital signature and encryption operations as usual. That is, assuming that you use SAAJ to create/send your SOAP messages.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to retrieve SOAP message?
 
Similar Threads
Securing Web Services
Basic authentication soap header values?
XML Signature & Encryption
org.apache.soap.Envelope: How to read the returned envelope?
sending XML message using soap