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

SV: WSDL2RPG and Mime parsing



Hi Thomas,
 
I tried to compile MIMESAMP01 but got an error. 
Can you please guide me in the right direction or maybe you have an updated mime test program?
 
*RNF5406 30        048500  The call passed fewer parameters than the prototype
                           indicates are required.                     
// For demonstration purposes use local procedures.              
http_mime_DataSink_initialize(i_pUserData        // global scope 
                              : i_pStartPart                     
                              : i_pBodyData                      
                              : i_pEndPart);                     
 
 
 
This is the prototype in httpmime_h:
D http_mime_DataSink_initialize...                                   
D                 PR                                                 
D                                     extproc('HTTPMIME01_+          
D                                     http_mime_DataSink_initialize+ 
D                                     ')                             
D  i_hMime                            const  like(mime_hMime_t )     
D  i_pUserData                    *   const                          
D  i_pStartPart                   *   const  procptr                 
D  i_pBodyData                    *   const  procptr                 
D  i_pEndPart                     *   const  procptr                 
       
 
i_hMime is missing in the mimesamp01.
 
 
Best regards
Magne
 
 

________________________________

Fra: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx på vegne av thomas.raddatz@xxxxxx
Sendt: to 03.12.2009 13:28
Til: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Emne: Re: WSDL2RPG and Mime parsing




Hi Magne,

I sent the Hurray.http file to your e-mail address.

Regards,

Thomas.

ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 03.12.2009 11:43:01:

> Von:
>
> ma-kofo@xxxxxxxxxxx
>
> An:
>
> ftpapi@xxxxxxxxxxxxxxxxxxxxxx
>
> Datum:
>
> 03.12.2009 11:48
>
> Betreff:
>
> WSDL2RPG and Mime parsing
>
> Gesendet von:
>
> ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>
> Hi Thomas,
>
> I found a mime sample program WSDL2RPG/QMIME.MIMESAMP01
>
> Comments in the program:
>
> This program demonstrates how to parse a partial MIME
> message, as it will be received and forwarded by
> HTTP API.
>
> Follow these steps to successfully run the program:
>  a) Copy Hurray.http into a directory of your choice,
>     e.g. /tmp.
>  b) Run MIMESAMP01 passing the name of the directory to it,
>     e.g. CALL PGM(MIMESAMP01) PARM('/tmp')
>  c) The program will retrieve Hurray.pdf from the
>     'http' stream and write it to the specified directory.
>     Any existing Hurray.pdf will be overriden.
>
>
>
> I would like to debug and get to know how to parse mime, but I could
> not find Hurray.http. Can you please send me the hurray.http file or
> tell me where to find it?
>
> Enclosed are 3 httpapi debug files with the result mime data that I
> have to parse. I could maybe use these files in mimesamp01?
>
> Best regards,
>
> Magne
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Anhang "winmail.dat" gelöscht von Thomas Raddatz/GfD/DE]
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


<<winmail.dat>>

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------