AnsweredAssumed Answered

SOAP Header Help

Question asked by peterwilson on Jun 27, 2008
Hi

Can anyone help, I get this error: WSDoAllReceiver: security processing failed (actions number mismatch)

From this XML

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
    <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
      <Timestamp xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xsi:type="xsd:string">2008-5-27T10:15:42</Created>
        <Expires xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xsi:type="xsd:string">2008-5-27T11:15:42</Expires>
      </Timestamp>
      <UsernameToken xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <Username xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xsi:type="xsd:string">admin</Username>
        <Password xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xsi:type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:PasswordText">TICKET_5a3b183847b7e89fb1a0815050cb1c806442c27d</Password>
      </UsernameToken>
    </Security>
  </SOAP-ENV:Header>
<SOAP-ENV:Body>
    <namesp1:getStores xmlns:namesp1="http://www.alfresco.org/ws/service/repository/1.0/getStores'/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I am pretty sure the header is wrong somewhere but I can't work it out, all help appreciated.

Regards

Peter

Outcomes