CICS HTTP Request (Client)

75 pts.
Tags:
CICS programs

https://uhilsfkn.dlis.dla.mil/relgate/!RDEPKG_SXIG_BROKER.REQUEST?NAME=DSS_PROFITCENTER&NCB=00&ITEM=9835793?   

I am working on a couple of assumptions that need to be verified: Given a Request that works if I use it in the URL line of an http request "https://xxxxxxxxxx.yyyyy.zzzd.mil/relgate/!RDEPKG_SXIG_BROKER.REQUEST?NAME=DSS_PROFITCENTER&NCB=00&ITEM=9835793" ASSUMPTION 1. Since the host is supplied in the OPEN statement it need not be provided in the from parm. ASSUMPTION 2. Same gose for the method in this case a "GET". ASSUMPTION 3. The security headers Basic Authority - USERID & PASSWORD are correct since they are built by CICS. ASSUMPTION 4. I am correctly connecting to the host, recieveing a clean return code after issuing a WEB OPEN command. ASSUMPTION 5. Same as 4 except based on the fact I am recieveing a 16 & 54 from RESP & RESP2 after sending the entry. 1.The FROM parm contains EXEC CICS WEB SEND FROM(WS-REQUEST-AREA) FROMLENGTH(LENGTH OF WS-REQUEST-AREA) SESSTOKEN(DOC-TOKEN) METHOD(ws-cvda) BASICAUTH USERNAME(WS-USERNAME) USERNAMELEN(LENGTH OF WS-USERNAME) PASSWORD(WS-PASSWORD) PASSWORDLEN(LENGTH OF WS-PASSWORD) RESP(RESP-FLD) RESP2(RESP2-FLD) END-EXEC. I end up sending the following string in the FROM parm; "/relgate/!RDEPKG_SXIG_BROKER.REQUEST?NAME=DSS_PROFITCENTER&NCB=00&ITEM=9835793". Since CICS (mainframe) is building this request I have no way of reviewing the generated request.

Software/Hardware used:
CICS MVS
ASKED: March 1, 2013  10:02 PM
UPDATED: March 5, 2013  2:33 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Is there a question or problem about this? -- Tom
    125,585 pointsBadges:
    report
  • dave999
    Yes there is a problem, as I stated I execute a WEB OPEN and use that Session Token for my WEB SEND command. When I execute the send I get a 16/54 which equates to "Attribute positions or values in send data not valid." So obviously I am sending something to the host, it just doesn't like what I am sending it. I do not know what is being generated as a request by cics, I know it is generating method & security headers, since I am suppling it with that that data.
    75 pointsBadges:
    report
  • TomLiotta
    Yes there is a problem, as I stated I execute a WEB OPEN...   Sorry. I don't see anything "stated" anywhere before your latest comment. All that shows is a HTTP request with no explanation. And I'm sure not going to test any unexplained web request that has a .MIL domain.  :-)   I can't imagine any good response other than to ask the CICS developer. There doesn't seem to be any good way of knowing anything about this from outside of the application... unless you can post the server-side application code for us to compare against what you are sending.   BTW, is there supposed to be a second question mark at the end?   Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following