- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to retrive an XML from a webserver that is outside my network. I try to make the call from SAS using PROC SOAP, I keep getting the following error message:
ERROR: org.springframework.ws.client.WebServiceTransportException: Unauthorized [401]
I have tried to add either WEBUSERNAME and PROXYUSERNAME into PROC SOAP but they don’t work.
proc soap in=request
out=resp_org
url="https://xx.xxx.xxx.xxx/RemoteHistorysvc.asmx"
soapaction=http://www.EmersonProcess.com/RemoteHistory/GetTrendData
WEBUSERNAME="username"
WEBPASSWORD="*****"
WEBDOMAIN="domain";
run;
If I access the webpage via Internet explorer, I can login with the username and password.
Have anyone had similar experience or any suggestions? Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Just guessing, but it could be a firewall issue.