on-internet
← Community

webMethods pub.client.http throws error on 401

Stack Overflow ·

I am using webMethods from the SAG and it seems if the service pub.client.http throws an exception on status code 401 "Unauthorized". This leads me to the problem that I cannot handle the status code because nothing is written to the pipeline. getLastError does contain the string "Unauthorized" but not the status code. Except that I do not want to start parsing exception messages... Any ideas?

Comments

Sign in or sign up to comment and upvote.

No comments yet.