View previous topic :: View next topic
|
Author |
Message |
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
Hi Folks, trying to run out of the box web toolkit rexx on Z/OS for calling web api HWTHXRX1 but facing this error:
HTTP Web Enablement Toolkit Sample Begin
Issuing GET request to www.example.org/
*ERROR* (hwthrqst) at time: 22:08:51
Rexx RC: 0, Toolkit ReturnCode: 262
DiagArea.Service: 589824
DiagArea.ReasonCode: 1121
DiagArea.ReasonDesc: EDC8121I Connection reset.
** hwthrqst failure **
HTTP Web Enablement Toolkit Sample End
***
Does anyone know what could be the fix for this?
Thanks |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
re: Rexx RC: 0, Toolkit ReturnCode: 262
Only with the slightest bit of debugging info... it seems like rexx is working okay but something wrong with the web setup.
Are you sure EXAMPLE.ORG is a real thing? When I typed it into browser, it says "This domain is for use in illustrative examples in documents."
I am not familiar with Web Enablement Toolkit, but if it has an HTTP server, then you need to change the rexx to refer to your domain and server name. |
|
Back to top |
|
|
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
Thanks Pedro, but same error comes no matter which URI I give. I will see further if somehow I can figure it out. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
I do not think it can be an arbitrary URL. The server has to be able to understand the request and return a response.
This is not really a rexx issue. Perhaps ask your question in the 'All other mainframe topics' section of this forum site, as I see some HTTP topics discussed there. You might get a better audience for your question.
ibmmainframes.com/viewforum.php?f=35 |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
Back to top |
|
|
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
Thank you guys, yes not a REXX issue but since it is related to REXX so I shut maybe someone might have faced it , sure, will post in other thread and try the verbose option as suggested. Cheers!! |
|
Back to top |
|
|
|