in reply to Script to accept/send data as SOAP xml message

Unless you're going to encode the XML documents you're sending into a SOAP string, this doesn't look like SOAP to me.

You're probably better off without SOAP anyway, if you want my opinion; it's way too complex.

Since you're mentioning soap, I guess you want to send/recieve this xml data over HTTP in typical request/response order. For that, you don't need a seperate deamon process; just post with LWP::UserAgent and get the response from the response object.

updated: fixed url

  • Comment on Re: Script to accept/send data as XML (SOAP) format

Replies are listed 'Best First'.
Re^2: Script to accept/send data as SOAP xml message
by chanakya (Friar) on Mar 01, 2005 at 11:53 UTC
    gellyfish, you are correct the document was an XSD document. Just got to know that XSD is the predecessor to DTD.
    Joost, I need to send the soap envelope through HTTPS POST to a particular URL, for this alone I can use LWP::UserAgent but what about receiving part...
    For my script to receive shouldn't it be in daemon mode..?

    The basic idea is simple i) to generate an SOAP XML message and post it to a URL, and get the response object
    ii) To receive the SOAP XML message , parse it and give out a response object.

    Correct me if I'm wrong anywhere.