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

R: Base64



Hi Chang,

Sorry for my simply question, but did you insert these statements in your
program:

    h BNDDIR('HTTPAPI':'BASE64':'QC2LE')

and / or

     /copy qrpglesrc,base64_h

I have merged BASE64 in my source library, I think that you can check my
compile operations:

CRTRPGMOD MODULE(xx/BASE64R4)        
          SRCFILE(xx_SRC/QRPGLESRC)  
          DBGVIEW(*LIST)                              
                                       
CRTSRVPGM SRVPGM(xx/BASE64R4)        
          SRCFILE(xx_SRC/QSRVSRC)                 
                                       
CRTBNDDIR BNDDIR(xx/BASE64)          
                                       
ADDBNDDIRE BNDDIR(xx/BASE64)         
           OBJ((xx/BASE64R4 *SRVPGM))


For me work very well, hope this serve,

Regards
Luciano



-----Messaggio originale-----
Da: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Per conto di Bing@xxxxxxxxxx
Inviato: mercoledì 8 giugno 2011 09:46
A: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Oggetto: Base64

Hello
I used httpapi a few times. It worked. Thanks!
Now I have an UPS-project. Via XML/Webservices send I a shipment and get
shipmentresponse back with a label that is encoded with base64. I downloaded
your program BASE64_H and BASE64R4, and compiled BASE64R4.
CRTRPGMOD MODULE(LIBHTTP/BASE64R4) SRCFILE(LIBHTTP/QRPGLESRC)
DBGVIEW(*LIST)
CRTSRVPGM SRVPGM(LIBHTTP/BASE64R4) SRCFILE(LIBHTTP/QSRVSRC) CRTBNDDIR
BNDDIR(LIBHTTP/BASE64) AUT(*ALL) ADDBNDDIRE BNDDIR(LIBHTTP/BASE64)
OBJ((LIBHTTP/BASE64R4 *SRVPGM))

So long every thing is ok. When I compiled my own program, I got error
message.

Ownership of object QRNFER in QTEMP type *USRSPC changed. 
Ownership of object QRNFEF in QTEMP type *USRSPC changed. 
Ownership of object UPSSND1 in QTEMP type *MODULE changed. 
Definition not found for symbol 'BASE64_DECODE'.      
Program UPSSND1 in library SYENDRE not created. 
Compilation failed. Program UPSSND1 not created in library SYENDRE. 
Program UPSSND1 in library SYENDRE not created. 
Compilation failed. Program UPSSND1 not created in library SYENDRE. 

Please tell me which step I did wrong.

Best regards
Y. B. Chang

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