[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
userid password
I am trying to consume a web service that requires a userid and password.
They told me it is HTTPS + Basic Auth and to put the info in the HTTP
header.
Does this mean before my post I call the following:
callp http_setauth(HTTP_AUTH_BASIC:
userid: pass)
I did try this but I am getting back "Bad Request" - which could be a
missing XML statement as this web service requires alot of input. I would
assume if it was a userid/password issue I would get back a different error.
My log shows:
do_post(): entered
POST /HIPAATransactionServices1_3/Service.asmx HTTP/1.1
Host: online.instamed.com
User-Agent: http-api/1.23
Content-Type: text/xml
SOAPAction: http://online.instamed.com/v1r3/TransactionServices/HIPAA/DoElig
Expect: 100-continue
Content-Length: 1160
Authorization: Basic bWVkaWNvcnA6SkxvdzkrQWtZcEk9
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><SOAP:Envelope
xml
recvresp(): entered
HTTP/1.1 400 Bad Request <=============
Connection: close
-greg
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------