[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Base64 Encoder
I'm using WSDL2RPG to contact web services. �I generated a code, that
I can connect to the web service with no problem. �I also made an
XML-string that I want to send to the web service. �But I got an
error, and was told by the web service admin that I have to encode the
BASE64 before I send the XML-string to the web service. �I tried to
use the Marshall_toBinary64 prototype to encode the text. �The problem
is that �I always get an error when I compile the program, and when I
look through the error list, I can't see the copy member for the
encoding.
In my program I have
� � � /DEFINE PROTOTYPE_VRA10001
� � � /COPY lag40_dev/qrpglesrc,VRA10001
� � � /UNDEFINE PROTOTYPE_VRA10001
and in the VRA10001 I have
�CPY �/COPY WSDL2RPG/QBASICS1,PBASICS1 � � � � � � � � � � � � � Tools/400 Runtime Library
�CPY �/COPY WSDL2RPG/QMIME,PMIME � � � � � � � � � � � � � � � � � � �Tools/400 MIME Parser
�CPY �/COPY WSDL2RPG/QMIME,HTTPMIME_H � � � � � � � � � � � � � �Tools/400 MIME Parser to HTTP API adapter
�CPY �/COPY LIBHTTP/QRPGLESRC,HTTPAPI_H � � � � � � � � � � � � � �HTTP-API Service Program
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R70 � � � � � � � � � �WSDL2RPG: HTTP API Header Extensions
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R71 � � � � � � � � � �WSDL2RPG: HTTP Debug Log
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R79 � � � � � � � � � �WSDL2RPG: Static Array
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R86 � � � � � � � � � �WSDL2RPG: Stream
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R87 � � � � � � � � � �WSDL2RPG: ManagedMemoryDataSource
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R88 � � � � � � � � � �WSDL2RPG: Public Helper Procedures
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R90 � � � � � � � � � �WSDL2RPG: AppMsg
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R94 � � � � � � � � � �WSDL2RPG: MultiRef
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R97 � � � � � � � � � �WSDL2RPG: eXpat Adapter
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R98 � � � � � � � � � �WSDL2RPG: UnMarshaller/Marshaller
�CPY �/COPY WSDL2RPG/QWSDL2RPG,PWSDL2R42 � � � � � � � � � �WSDL2RPG: User name and password
and the Marshall_toBinary64 is in the PWSDL2R98 copy member. � XmlData64Enc = Marshaller_toBinary64(xmlData);
XmlData is the XML-string.
And I get Marshaller_toB...... is not defined.
And another strange thing is that if I don't have
WSDL2RPG/QWSDL2RPG,PWDL2R98 instead QWSDL2RPG,PWDL2R98, I can't browse
the copy member.
Kjartan ��r Guðmundsson
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------