Posted by [IP Address: 209.36.163.191] 'Mike Philby' on May 16, 2001 at 13:45:31 EST:
In Reply to: Application Messages and XML posted by [IP Address: 209.36.163.191] 'Steve' on May 16, 2001 at 09:09:56 EST:
From: syoung2@imf.org
To: mphilby@yahoo.com
Subject: RE: PeopleSoft 8 App Messages
Date: Wed, 16 May 2001 12:19:02 -0400
Thanks, Mike... this was very helpful.
-----Original Message-----
From: m p [mailto:mphilby@yahoo.com]
Sent: Wednesday, May 16, 2001 11:29 AM
To: Young, Steven
Subject: RE: PeopleSoft 8 App Messages
Steve -
Something needs to post the message to the URL,
whether it is a program you write (which you'll need
if you are posting in batch) or by posting an XML file
from an HTML web page. I've never used the
psxmlpost.exe program you are refering too, but I
imagine that it is simply a program that was written
to post a XML file to an HTTP gateway.
When I say "post" I am refering to the method of
sending information to a web server via the HTTP
protocol. This is not a PeopleDoft way of sending
data to a web server, the HTTP Post method is a
standard means of sending data from a client (web
browser) to a web server and is used all the time.
It is similar to using the FTP protocol and invoking
the "put" method. HTTP is a protocol and Post is a
method of that protocol, FTP is a protocol and Put is
a method of that protocol, but they are distinctly
different protocols and behave differently. HTTP Post
allows you to submit data to a gateway server via
using a web HTTP:// url. To FTP, you need to have an
FTP Server/gateway on the receiving side, and you put
data to a FTP:// url.
An example of this is when you fill out a form on a
web page and click a button, this submits the info on
the form to a web server. When you do this you are
actually posting a message to the web server. The web
server processes the message and sends a response back
to you in the form of HTML.
The best way to understand this is to write a simple
VB program that will post an XML string to the
application messaging gateway URL. By doing this,
which is what I had to do before I understood it, you
will see what happens when and how.
In VB, first you build a XML message, stuff it into a
string, use the HTTP protocol found in the INET
control, and invoke the Post Method, to the URL of the
App Messaging Gateway, you then wait for a response
from the gateway, when you receive the response, you
process it to make sure your message was excepted.
Hope this was of help.
Thanks,
MiKeP
--- "Young, Steven"
> Mike,
>
> Thank you very much for taking the time to send this
> information.... it was
> very helpful. I would appreciate it if you would
> send me the samples this
> weekend that you referred to.
>
> We have defined all the messages, channels, nodes,
> etc., as well as
> configured the message gateway servlet. My
> confusion stems from the meaning
> of the term "post", and what that actually entails.
> All the info I have
> received seems to assume the posting of a message
> from an online program or
> web page. But we will be doing this in batch....
> i.e. converting files to
> XML message docs, and then triggering the PS
> Subscribe process for the docs.
> Some info suggests that we simply FTP an XML
> document to the URL/Port#
> associated with the Java servlet (message gateway
> servlet). If that is the
> case, then what purpose does psxmlpost.exe serve
> (the program was referred
> to in the Integration tools training guide as a way
> of submitting an XML doc
> as a message to PS)? That seems to imply that there
> is more to triggering
> the subscription process than just putting the XML
> doc in the right
> location. Can you "dumb down" your explanation for
> me a bit??? We are new
> to this - Thanks Again
>
> -Steve
>
> -----Original Message-----
> From: m p [mailto:mphilby@yahoo.com]
> Sent: Wednesday, May 16, 2001 10:10 AM
> To: Young, Steven
> Subject: Re: PeopleSoft 8 App Messages
>
>
> Hi Steve:
>
> HTTP Post is simply the HTTP protocol that is used
> to
> post an XML document, it is not a FTP. In other
> words, an HTML web page could be used to submit a
> XML
> file to a HTTP web server. I might have a HTTP Post
> program that I could send to you when I get home
> this
> weekend (I don't have it with me). It may be posted
> on the PeopleSoft Alliance Connection somewhere, but
> I
> don't know for sure.
>
> I don't know if you know MS VB, but the INET control
> that comes with VB has a HTTP protocol tool that can
> be used to post or submit the file. On a web page,
> when you see a gray button on a page, (like the
> search
> button on Yahoo) when clicked, it is posting info
> that
> you supplied on the web page to the server.
>
> I have heavy experience with XML, HTTP, HTML, VB,
> App
> Messaging, Component Interfaces and subscription
> PeopleCode as well as PIA 8. Are there any
> opportunities that you know of where you are? I'd
> love to work with this technology again.
>
> Thanks,
>
> MiKeP
>
> --- "Young, Steven"
> > Mike,
> >
> > I saw your response on the PeopleSoft forum, and
> > hoped you would be able to
> > provide some insight on XML. We are using some
> > middleware (Mercator) to
> > convert flat files to XML documents, and want to
> > post those to PS (using
> > HTTP Post) and use the PS subscription process to
> > load the data. I am new
> > to the XML/messaging arena, and am a bit confused
> on
> > just what an "HTTP
> > Post" entails mechanically. Is this simply a
> matter
> > of FTPing the XML
> > document to the appropriate directory (assuming we
> > have setup the messages,
> > gateway server, etc. correctly)? Other than
> saying
> > that we need software
> > capable of performing an HTTP Post, the
> PeopleBooks
> > do not say much about
> > what this actually involves for 3rd party
> > integration.
> >
> > Any clues would be much appreciated.
> >
> > Steve Young
> > IMF, Washington, D.C.
: Hi - we are converting flat files from legacy systems into XML documents in order to use the publish/subscribe technology supplied by PS App Messages to get the data into the database. The PeopleBooks say that we need software capable of doing an "HTTP Post" when integrating 3rd party data. We are new to this arena, and are not quite sue what this means. Is it as simple as FTPing our XML document to the proper directory (assuming we have defined the messages, set up the gateway server, etc)? Any clues would be appreciated!