You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by mahesh <ma...@mayoo.com> on 2011/06/28 00:00:57 UTC
Java client .NET service Response: Error: Value cannot be null.
Parameter name: s
My client request encrypted with WS security policy is successfully
decrypted by
the .NET WCF service.
Service returns error Response: Error: Value cannot be null. Parameter name:
s
I am thinking s is the prefix on the body tag also the namespaces arent
matching
below are examples or what I am sending and what the message should look
line
M<y message has soap:body vs .Net is needing s:body .
Putting Nameespace mapper in cfx.xml didnt help
Any help in this would be appreciated.
</s:Header>
<soap:Body wsu:Id="Id-1340668"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<ExecuteRequest xmlns="http://www.xxxx.gov/xxxx/2008/09"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
vs
</s:Header>
<s:Body u:Id="_3"
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<ExecuteRequest xmlns="http://www.xxxx.gov/xxxx/2008/09">
Thanks
mahesh
--
View this message in context: http://cxf.547215.n5.nabble.com/Java-client-NET-service-Response-Error-Value-cannot-be-null-Parameter-name-s-tp4529977p4529977.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Java client .NET service Response: Error: Value cannot be null.
Parameter name: s
Posted by mahesh <ma...@mayoo.com>.
The sequence of the request parameters was an issue once corrected all went
well.
So remember to compare the .net wsdl parameters sequence for the webservice.
Hope this helps others.
Mahesh
--
View this message in context: http://cxf.547215.n5.nabble.com/Java-client-NET-service-Response-Error-Value-cannot-be-null-Parameter-name-s-tp4529977p5529475.html
Sent from the cxf-user mailing list archive at Nabble.com.