I am communicating with a non-traditional web service and am running into
some issues. I say "non-traditional" because they aren't using HTTP or
valid XML streams for this web service and instead are simply offering up a
"raw socket server" along with some other idiosyncrasies.
Anyways, we are able to send data successfully to the server because they
can see it in their logs, but we aren't getting the response back from the
server despite the hosting party saying that some *is* in fact being sent in
the response. This has lead me down the path of setting up some TCP
monitoring mechanisms and also where I am running into a hurdle. I have
used TRCCNN and STRCMNTRC in the past (I believe) but I am not getting the
expected results. I am doing these commands on our dev box and
communicating with an HTTP server that I know *is* working. I would expect
to see the raw text data (i.e. HTTP headers) and such for the both the
request and response in the resulting spool files but I don't see that
anywhere in the resulting spool files. Can anybody see where I may have
gone wrong with how I am using these commands?
Using STRCMNTRC:
1) STRCMNTRC CFGOBJ(ETH) CFGTYPE(*LIN) CMNTRCOPTS(*RMTIPADR) RMTIPADR('
76.12.52.57')
2) ....run my test communication with a remote HTTP server with a successful
response....
3) ENDCMNTRC CFGOBJ(ETHLIN01) CFGTYPE(*LIN)
4) PRTCMNTRC CFGOBJ(ETHLIN01) CFGTYPE(*LIN)
5) DLTCMNTRC CFGOBJ(ETHLIN01) CFGTYPE(*LIN)
Resulting spool file:
http://mowyourlawn.com/temp/STRCMNTRC_QPCSMPRT.txt
Using TRCCNN:
1) TRCCNN SET(*ON) TRCTYPE(*IP) TCPDTA(*TCP () () *N '76.12.52.57')
2) ....run my test communication with a remote HTTP server with a successful
response....
3) TRCCNN *OFF
Resulting spool files:
http://mowyourlawn.com/temp/TRCCNN_QSYSPRT.txt
http://mowyourlawn.com/temp/TRCCNN_QPCSMPRT.txt
Anybody?
Aaron Bartell
As an Amazon Associate we earn from qualifying purchases.