[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTP_Set_AUTH and WS-Security
http_setAuth( HTTP_AUTH_BASIC
: %trim(Userid)
: %trim(Passwd) );
Am I missing something or using the wrong statement. ??
I added this into my program thinking it was what I needed to generate the
security string in my Soap message But I didn't get anything.
This is what is required using soap:
<soapenv:Header><wsse:Security soapenv:mustUnderstand="1"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
ty-secext-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-1"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd"><wsse:Username>userid</wsse:Username><wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token
-profile-1.0#PasswordText">passwd</wsse:Password><wsse:Nonce
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-m
essage-security-1.0#Base64Binary">uY0FMEfI6dzTVHg6/DFazQ==</wsse:Nonce><wsu:
Created>2011-02-15T22:21:24.555Z</wsu:Created></wsse:UsernameToken></wsse:Se
curity></soapenv:Header>
With WS-Security turned off everything is fine.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------