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

Re: How do I get the response back using: HTTPAPI http_url_post_stmf



Sender: Buck Calabro <kc2hiz@xxxxxxxxx>

> But what do I tell the vendor to
> do to return an "OK" reply (or
> an xml document)?

The vendor will tell YOU what he will send for a reply.

You: http_url_post
Him: OK

time passes...

Him: connect to your HTTP server and send the XML data to you.
You: wait until all the XML data is on your machine and process it.

> Is it as simple as me naming
> the file to be returned, he
> creating a response file named
> that same file name, and it just gets sent?

It all depends on what the vendor's spec says he wants you to do. 
Don't confuse the two responses you'll be getting from the vendor. 
The first response will be in the same transaction/connection as your
'http_url_post' and may be something as simple as OK.

THEN, he will connect to your HTTP server (is what it sounds like)
where you will have a program that handles his XML data.

Basically, you need to find out from the vendor what the sequence of
events is.  Get a sample transaction if at all possible.  That will
help you iron out the details.
  --buck

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------