You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Sandeep <sa...@yahoo.com> on 2009/05/21 16:41:51 UTC

X509IssuerName in Soap envelope protected using message security with certificates



Hi,

We have WCF .net webservice protected using message level security with PKI certificates.

And Axis-2 1.3 with Rampart 1.3 as client.

Axis client creates following in soap envelope -


1)                <ds:X509IssuerName>C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=Terms of use at https://www.verisign.com/rpa (c)08,CN=VeriSign Class 2 MPKI Individual Subscriber CA - G2</ds:X509IssuerName>

while WCF .net service is expecting following 

2)                <X509IssuerName>CN=VeriSign Class 2 MPKI Individual Subscriber CA - G2, OU=Terms of use at https://www.verisign.com/rpa (c)08, OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US</X509IssuerName>


Note the spaces after comma in case 2 above[between CN end and OU start]. Also use of double quotes to escape comma inside O="VeriSign, Inc.".

Case 2) is envelope produced by WCF .net client and it works fine and is able to talk to above said WCF .net service.


So, Is there a way to tell Axis2 to generate X509IssuerName as format 2 instead of format 1 above

thanks
Sandeep Jagtap