[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI - Files needed for production approval with UPS.



Sorry, I thought you had data in variables in your program, and you 
needed to write them to disk.

I don't have exact specifications of what you're looking for, only a 
rather vague description.  It sounded like you needed your XML data 
written to disk so you could send them to someone -- but I may be 
misinterpreting that.

All I suggest is that you take the XML data that you already have in 
variables and write it to disk.  This doesn't involve any additional web 
services work, it just involves taking data in an RPG variable and 
writing it to a file.



On 11/12/2010 5:32 PM, Jorge Rodriguez wrote:
> Hi Scott,
> You probably overlooked my message last week.
> I'd really appreciate your assistance with ideas on writing the XML request and responses to disk.
> Do you have some sample code I could use as reference?
>
> I'm new in web services arena and all your help is highly appreciated.
>
> Jorge Rodriguez
> IT Application Administrator
> HoMedics - Riverside, CA
> (951) 683-2140 X 4522
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jorge Rodriguez
> Sent: Wednesday, November 03, 2010 9:29 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: RE: HTTPAPI - Files needed for production approval with UPS.
>
> Scott,
> I thought the utility was already writing the XML data to the IFS and
> receiving the XML responses from the web site into the IFS too.
> Do you have samples of other utilities writing the send/receive XML data
> to disk?
>
> Thanks you very much, for your quick response.
>
> Jorge Rodriguez
> IT Application Administrator
> HoMedics - Riverside, CA
> (951) 683-2140 X 4522
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
> Klement
> Sent: Wednesday, November 03, 2010 8:50 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: HTTPAPI - Files needed for production approval with UPS.
>
> hi Jorge,
>
> If you must do it this way (despite my previous recommendation not to)
> then you should add the following to your program (before any other
> HTTPAPI calls):
>
>      callp http_debug(*on);
>
> And it will write debugging information to /tmp/httpapi_debug.txt.  Or
> alternately you can choose the location yourself:
>
>      callp http_debug(*on: '/foo/bar.txt');
>
> But, again, I recommend simply writing your XML document to disk as well
>
> as the response to disk and sending those.
>
>
>
> On 11/3/2010 10:03 AM, Jorge Rodriguez wrote:
>> Wow!
>> Thank you for your prompt response.
>> Where can I find the httpapi_debug.txt file?
>>
>> Jorge Rodriguez
>> IT Application Administrator
>> HoMedics - Riverside, CA
>> (951) 683-2140 X 4522
>>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
>
>
>
>
> --------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE:
> This is a transmission from Homedics, Inc., and the information contained herein, and all attachments are privileged, confidential and proprietary information intended only for the addressee. If you are not the addressee, you are hereby notified that any disclosure, dissemination, distribution, copying or use of the contents of this transmission and any attachments is not allowed and expressly prohibited. If you received this transmission in error, please destroy it and notify Homedics, Inc. immediately at (248) 863-3000.
>
> CAUTION:
> Internet and e-mail communications are the property of Homedics, and Homedics reserves the right to retrieve and read any message created, sent and received. Homedics reserves the right to monitor messages by authorized Homedics' associates at any time without any further consent.
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>
>
>
>
> --------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE:
> This is a transmission from Homedics, Inc., and the information contained herein, and all attachments are privileged, confidential and proprietary information intended only for the addressee. If you are not the addressee, you are hereby notified that any disclosure, dissemination, distribution, copying or use of the contents of this transmission and any attachments is not allowed and expressly prohibited. If you received this transmission in error, please destroy it and notify Homedics, Inc. immediately at (248) 863-3000.
>
> CAUTION:
> Internet and e-mail communications are the property of Homedics, and Homedics reserves the right to retrieve and read any message created, sent and received. Homedics reserves the right to monitor messages by authorized Homedics' associates at any time without any further consent.
>
>
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------