Hi Guys,
I am trying to consume a services that uses wse3 but i keep getting above mentioned error.
I have added the soap message and the wse3policaycache.config if this might help.
I am not sure what i am missing in the soap message ? please help
Soap message
***********************************************
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-0000012c1bf4e337-00000000011258b2-8">
<wsse:Username>username</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
<wsu:Created>2010-11-05T12:13:42Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<tns:AccountTransactionDetail xmlns:tns="http://api.white-eagle.com/">
<!-- Zero or one occurrences -->
<tns:AccountTransactionDetailRqst>
<!-- Element must appear exactly once -->
<tns:LocalDate>2010-11-05T12:08:27Z</tns:LocalDate>
<!-- Element must appear exactly once -->
<tns:LocalTime>2010-11-05T12:08:27Z</tns:LocalTime>
<!-- Zero or one occurrences -->
<tns:ClientMessageID>12345</tns:ClientMessageID>
<!-- Zero or one occurrences -->
<tns:Last4PAN>9999</tns:Last4PAN>
<!-- Element must appear exactly once -->
<tns:CardholderID>12345</tns:CardholderID>
<!-- Element must appear exactly once -->
<tns:StartDate>2010-11-05T12:08:27Z</tns:StartDate>
<!-- Element must appear exactly once -->
<tns:EndDate>2010-11-05T12:08:27Z</tns:EndDate>
<!-- Element must appear exactly once -->
<tns:ServiceFee>1.0</tns:ServiceFee>
</tns:AccountTransactionDetailRqst>
<!-- Element must appear exactly once -->
<tns:SponsorID>63d87015-52ac-4c19-8964-94d92aeee85d</tns:SponsorID>
</tns:AccountTransactionDetail>
</soap:Body>
</soap:Envelope>
***************************************
<policies xmlns="http://schemas.microsoft.com/wse/2005/06/policy">
<extensions>
<extension name="usernameOverTransportSecurity" type="Microsoft.Web.Services3.Design.UsernameOverTransportAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<extension name="requireActionHeader" type="Microsoft.Web.Services3.Design.RequireActionHeaderAssertion, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</extensions>
<policy name="SimplePolicy">
<usernameOverTransportSecurity />
<requireActionHeader />
</policy>
</policies>
thanks
DK