× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Aaron

Look at the USRDTA parameter on STRCMNTRC - if it says *CALC, you get only the first 100 bytes of any packets - try setting it to *MAX

HTH
Vern

Aaron Bartell wrote:
Hi all,

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:
[1]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:
[2]http://mowyourlawn.com/temp/TRCCNN_QSYSPRT.txt
[3]http://mowyourlawn.com/temp/TRCCNN_QPCSMPRT.txt

Anybody?
Aaron Bartell
[4]http://mowyourlawn.com

References

Visible links
1. http://mowyourlawn.com/temp/STRCMNTRC_QPCSMPRT.txt
2. http://mowyourlawn.com/temp/TRCCNN_QSYSPRT.txt
3. http://mowyourlawn.com/temp/TRCCNN_QPCSMPRT.txt
4. http://mowyourlawn.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.