Architecting, installing and maintaining your SAS environment

Unexpected behavior of the http procedure

Accepted Solution Solved
Reply
Contributor
Posts: 20
Accepted Solution

Unexpected behavior of the http procedure

Hi,

 

a post to report unexpected behavior of the http proc :

 

For a week, I try to download PDF files via PROC HTTP (SAS9.4M4) with login, password authentication.

Each request gives me this message :

 

NOTE: PROCEDURE HTTP used (Total process time):

      real time           0.24 seconds

      cpu time            0.14 seconds

 

NOTE: 500 Internal Server Error


After analyzed the security internet options settings on my Windows server, contacted the provider of the Web Service, I finally found the solution:


The undocumented option of the HTTP PROC -> JAVA_HTTP :

 

proc http java_http
               webusername="" webpassword=""
               method="GET" url="&url./&param."
               out=out;
run;

 

This behavior can be controlled with the environment variable SAS_JAVA_HTTP.

 

If you have details on the action of this option, I am interested.

 

Regards,

Gaetan

 


Accepted Solutions
Solution
‎02-19-2017 10:04 AM
SAS Super FREQ
Posts: 299

Re: Unexpected behavior of the http procedure

Hi,

 

As far as I know, changes are being made to the documentation about this option.

I am not aware of any fixed timeframe on when it will be available.

To get further information, probably the best way to go is connecting with TS.

 

The problem you saw is based on the fact that HTTP in SAS 9.3 was based on Java, and now, with SAS 9.4, it

is in C.

 

 

Thanks

Anja

 

View solution in original post


All Replies
Solution
‎02-19-2017 10:04 AM
SAS Super FREQ
Posts: 299

Re: Unexpected behavior of the http procedure

Hi,

 

As far as I know, changes are being made to the documentation about this option.

I am not aware of any fixed timeframe on when it will be available.

To get further information, probably the best way to go is connecting with TS.

 

The problem you saw is based on the fact that HTTP in SAS 9.3 was based on Java, and now, with SAS 9.4, it

is in C.

 

 

Thanks

Anja

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 150 views
  • 3 likes
  • 2 in conversation