05-23-2007 09:29 AM
SoapFaultCode:1 WSDoAllReceiver: Request does not contain required Security header
. How should I pass security header, since it is not defined by WSDL and therefore not part of method parameters in my proxy class? Should I do something with ticked and session id? Please explain with examples.05-30-2007 06:10 AM
06-02-2007 03:42 AM
06-04-2007 03:45 AM
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
<wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created>2007-06-01T16:04:22.609Z</wsu:Created>
<wsu:Expires>2007-06-01T16:04:22.609Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken>
<wsse:Username>ticket</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">TICKET_ff573fcb-1048-11dc-9deb-c7d31f435ffc</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<nr1:getUser xmlns:nr1="http://www.alfresco.org/ws/service/administration/1.0" xmlns:nr2="http://www.alfresco.org/ws/model/content/1.0">
<nr1:userName>ADMIN</nr1:userName>
</nr1:getUser>
</soapenv:Body>
</soapenv:Envelope>
Hope this helps.06-04-2007 03:48 AM
08-14-2008 02:05 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.