[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dumb (?) Question
Hi Jon,
you should use�http_url_get_raw / http_url_post_raw and write your
own�
routine. However RAW means RAW so the data you receive is not
translated
into EBCDIC:
// Send HTTPAPI Request �� rc = http_url_get_raw(url� � :1 � � � � � � � � � � � � :%paddr(incoming) � � �� ); � � � � � � � � � � � � p incoming � � � �B � � � � � � � � � � � � � � � � d � � � � � � � � PI � � � � � �10I 0 � � � � � � � d � descriptor � � � � � � � � �10I 0 value � � � � d � dataptr � � � � � � � � � � � * � value � � � � d � datalen � � � � � � � � � � 10I 0 value � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � d dataw � � � � � s � � � � � � �1a � based(datap)� d datap � � � � � s � � � � � � � * � � � � � � � � d i � � � � � � � s � � � � � � 10i 0 � � � � � � � d data � � � � � �s � � � � �65535a � varying � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/free � � � � � � � � � � � � � � � � � � � � � �� � data = ''; � � � � � � � � � � � � � � � � � � �� � for i = 1 to datalen; � � � � � � � � � � � � � � � � datap = dataptr + i - 1; � � � � � � � � � � �� � � data = data + dataw; � � � � � � � � � � � � �� � endfor; � � � � � � � � � � � � � � � � � � � � � � convCCS(%addr(data)+2:%len(data):819:277); � � �� � dsp = data; � � � � � � � � � � � � � � � � � � � � dsply dsp; � � � � � � � � � � � � � � � � � � �� � dsply %char(%len(data)); � � dsply %char(datalen); � �� � return; � � � � � � � � �� �/end-free � � � � � � � � � p � � � � � � � � e � � � �� On Sun, Apr 29, 2012 at 2:21 AM, Jon Paris
<[1]jon.paris@xxxxxxxxxxxxxx> wrote:
I am sure I've seen this in the HTTPAPI but I'm darned if I can find
it in the protos or in the list archives. Even tried searching the
archives with google - probably not using the right search terms but
...
I want to call a SOAP service with HTTPAPI and simply have it pass
me the XML response packet. I don't want to have it parsed by Expat,
or placed in a file.
Can someone point me to an example please.
Jon Paris
[2]www.partner400.com
[3]www.SystemiDeveloper.com
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. �To unsubscribe, please go to:
[4]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--
Regards,
Henrik Rützou
� [5]http://powerEXT.com
� [plogofull200.png]
References
1. mailto:jon.paris@xxxxxxxxxxxxxx
2. http://www.partner400.com/
3. http://www.SystemiDeveloper.com/
4. http://www.scottklement.com/mailman/listinfo/ftpapi
5. http://powerext.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------