[jboss-dev-forums] [JBoss Web Services Development] - Need to send a Secure XML message
Kavitha Kannan
do-not-reply at jboss.com
Tue Dec 13 04:23:46 EST 2011
Kavitha Kannan [http://community.jboss.org/people/kaviamar] created the discussion
"Need to send a Secure XML message"
To view the discussion, visit: http://community.jboss.org/message/641206#641206
--------------------------------------------------------------
Hi,
I am new to the development of
web services.. I am given a task of creating a Request xml as given below..
<SOAP-ENV:Envelope
xmlns:SOAP-ENV= http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope
xmlns:xsd= http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema
xmlns:a=" http://www.w3.org/2005/08/addressing http://www.w3.org/2005/08/addressing"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<a:Action s:mustUnderstand="1">
http://www.microsoftonline.com/MOSI/1/0/action/AddDomain http://www.microsoftonline.com/MOSI/1/0/action/AddDomain
</a:Action>
<BecContext xmlns=" http://becwebservice.microsoftonline.com/ http://becwebservice.microsoftonline.com/">
</BecContext>
<a:MessageID>
urn:uuid:7feaf58d-93bd-4597-aecd-be7f768f5bbb
</a:MessageID>
<a:ReplyTo>
<a:Address> http://www.w3.org/2005/08/addressing/anonymous http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand="1" u:Id="_1">
https://qa1mosi.redmond.corp.microsoft.com:11443/Syndication/DomainManagement.svc https://qa1mosi.redmond.corp.microsoft.com:11443/Syndication/DomainManagement.svc
</a:To>
<wsse:Security
SOAP-ENV:mustUnderstand="true"
xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401 http://docs.oasis-open.org/wss/2004/01/oasis-200401-
wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2011-02-15T22:58:34.861Z</u:Created>
<u:Expires>2011-02-15T23:03:34.861Z</u:Expires>
</u:Timestamp>
<ds:Signature
xmlns:ds=" http://www.w3.org/2000/09/xmldsig http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm=" http://www.w3.org/2001/10/xml-exc-c14n#"/ http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod
Algorithm=" http://www.w3.org/2000/09/xmldsig#rsa-sha1"/ http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#id-3307594">
<ds:Transforms>
<ds:Transform
Algorithm=" http://www.w3.org/2001/10/xml-exc-c14n#"/ http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod
Algorithm=" http://www.w3.org/2000/09/xmldsig#sha1"/ http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>
ACM0FDySGCZLmajV1etsrHqU4GY=
</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
yuc7jAgrak53B+oP6AFJDzNg16fPAtbQjmgYyUlY1OfOLNvwmNtOohP5g
0XVu521sWTqaWYKrg3sOaa4DQgbkw==
</ds:SignatureValue>
<ds:KeyInfo Id="KeyId-22700073">
<wsse:SecurityTokenReference
wsu:Id="STRId-12245160"
xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis http://docs.oasis-open.org/wss/2004/01/oasis-
200401-wss-wssecurity-utility-1.0.xsd">
<ds:X509IssuerSerial>
<ds:X509IssuerName>
CN=dims
</ds:X509IssuerName>
<ds:X509SerialNumber>
44369778256217224370984914847992022613
</ds:X509SerialNumber>
</ds:X509IssuerSerial>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body
wsu:Id="id-3307594"
xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis http://docs.oasis-open.org/wss/2004/01/oasis-
200401-wss-wssecurity-utility-1.0.xsd">
<sayHello
xmlns=" http://jeffhanson.com/services/helloworld http://jeffhanson.com/services/helloworld">
<value xmlns="">
Hello world!
</value>
</sayHello>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Could anybody please help me in telling what all the things i need to do for development of the above XML.
Thanks in advance..
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641206#641206]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111213/8b8a6352/attachment.html
More information about the jboss-dev-forums
mailing list