[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question regarding SOAP
Hello Sunil,
Sorry, it's not clear to me what you're actually doing. I understand
how you're setting the file CCSID, and how you're setting the POST and
Protocol CCSIDs (why *are* you changing the protocol CCSID!?!)
But you didn't tell me which API you're calling in HTTPAPI. Should I
assume it's http_parse_xml_stmf?
http_parse_xml_stmf() doesn't use the HTTP_setCCSIDs() or
HTTP_setFileCCSID() values. It only uses the CCSID you specify in it's
parameter list. The output CCSID is always your job's CCSID (or default
CCSID).
The HTTP_setCCSIDs() sets only the POST data and Protocol CCSID (and you
really should not be messing with the protocol CCSID!)
The HTTP_setFileCCSID() just tags new file downloads with that CCSID.
It is never used for translation, and if you're not downloading a file,
it doesn't have any effect at all.
You asked "how do I put the output of http_parse_xml_stmf into a file...
I don't understand the question. http_parse_xml_stmf's job is to
*read* a file and put the data into your program's variables. What good
would it do to put the output into a file? It was already in a file to
begin with!
Gonchigar, Sunil wrote:
> Hello Scott,
>
>
>
> I downloaded the httpapi and trying some web service calls. Thank you
> for the wealth of information. I just hope I can convince my peers to
> have this tool on production boxes.
>
>
>
> couple questions
>
> 1. I am getting a soap response into IFS file and the apostrophe(`)
> is getting translated as �EUR(TM)....hex(622039). So as `&' (and)
> with �EUR" hex(622033). The <.....> is translating correctly to
> <>. How do I resolve this? I have used the following
> before using "http_url_post "
>
> HTTP_SetFileCCSID(1208) ;
>
> HTTP_SetCCSIDs( 1208 : 37 : 1208 : 37) ;
>
> 2. How to put the output of "http_parse_xml_stmf" into IFS file.
>
>
>
> Thank you and appreciate your help
>
> Sunil
>
>
>
> ------------------------------------------------------------------------
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------