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

HTTPAPI 1.10pre5



Sender: =?us-ascii?Q?Alexander_Grunwald?= <alexander.gruenwald@xxxxxxxxxxx>

Hello !!

I?m just checking out HTTPAPI for helping me concume a WebService using
SOAP-Messages. In this response, I found a reference to the new release
1.10.pre5. Where can I get that, because in the open source part of
www.scottklement.com is only version 1.9.

Thanx for your help.

Mit freundlichen Gru?en/Best regards Mag. Alexander Grunwald

Geschaftsfuhrer/Projektmanagement
SOB Datenverarbeitungsges.m.b.H.
Kierlingerstra?e 11
A-3400 Klosterneuburg

Tel. +43/2243/37201
Fax. +43/2243/37201/5
Mail: alexander.gruenwald@xxxxxxxxxxx

-----Ursprungliche Nachricht-----
Von: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]Im
Auftrag von Scott Klement
Gesendet: Dienstag, 31. August 2004 22:25
An: ftpapi@xxxxxxxxxxxxx
Betreff: Re: peSOAPAction has no value


Sender: Scott Klement <klemscot@xxxxxxxxxxxx>




>
> When I debug the program sure enough, peSOAPAction isn't set (in
> http_url_post_raw2...).
>

I think this was already fixed?  The code that you cite doesn't even exist
in the version of HTTPAPI on my system.  Please upgrade to the latest beta
release (1.10pre5).  It appears that the version you're running is pre4.


> My code to post looks like this:
>      C                   Eval      rc=http_url_post_stmf(%trimr(url):
>      C                                 '/ACH/ACHNISCO.TXT':
>      C                                 IFSFILE:
>      C                                 60:
>      C                                 'Mozilla/5.0 (X11; U; OS400)':
>      C                                 'multipart/form-data; boundary-
>      C                                 MIMEBoundary')


I tried this code, I did not get an error.

> --MIMEBoundary
> Content-Disposition: form-data;name="File";filename="ACHNISCO.txt"
> Content-Type: text/plain

You need a space after each semi-colon.  It should be:

     form-data; name="File"; filename="whatever"

This won't matter to HTTPAPI (since it doesn't try to interpret the
contents of your MIME file) but it might matter to the server that you're
uploading to (depending on how picky it is.)

> What's wrong with this picture???

In HTTPAPI 1.10pre6, I've included routines that do this MIME encoding.
I've already got them written on my system, but I haven't tested them or
uploaded them to my web site.

Are you interested in testing the routines for me?  Otherwise it might be
awhile before I can release them, since I don't have access to a server
that expects this type of encoding, and I have to locate one.

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


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