exception - webMethods pub.client.http throws error on 401 -
i using webmethods sag , seems if service
pub.client.http
throws exception on status code 401 "unauthorized".
this leads me problem cannot handle status code because nothing written pipeline.
getlasterror
does contain string "unauthorized" not status code. except not want start parsing exception messages...
any ideas?
the output parameter header
pub.client.http
call should contain information you’re after:
header document conditional. http response headers.
key description
lines document fields in response header, key names represent
field names , values represent field values.
status string http status code of response.
statusmessage string http status message of response.
see webmethods integration server built-in services reference page 122 more details.
Comments
Post a Comment