Consultor Eletrônico



Kbase P93295: 'Status code 401 (Unauthorized)' when running a SOAP operation from an OpenEdge Web Service client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/24/2009
Status: Unverified

SYMPTOM(s):

'Status code 401 (Unauthorized)' when running a SOAP operation from an OpenEdge Web Service client

Error receiving Web Service Response: Fatal Error: 401 Unauthorized (11773)

Error receiving Web Service Response: Authorization required. Status code 401 (Unauthorized) received. (11773)

Soap Endpoint requires user authentication

The WSDL document is accessed via an HTTP connection without user authentication

The WSDL document is accessed locally through a file

Specifying -WSDLUserid and -WSDLPassword within the CONNECT() method

FACT(s) (Environment):

OpenEdge 10.x
All Supported Operating Systems

CAUSE:

The parameters -WSDLUserid and -WSDLPassword are used to access the WSDL document. In this case only the SOAP Endpoint requires user authentication.

FIX:

Specify the -SOAPEndpointUserid and -SOAPEndpointPassword parameters in the CONNECT() method instead of -WSDLUserid and -WSDLPassword.