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

Re: need simple RPGLE WS host example



   Hi Vince,
   Your question appears to be about how to write a program that receives
   HTTP requests on the host side.   It's not really about HTTPAPI -- as
   you seem to already understand that part of it.
   Unfortunately, I'm not sure that I've written anything really great
   about the server side -- I'll have to look into that, and see what I
   can do.  It's a tough topic to cover, because most everyone uses
   tooling rather than writing it themselves, and that makes it hard to
   know exactly what to cover and not cover.
   But anyway...   you might find the following thread in the System
   iNetwork forums interesting...
   [1]http://forums.systeminetwork.com/isnetforums/showthread.php?t=53268
   I don't know that it's exactly what you want, but it certainly is
   similar...
   On 1:59 PM, Selders, Vince E wrote:

   I just can't seem to understand what to do and how to do it ...


   I don't even know WHAT to ask ...


   I've got an apache instance up and running

   I've got a program that I would like to be the "host"


   I've got a program ready to consume it.


   The "host" program accepts a parameter, let's say an email address.


   All I want to do, for starters is consume the WS with  a request
   similar to this


   <soapenv:Envelope
   xmlns:soapenv=[2]"http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:ves=[3]"http://ves.wsbeans.iseries";>

      <soapenv:Header/>

      <soapenv:Body>

         <ves:ves>

            <ves:inputData>

               <ves:USRIN>[4]somebody@xxxxxxxxxxxxx</ves:USRIN>

            </ves:inputData>

         </ves:ves>

      </soapenv:Body>

   </soapenv:Envelope>


   When I do, I get a QSYSOPR error  (Pointer or parameter error) on the
   "host" program, so it's hitting it, but not sending any parameters


   All I need is an example, anything will help


   Vince Selders

   Lead Programmer/Analyst

   Desk: (314) 387-4244   Fax: (888) 656-0383

   [5]www.MagellanHealth.com

    

    

   Confidentiality Notice:  This message, including ANY attachments, is
   for the sole use of the intended recipient(s) and may contain
   confidential and privileged information.   Any unauthorized review,
   use, disclosure or distribution is prohibited.  If you are not the
   intended recipient, or feel you have received this message errantly,
   please contact the sender via reply e-Mail and destroy all copies of
   the original message.

References

   1. http://forums.systeminetwork.com/isnetforums/showthread.php?t=53268
   2. http://schemas.xmlsoap.org/soap/envelope/
   3. http://ves.wsbeans.iseries/
   4. mailto:somebody@xxxxxxxxxxxxx
   5. http://www.MagellanHealth.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------