[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw: RPG calling a web service / HTTP 1.1 500 Internal Server Error, here is the attached code
- To: ftpapi@xxxxxxxxxxxxx
- Subject: Re: Fw: RPG calling a web service / HTTP 1.1 500 Internal Server Error, here is the attached code
- From: Michael Tierney <miketinternet@xxxxxxxxx>
- Date: Fri, 15 Jul 2005 09:11:05 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yzMSUWImHAOCXHom8BdRGLEY1XSTiFUa1N5wcgoPN8hxTjPOVBoZnTTj1U2nSZG37oPW2vlKpBUPYEP6akxbs3oFh7DgzY3Ewc11heBBtUbUN5t145YPTPuD0Y+RXOINbsdb7lj6DvK+F3EStgvsIjX8WXjZeY3mV6taF6y+OR4= ;
- In-reply-to: <20050714150447.Y24468@grungy.dstorm.net>
- Reply-to: ftpapi@xxxxxxxxxxxxx
- Sender: owner-ftpapi@xxxxxxxxxxxxx
Sender: Michael Tierney <miketinternet@xxxxxxxxx>
I didn't see an example that is similar to what I
am trying to do, RPG sending a request and
looking for a simple sucess or failure. The best
I could tell was the UPS example.
In any event, there is a need with the RPG guys I
deal with to send XML strings via HTTP to web
services and get a reply.
On the code I sent, the error states something
about the program expecting a character input
field with a maximum length of 52a. Is the
conflict because non Iseries is Varchar and
Iseries is fixed character length ?
--- Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>
>
> > Am I heading in the correct direction ? I am
> > trying to send an HTTP string out to a web
> > service from RPG and get back a reply of
> success
> > or failure. I would love to use an XML parser
> of
> > some sort for the data and tag it to the end
> of
> > the HTML string.
>
> Yes, I think you're headed in the right
> direction. Your code looks good to
> me, but apparently theres some detail that the
> server isn't happy with. If
> you can get all of the details right, it shoudl
> work.
>
> > If there is a more simple example you have I
> will
> > definitely try it.
>
> Hmmm.. I thought the EXAMPLE source members
> were pretty simple...
>
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubsribe
> from the list send mail
> to majordomo@xxxxxxxxxxxxx with the body:
> unsubscribe ftpapi mymailaddr
>
-----------------------------------------------------------------------
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------