Hi Nandana,
Please find the attached request xml file.
Thanks in Advance
---------------
Siva kumar.
----- Original Message -----
From: "Nandana Mihindukulasooriya" <[email protected]>
To: <[email protected]>
Sent: Monday, December 28, 2009 7:55 PM
Subject: Re: Actions Mismatch with axis2 1.5.1/rampart 1.5 and .NET client
Hi Siva,
Can you post the request message and service configuration ?
regards,
Nandana
On Mon, Dec 28, 2009 at 2:44 PM, Siva <[email protected]>
wrote:
Hi Friends,
Atlast i am going to decrypt the request message
form
.NET using AXIS 1.5.1/rampart 1.5, now a new problem is arised i.e.,
actions missmatch, i am not aware of .NET . Friends kindly help in this
configuration , find the below .NET configuration file and errrodetails.
*Error Details:*
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
(actions mismatch)
at
org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:344)
at
org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:86)
at
org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
*.NET configuration* *:*
<client>
<endpoint address="
http://192.168.100.67:8080/kiwiservices/services/VPSHostServices"
behaviorConfiguration="ClientCertBehavior"
binding="customBinding"
bindingConfiguration="JavaInterop"
contract="ServiceReference1.VPSHostServicesSoap"
name="VPSHostServicesSoap12">
<identity>
<dns value="SERVICE" />
</identity>
</endpoint>
</client>
<bindings>
<customBinding>
<binding name="JavaInterop">
<security defaultAlgorithmSuite="Basic128Rsa15"
allowSerializedSigningTokenOnReply="true"
authenticationMode="MutualCertificate"
requireDerivedKeys="false"
securityHeaderLayout="Lax" includeTimestamp="true"
messageProtectionOrder="EncryptBeforeSign"
messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10">
<issuedTokenParameters keyType="AsymmetricKey" />
<localClientSettings detectReplays="false" />
<secureConversationBootstrap
defaultAlgorithmSuite="Basic128Rsa15"
allowSerializedSigningTokenOnReply="true"
authenticationMode="MutualCertificate"
requireDerivedKeys="false" securityHeaderLayout="Lax"
messageProtectionOrder="EncryptBeforeSign">
<issuedTokenParameters keyType="AsymmetricKey" />
</secureConversationBootstrap>
</security>
<textMessageEncoding messageVersion="Default" />
<httpTransport />
</binding>
</customBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="ClientCertBehavior">
<clientCredentials>
<clientCertificate findValue="ba f9 f8 82 da 54 26 1b 2b 22
18
88 aa 79 d2 e3 d0 13 f1 b9"
storeLocation="CurrentUser" storeName="My"
x509FindType="FindByThumbprint" />
<serviceCertificate>
<defaultCertificate findValue="6a ca 90 f6 4c 89 68 6e 08
ab
da 97 c4 9b 8b b8 83 49 0f 04"
storeLocation="CurrentUser" storeName="My"
x509FindType="FindByThumbprint" />
<authentication
certificateValidationMode="PeerOrChainTrust" revocationMode="NoCheck"
/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
Kindly help me friends , i am unable under what the details are
missing
------------------------------------
with Regards,
Siva Kumar
"This e-mail message may contain confidential, proprietary or legally
privileged information. It should not be used by anyone who is not the
original intended recipient. If you have erroneously received this
message,
please delete it immediately and notify the sender. The recipient
acknowledges that YALAMANCHILI or its subsidiaries and associated
companies,
are unable to exercise control or ensure or guarantee the integrity
of/over
the contents of the information contained in e-mail transmissions and
further acknowledges that any views expressed in this message are those
of
the individual sender and no binding nature of the message shall be
implied
or assumed unless the sender does so expressly with due authority of
YALAMANCHILI Group. Before opening any attachments please check them for
viruses and defects."
<?xml version='1.0' encoding='utf-8'?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing"
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1" u:Id="_3">
http://kiwibank.co.nz/VPS/VPSHostServices/VarifyIVRPin
</a:Action>
<a:MessageID u:Id="_4">
urn:uuid:1fd3dae6-fe25-4ddc-b654-2f9da856ea5c
</a:MessageID>
<a:ReplyTo u:Id="_5">
<a:Address>
http://www.w3.org/2005/08/addressing/anonymous
</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand="1" u:Id="_6">
http://192.168.100.67:8080/kiwiservices/services/VPSHostServices
</a:To>
<o:Security
xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
s:mustUnderstand="1">
<u:Timestamp
u:Id="uuid-468aca15-8576-43b8-af44-1b71effb30b5-1">
<u:Created>2009-12-28T14:38:42.593Z</u:Created>
<u:Expires>2009-12-28T14:43:42.593Z</u:Expires>
</u:Timestamp>
<o:BinarySecurityToken
u:Id="uuid-c3b57de4-7632-4ceb-b112-84e82d2c34df-2"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">
MIICQTCCAaqgAwIBAgIESzGVTjANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJJTjELMAkGA1UECBMCQVAxDDAKBgNVBAcTA1ZTUDEMMAoGA1UEChMDWVNFMRwwGgYDVQQLDBNZQUxBTUFOQ0hJTElfQ0xJRU5UMQ8wDQYDVQQDEwZDTElFTlQwHhcNMDkxMjIzMDM1ODA2WhcNMTUxMjIyMDM1ODA2WjBlMQswCQYDVQQGEwJJTjELMAkGA1UECBMCQVAxDDAKBgNVBAcTA1ZTUDEMMAoGA1UEChMDWVNFMRwwGgYDVQQLDBNZQUxBTUFOQ0hJTElfQ0xJRU5UMQ8wDQYDVQQDEwZDTElFTlQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJn1zNQrxu/ck+yYpNlo5WVg6Q+vO0XVGDPbY4TC8IKO6Qb9g4vMnJeXclpklyAuwsl3qd3qslyybU+JXdjKzo16tK42cg+8IpFRe/QwW36OWwfQrdmLiBZ/PCWxa1QEg0+L4cCBBl+FZrVIf2te4z0ayUQKJgJ9Mb45qc1y4XnXAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAeVSnnTKo8vxz33y3a8BIOXCzyqXQwlHaeV7w8hEdSQOel09LvuUw4hyuyEwWn5ynSXiMBSBeJO+OGI6yz7l6emMTvwOvl6aIQM4CJ8u7a7R43SOZXUlcvOJEj76HLW3jszqyjVsTEmqyosfMKC5/1MYPL3Vi52Jmehv+qLWAnn4=
</o:BinarySecurityToken>
<e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#"
Id="_0">
<e:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<o:SecurityTokenReference>
<X509Data>
<X509IssuerSerial>
<X509IssuerName>
CN=SERVICE, OU=YALAMANCHILI_SERVICE,
O=YSE, L=VSP, S=AP, C=IN
</X509IssuerName>
<X509SerialNumber>
1261540750
</X509SerialNumber>
</X509IssuerSerial>
</X509Data>
</o:SecurityTokenReference>
</KeyInfo>
<e:CipherData>
<e:CipherValue>
QrnCXquIFuZx+dir/RSLjslJF+x+P0V4eQUPC9/Re7j7Pal+aMw4ELn88W926i7SQ4thmOqw+lYplf7FkEfZeF0movdjZ7GTKMnfea2pyMvt/kLwTneMDcnr8RUSU6ljst4WddCQ5Rw1eu2LiER2juOugOiOZjpaOZjIr/06LDc=
</e:CipherValue>
</e:CipherData>
</e:EncryptedKey>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#_2">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
vfC7J7medQaKIRlGeuV6DNfiMAw=
</DigestValue>
</Reference>
<Reference URI="#_3">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
rzUWbqIlVteIVtziDLItm5arimo=
</DigestValue>
</Reference>
<Reference URI="#_4">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
Vv93Sb96enp/aydaa47mXh5huWo=
</DigestValue>
</Reference>
<Reference URI="#_5">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
k69pykploFPkXhw5ogDHcjcJUI0=
</DigestValue>
</Reference>
<Reference URI="#_6">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
zpIzSfYWkhaulrHsth2NbGr2jks=
</DigestValue>
</Reference>
<Reference
URI="#uuid-468aca15-8576-43b8-af44-1b71effb30b5-1">
<Transforms>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>
2gTwiUdd7VZKNFmeluvzGQNox7I=
</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
J8HtCyu5wFUpOYfFtZH3pFhjxiljDKMZowtiZ5iLtgpOzG/3pg7jx5kkwBQROhPwaC0XHyOyp17+ZccEhKeom46+64pVyxD6ZNNnjArg9ug4EEsBlMjbCKsD4Ed9tBjDd2gs7flk0wkM8+o6ZI+SrLjavWScm6TYg2QA5MJ6R24=
</SignatureValue>
<KeyInfo>
<o:SecurityTokenReference>
<o:Reference
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"
URI="#uuid-c3b57de4-7632-4ceb-b112-84e82d2c34df-2" />
</o:SecurityTokenReference>
</KeyInfo>
</Signature>
<e:ReferenceList
xmlns:e="http://www.w3.org/2001/04/xmlenc#">
<e:DataReference URI="#_1" />
</e:ReferenceList>
</o:Security>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" u:Id="_2">
<e:EncryptedData xmlns:e="http://www.w3.org/2001/04/xmlenc#"
Id="_1" Type="http://www.w3.org/2001/04/xmlenc#Content">
<e:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc" />
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<o:SecurityTokenReference
xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<o:Reference URI="#_0" />
</o:SecurityTokenReference>
</KeyInfo>
<e:CipherData>
<e:CipherValue>
vPkpBGTh72mFu6KWtrsO75SRlHx8S5cuALmOooTEfGpdft6/Xo6qzliG8TR4zZ2XcMSvjliy5iaPhLVmIxyA3cZdZA+5/fBVyGdtSmlCfE7+HqRgisB6ZWmWnt2B1YS2THUUQYHENmYoWRkhIoFevVpOFfO6GktGnFEmUvaaWE3U2tWLMY69EScXdEmbN43d7fHPrIlBbhmRUHU5/Dt9Z5jieNgTX+BU11dcSwv0gcIQJsrJKIBaoG02S9ShdVIDI1Ul35c+OVL+GYXRAq2A/aqno+ZYQzfDIXGTd6hIN4xvuyP3aul2MTI2zzX9qugLsq5zQCjcgxlkq2XyA/WOEg==
</e:CipherValue>
</e:CipherData>
</e:EncryptedData>
</s:Body>
</s:Envelope>