[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Base64
I don't know which step you did wrong.
Please verify that the BASE64R4 member in QSRVSRC has a line like:
EXPORT SYMBOL(base64_decode).
Check that base64_decode is exported using the DSPSRVPGM command?
Did you include the BASE64 binding directory when you compiled your program?
On 6/8/2011 2:45 AM, Bing@xxxxxxxxxx wrote:
>
> 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.
> Definition not found for symbol 'BASE64_DECODE'.
> Program UPSSND1 in library SYENDRE not created.
> Compilation failed. Program UPSSND1 not created in library SYENDRE.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------