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

Re: Invaldi handle passed



I eventually managed to download the wsdl with Firefox and I could
reproduce and fix the problem.

Please open member WSDL2RPG and replace the following code of procedure
Operation_changeToRpcStyle():

     D respMessage     DS                  likeds(wsdl_message_t ) inz
      * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      /FREE

         initializeModule();

         respMessage = Operation_getResponseMessage(i_operation);
         if (not Message_isNull(respMessage));

            Logger_debug(g_hLogger:
                         'Changing operation response message +
                          to ''rpc'' style ...');

            pMessage = Controller_getMessage(Message_getQName(respMessage));

            changeMessageToRpcStyle(
                  i_operation: pMessage:
cGENERATOR_RPC_RESPONSE_NAME_SUFFIX);

            Logger_debug(g_hLogger:
                         '... operation response message +
                          changed to ''rpc'' style ...');
         endif;

         // -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

You find the complete member in the attached zip file and you may
completely replace it, provided you use at least WSDL2RPG v1.16.0.

The problem was that the procedure did not properly check whether or not
there is a response message.

Thomas.

Am 10.06.2015 um 10:05 schrieb kjartan@xxxxx:
>    Hi Thomas,
>            It is a public Web service, and the URL is
>    [1]https://demo.timian.is/is/timian/wsdl,
>    Thank you very much,
>    Kjartan Þór Guðmundsson
>    Tölvudeild
>    Sláturfélag Suðurlands
>    sími 575 6014
>    Innihald þessa pósts er trúnaðarmál og aðeins ætlað því fyrirtæki
>    og/eða einstaklingi sem hann er stílaður á.
>    Ef um mistök í póstsendingu er að ræða ertu vinsamlega beðin(n) að láta
>    sendanda vita og eyða póstinum hið fyrsta.
> 
>    From:    Thomas Raddatz <thomas.raddatz@xxxxxxxxxxx>
>    To:      HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
>    Date:    09.06.2015 23:02
>    Subject: Re: Invaldi handle passed
>    Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>      __________________________________________________________________
> 
>    Hi Kjartan,
>    At the moment I'm at a Common conference, but I gladly look at the
>    error
>    after I'm back home. Please send the wsdl file along with all
>    referenced
>    files (import element) to me. Otherwise I cannot reproduce the error.
>    Just in case it is a public Web service, that I can reach from the
>    Internet, all I need is the URL of the wsdl file.
>    Regards,
>    Thomas
>    Gesendet mit AquaMail für Android
>    [2]http://www.aqua-mail.com
>    Am 9. Juni 2015 19:20:15 schrieb kjartan@xxxxx:
>    > Hi,
>    >         I've been using WSDL2RPG for some time and it is great.  Now
>    I
>    > need to connect to [3]https://demo.timian.is/is/timian/wsdl
>    webservice.
>    > Yesterday I got an error and Thomas Radditz suggested that I would
>    upgrade
>    > to the newest version because I need the TLS V1.2 support.  Before I
>    > upgraded I got an error straight away, but after the upgrade and
>    change in
>    > the QSSLPCL (adding the TLSV1.2 etc)  I can now select which service
>    I
>    > would like to generate.  But the generator stops with an error,
>    Invalid
>    > handle passed to procedure WSDL2R53_Message_getQName, and the debug
>    log is
>    > 1086 pages long.  And now I'm stuck and I really need you help.
>    >
>    > Kindest regards,
>    >
>    > Kjartan Þór Guðmundsson
>    >
>    >
>    >
>    > ----------
>    >
>    -----------------------------------------------------------------------
>    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
>    > [4]http://www.scottklement.com/mailman/listinfo/ftpapi
>    >
>    -----------------------------------------------------------------------
>    >
>    -----------------------------------------------------------------------
>    This is the FTPAPI mailing list.  To unsubscribe, please go to:
>    [5]http://www.scottklement.com/mailman/listinfo/ftpapi
>    -----------------------------------------------------------------------
> 
> References
> 
>    1. https://demo.timian.is/is/timian/wsdl
>    2. http://www.aqua-mail.com/
>    3. https://demo.timian.is/is/timian/wsdl
>    4. http://www.scottklement.com/mailman/listinfo/ftpapi
>    5. 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
> -----------------------------------------------------------------------
> 

Attachment: WSDL2R52.zip
Description: Zip archive

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