[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTPAPI and CGIDEV2 working together
I got it working ended up being a library list issue. Now onto learning how to parse a XML document. Thanks for the great tool.
Sent from my iPhone
On Apr 17, 2011, at 1:05 AM, Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
> You are building an XML template with CGIDEV2 to send via HTTPAPI? In
> that case, please be sure you call ClrHtmlBuffer() after wrtHtmlStmf().
> Otherwise, the XML will remain in your CGIDEV2 buffer, and will be
> written to the browser the next time you do wrtsection('*fini').
>
> That's purely an educated guess, though. you simply haven't provided
> enough information. We can't debug your program for you from the
> paragraph below -- it just isn't enough to go by.
>
>
> On 4/16/2011 7:30 PM, Ricky Thompson wrote:
>>
>> I'm trying to write a program that will use CGIDEV2 and HTTPAPI
>> together. I will present a HTML asking for an order number then when
>> they click submit it will call a CGIDEV2 program to get the order
>> number insert it into a XML template and save as a stream file then
>> use HTTPAPI to send the request to a webservice to pull the order
>> information back from the webservice. Then I will re-display the
>> information using CGIDEV2. All the pieces are working individually
>> but not when called together. When I send the HTTPAPI request I get a
>> 500 error in the browser. So I'm assuming that this is interfering
>> with apache. Is there a way to make this work that I'm not thinking
>> of?
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------