[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: R: Install HTTPAPI
Mae culpa, my fault. I did not notice that you opted 'N' for "Would you
like to compile support for eXpat into HTTPAPI?".
The problem is that I did not test the install procedure with that
option set to 'N'. That is why I did not spend any thoughts at changing
XMLSTUBR4 properly.
Please find the proper version of XMLSTUBR4 attached. Replace your
version of XMLSTUBR4 and call the installer again.
@Scott: Sorry, but you need to update HTTPAPI to version 1.28 because
of my carelessness.
Regards,
Thomas.
Renato Toniolo <renato@xxxxxxxxxxxxx> hat am 19. Januar 2015 um
12:54 geschrieben:
Hi Thomas,
In my system, I have not found the object HTTPXMLR4.
Regards,
Renato.
-----Messaggio originale-----
Da: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Per conto di Thomas
Raddatz
Inviato: mercoled�4 gennaio 2015 19.41
A: HTTPAPI and FTPAPI Projects
Oggetto: Re: R: Install HTTPAPI
Renato,
All three procedures are sitting in module HTTPXMLR4. The only
reason for
the link errors that I can see is that the linker tried to link an
old
version of HTTPXMLR4.
Please do a "WRKOBJ *LIBL/HTTPXMLR4" to check that and double check
your
library list.
Of course the linker must find the latest version of module
HTTPXMLR4.
Regards,
Thomas.
Am 14.01.2015 16:47, schrieb Renato Toniolo:
> Hi Thomas,
>
> Sorry for the inconvenience.
> I corrected the module ENCRYPTR4.
> Now the module ENCRYPTR4 is compiled but I received the following
error again:
>
> *LIBL/QSRVSRC.HTTPAPI1 line 126: ***ERROR undefined symbol.:
> 'HTTP_PARSER_INIT'
> *LIBL/QSRVSRC.HTTPAPI1 line 127: ***ERROR undefined symbol.:
> 'HTTP_PARSER_PARSECHUNK'
> *LIBL/QSRVSRC.HTTPAPI1 line 128: ***ERROR undefined symbol.:
> 'HTTP_PARSER_FREE'
>
> The compilation of the bind language has not been successful:
> it were 3 errors and 1 warnings.
> The service program HTTPAPIR4 was not created.
>
> Error function. CPF5D05 not monitored by INSTALL to
> high level instruction 42900, instruction X'0457 '.
>
> Received CPF5D05 by INSTALL from the specific 42900. (C D I R)
>
> Thank you for your help
>
> Regards,
>
> Renato
>
> ________________________________________
> Inizio: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] per conto di Thomas Raddatz
[thomas.raddatz@xxxxxx]
> Inviato: mercoled�4 gennaio 2015 12.12
> Fine: 'HTTPAPI and FTPAPI Projects'
> Oggetto: Re: Install HTTPAPI
>
> Renato,
>
> The problem is that your comments (//) starts a position 7 of the
source lines. Please ensure that positions 6-7 are blank. Otherwise
the compiler tries to treat interpret the "/" at position 7 as the
beginning of a compiler directive, such as a "/copy" or a "/eject".
>
> This is how you disabled the call to 'Qc3EncryptData':
>
> FMT ** ...+... 1 ...+... 2 ...+... 3 .
> 0306.00 // Qc3EncryptData(i_string
>
> And this it how it should be to make the compiler feel good:
>
> FMT ** ...+... 1 ...+... 2 ...+... 3 .
> 0306.00 //Qc3EncryptData(i_string
>
> The first "/" must be on position 8 and not at position 7. I get
the same compiler error messages, when I do it your way.
>
> Regards,
>
> Thomas.
>
> -----Urspr�he Nachricht-----
> Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Renato
Toniolo
> Gesendet: Mittwoch, 14. Januar 2015 11:33
> An: HTTPAPI and FTPAPI Projects
> Betreff: R: R: R: Install HTTPAPI
>
> Hi Thomas,
>
> I inform you that I have not found the program 5722AC3 between
programs list that I can install for V5R2M0.
> I then proceeded as your instructions but I received the error
again.
>
> I send you the following listings:
> ENCRYPTR4_CMP : Comlipation list
> ENCRYPTR4_DMP : Dump
> ENCRYPTR4_PGM : program changes
>
> I'm sorry because they are in Italian language. I hope you can
understand or translate, otherwise let me know.
>
> Thank you for your help
>
> Regards,
>
> Renato
> ________________________________________
> Inizio: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] per conto di Thomas Raddatz
[thomas.raddatz@xxxxxxxxxxx]
> Inviato: luned�2 gennaio 2015 17.52
> Fine: HTTPAPI and FTPAPI Projects
> Oggetto: Re: R: R: Install HTTPAPI
>
> Renato,
>
> I cannot help you only knowing the final error message RNS9309. At
least I need to know the compiler error message that shows up in the
compiler listing. The best thing was if I had the compiler listing.
>
> Nevertheless I just download and installed HTTP API 1.27 from
Scott's web page. Then I disabled the can to 'Qc3EncryptData' and
successfully called the installer again.
>
> Program: HTTPAPIR4 Library: LIBHTTP Module: ENCRYPTR4
> 1361 1360 clear errCode;
> 1362 1361
> 1363 1362 //Qc3EncryptData(i_string // Clear data
> 1364 1363 // : %len(i_string) // Length ...
> 1365 1364 // : 'DATA0100' // Clear ...
> 1366 1365 // : algd0200 // Algor ...
> 1367 1366 // : 'ALGD0200' // Algor ...
> 1368 1367 // : keyd0200 // Key ...
> 1369 1368 // : 'KEYD0200' // Key ...
> 1370 1369 // : '0' // Crypt ...
> 1371 1370 // : '' // Crypt ...
> 1372 1371 // : tmpEncrypted // Encry ...
> 1373 1372 // : %size(tmpEncrypted) // Length ...
> 1374 1373 // : encryptedLen // Length ...
> 1375 1374 // : errCode); // Error code
> 1376 1375
>
> Please find my changes attached for your review.
>
> Regards,
>
> Thomas.
>
> Am 12.01.2015 13:06, schrieb Renato Toniolo:
>> Hi Thomas,
>>
>> I have disabled the call to 'Qc3EncryptData' in procedure DES()
of
>> module 'ENCRYPTR4' but I get the following error when I run the
INSTALL command:
>>
>> The module ENCRYPTR4 was not created in the library LIBHTTP.
>> Error function RNS9309 not monitored by INSTALL to high level
>> instruction 37900, instruction X'03CE '.
>>
>> Thank you if you can help me
>>
>> Regards,
>>
>> Renato
>> ______________________________________
>> Inizio: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>> [ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] per conto di Thomas
Raddatz
>> [thomas.raddatz@xxxxxxxxxxx]
>> Inviato: sabato 10 gennaio 2015 17.22
>> Fine: HTTPAPI and FTPAPI Projects
>> Oggetto: Re: R: Install HTTPAPI
>>
>> Renato,
>>
>> Sorry for the inconveniences. It is the new NTLM feature that
requires
>> 'Qc3EncryptData' for DES encryption.
>>
>> If you cannot install the "Cryptographic access provider", you
may
>> consider to disable the call to 'Qc3EncryptData' in procedure
DES() of
>> module 'ENCRYPTR4':
>>
>> // Qc3EncryptData(i_string // Clear data
>> // : %len(i_string) // Length of clear data
>> // : 'DATA0100' // Clear data format name
>> // : algd0200 // Algorithm description
>> // : 'ALGD0200' // Algorithm description format ...
>> // : keyd0200 // Key description
>> // : 'KEYD0200' // Key description format name
>> // : '0' // Cryptographic service provider
>> // : '' // Cryptographic device name
>> // : tmpEncrypted // Encrypted data
>> // : %size(tmpEncrypted) // Length of area provided for ...
>> // : encryptedLen // Length of encrypted data ...
>> // : errCode); // Error code
>>
>> That should do the trick.
>>
>> Scott, do you think we should change the installer to ask the
user
>> whether or not he wants to add NTLM support? Actually we only had
to
>> add a compiler condition to disable the call to 'Qc3EncryptData'.
>>
>> Regards,
>>
>> Thomas.
>>
>> Am 10.01.2015 16:43, schrieb Renato Toniolo:
>>> Hi Bryan,
>>>
>>> I verify the availability of licensed program. Thanks a lot for
the
>>> information.
>>>
>>> Best regards Renato Toniolo
>>>
>>> ________________________________________ Inizio:
>>> ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>>> [ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] per conto di Bryan Dietz
>>> [bryandietz@xxxxxxxxx] Inviato: sabato 10 gennaio 2015 16.19
Fine:
>>> HTTPAPI and FTPAPI Projects Oggetto: Re: Install HTTPAPI
>>>
>>> If memory serves correctly you will need the licensed program
5722AC3
>>> Cryptographic access provider. It is not auto installed but at
the
>>> time was a no charge feature.
>>>
>>>
>>> -- Bryan
>>>
>>>> On Jan 10, 2015, at 10:11 AM, Renato Toniolo
<renato@xxxxxxxxxxxxx>
>>>> wrote:
>>>>
>>>> Hi Scott,
>>>>
>>>>
>>>> I am Renato Toniolo from Italy. I installed and used the
LIBHTTP in
>>>> a Systemi V5R4M0
>>>>
>>>> with much success and I thank you very much. Now I need to
install
>>>> the Version 1.27 in a Systemi V5R2M0
>>>>
>>>> with the following parameters:
>>>>
>>>>
>>>> Would you like to build the sample programs? Y
>>>>
>>>> Would you like to build HTTPAPI with SSL support? N
>>>>
>>>> Would you like to build eXpat from source code? N
>>>>
>>>> - This requires a working ILE C compiler.
>>>>
>>>> - This requires the System Openness Includes library
>>>>
>>>> - Select N here if you have a pre-built copy of eXpat in
>>>>
>>>> LIBHTTP.
>>>>
>>>> Would you like to compile support for eXpat into HTTPAPI? N
>>>>
>>>> - This requires a V5R1 or later release of the ILE RPG compiler
>>>>
>>>> Library name for HTTPAPI source: *LIBL
>>>>
>>>> Library name for HTTPAPI objects: LIBHTTP
>>>>
>>>> At runtime, use *LIBL to find HTTPAPI? Y (Y=Yes, N=No)
>>>>
>>>>
>>>>
>>>> But I had the following error:
>>>>
>>>>
>>>> Definition not found for symbol 'Qc3EncryptData'.
>>>>
>>>> The service program HTTPAPIR4 was not created.
>>>>
>>>> Error function CPF5D05 not monitored by INSTALL
>>>>
>>>> to high level instruction 42900, instruction X'0457'.
>>>>
>>>>
>>>>
>>>> I ask you if you can help me.
>>>>
>>>>
>>>> thanks a lot
>>>>
>>>>
>>>> Best regards
>>>>
>>>> Renato Toniolo
>>>>
--------------------------------------------------------------------
>>>> ---
>>>>
>>>>
>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>>>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>>>
--------------------------------------------------------------------
>>>> ---
>>>
>>>>
>>
--------------------------------------------------------------------
--
>> -
>>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>>
--------------------------------------------------------------------
-
>>> --
>>>
>>>
>>
--------------------------------------------------------------------
--
>> -
>>> This is the FTPAPI mailing list. To unsubscribe, please go to:
>>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>>
--------------------------------------------------------------------
-
>>> --
>>>
>>
--------------------------------------------------------------------
--
>> - This is the FTPAPI mailing list. To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>>
--------------------------------------------------------------------
--
>> -
>>
--------------------------------------------------------------------
--
>> - 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
>
--------------------------------------------------------------------
---
>
--------------------------------------------------------------------
---
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
>
--------------------------------------------------------------------
---
>
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
H NOMAIN
/define HTTP_ORIG_SOAPACTION
/copy qrpglesrc,httpapi_h
/copy qrpglesrc,private_h
D setErrorNotSupported...
D PR
P http_url_get_xml...
P B export
D http_url_get_xml...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peModTime Z const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peModTime Z const options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_url_post_xml...
P B export
D http_url_post_xml...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D pePostData * value
D pePostDataLen 10I 0 value
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_url_post_stmf_xml...
P B export
D http_url_post_stmf_xml...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D pePostFile 32767A varying const options(*varsize)
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_parse_xml_stmf...
P B export
D http_parse_xml_stmf...
D PI 10I 0
D peFile 32767A varying const options(*varsize)
D peCCSID 10I 0 value
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
c callp setErrorNotSupported()
c return -1
P E
P http_get_xmltf...
P B export
D http_get_xmltf...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peModTime Z const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peModTime Z const options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_post_xmltf...
P B export
D http_post_xmltf...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D pePostData * value
D pePostDataLen 10I 0 value
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_post_stmf_xmltf...
P B export
D http_post_stmf_xmltf...
D PI 10I 0
D peURL 32767A varying const options(*varsize)
D pePostFile 32767A varying const options(*varsize)
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
D peTimeout 10I 0 value options(*nopass)
/if defined(HTTP_ORIG_SHORTFIELD)
D peUserAgent 64A const options(*nopass:*omit)
D peContentType 64A const options(*nopass:*omit)
D peSOAPAction 64A const options(*nopass:*omit)
/else
D peUserAgent 16384A varying const
D options(*nopass:*omit)
D peContentType 16384A varying const
D options(*nopass:*omit)
D peSOAPAction 16384A varying const
D options(*nopass:*omit)
/endif
c callp setErrorNotSupported()
c return -1
P E
P http_xmlns B export
D http_xmlns PI
D peEnable 1N const
c callp setErrorNotSupported()
P E
P http_XmlReturnPtr...
P B export
D http_XmlReturnPtr...
D PI
D peEnable 1N const
c callp setErrorNotSupported()
P E
P http_XmlStripCRLF...
P B export
D http_XmlStripCRLF...
D PI
D peEnable 1N const
c callp setErrorNotSupported()
P E
P http_parser_switch_cb...
P B export
D http_parser_switch_cb...
D PI 10I 0
D peUsrDta * value
D peStartProc * value procptr
D peEndProc * value procptr options(*nopass)
c callp setErrorNotSupported()
c return -1
P E
P http_parser_get_start_cb...
P B export
D http_parser_get_start_cb...
D PI * procptr
c callp setErrorNotSupported()
c return *null
P E
P http_parser_get_end_cb...
P B export
D http_parser_get_end_cb...
D PI * procptr
c callp setErrorNotSupported()
c return *null
P E
P http_parser_get_userdata...
P B export
D http_parser_get_userdata...
D PI *
c callp setErrorNotSupported()
c return *null
P E
P http_parse_xml_string...
P B export
D http_parse_xml_string...
D PI 10i 0
D peString * value
D peLen 10I 0 value
D peCCSID 10I 0 value
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
c callp setErrorNotSupported()
c return -1
P E
P HTTP_nextXmlAttr...
P B EXPORT
D HTTP_nextXmlAttr...
D PI 1N
D attrs * dim(32767)
D const options(*varsize)
D num 10i 0
D name 1024a varying
D val 65535a varying
c callp setErrorNotSupported()
c return *OFF
P E
P http_EscapeXml B export
D http_EscapeXml PI 4096a varying
D peString 4096a varying const
c callp setErrorNotSupported()
c return peString
P E
P http_XmlReturnUCS...
P B export
D http_XmlReturnUCS...
D PI
D peEnable 1N const
c callp setErrorNotSupported()
P E
P http_parser_init...
P B export
D http_parser_init...
D PI
D peCCSID 10I 0 const options(*omit)
D peStartProc * value procptr
D peEndProc * value procptr
D peUsrDta * value
c callp setErrorNotSupported()
P E
P http_parser_parseChunk...
P B export
D http_parser_parseChunk...
D PI 10I 0
D peFD 10I 0 value
D peData * value options(*string)
D peLength 10I 0 value
c callp setErrorNotSupported()
c return -1
P E
P http_parser_free...
P B export
D http_parser_free...
D PI 10I 0
D peUpdError N const options(*nopass: *omit)
c callp setErrorNotSupported()
c return -1
P E
P setErrorNotSupported...
P B
D pi
c callp seterror(HTTP_NOTSUPP
c : 'HTTPAPI was not built '
c + 'with XML support.')
P E
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------