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

Re: WDSL2RPG



Magne,

I am not sure whether we are allowed to discuss problems related to WSDL2RPG on this list. It is a 
question that Scott has to answer. I do not have a mailing list and I do not have any options to set 
up a mailing list. I suggest to contact me by e-mail as long as we do not know what Scott thinks about it.

Regarding to the problem I am not really surprised about problem reports like yours. I am relatively 
new to WSDL files. Since I do not know the statement in WSDL2R01 that (most likely) did the call to 
BASICS1, all I can do is just guess that WSDL2RPG could not find a user defined type in its types list.

 >    How do I turn on the write to a debug file?

WSDL2RPG uses my LOG4RPG utility to write a debug log. The most comfortable why of working with the 
debug log is to use CHAINSAW. But of course you can also direct the output to a printer file or an IFS 
stream file. You can download a help file with a detailed description of LOG4RPG from my Freeware page 
at http://www.tools400.de/English/Freeware/Service_Programs/Log4rpg/log4rpg.html.

In a few words you can turn on logging this way:

1. Open the member LOG4RPG (type PROPERTIES)
2. Change log4rpg=off to log4rpg=on
3. Put a '#' sign in front each line that starts with 'log4rpg.logger.WSDL2RPG.client'
4. Do not touch 'log4rpg.logger.WSDL2RPG.eXpatAdapter' because you do not really want
    to see the debug messages of this module.
5. Change 'log4rpg.rootLogger=ERROR, chainsaw' to 'log4rpg.rootLogger=DEBUG, file'.

Now you told LOG4RPG to use the 'file' appender that is defined almost at the end of member LOG4RPG. 
By default the log messages are written to '/tmp/wsdl2rpg.log'. You can change that by changing the 
following line:

    log4rpg.appender.file.path=/tmp/wsdl2rpg.log'

You also told LOG4RPG to log all messages of type DEBUG. That is the finest log level you can use.

I already received a problem report that might be similar to yours. Hopefully I can get into it this 
weekend.

Thomas.


magne@xxxxxxxxx schrieb:
>    Hi Thomas,
> 
>    Please tell me if this is the wrong list for this.....
> 
>    I tried your WSDL2RPG utility on a WebSphere created wsdl file and got
>    this error:
> 
>    WSDL2RPG URL('http://80.203.170.170/marianne/GETCUSTINFServices.wsdl')
>    SRC
>    FILE(TENNANT/QRPGLESRC)
>    SRCMBR(GETCUSTR)
>    Pointer not set for location
>    referenced.
>    Funksjonsfeil. MCH3601  BASICS1 in stm 0000141200,
>      instruksjonen
>    X'0000'.
>    The call to main ended in error (C G D
>    F).
>    The call to main ended in error (C G D
>    F).
> 
>    Do you know what's wrong?
> 
>    See the enclosed dump.
> 
>    How do I turn on the write to a debug file?
> 
>    Best regards,
> 
>    Magne
> 
>    >-----Original Message-----
>    >From: Thomas Raddatz [mailto:thomas.raddatz@xxxxxxxxxxx]
>    >Sent: Sunday, December 2, 2007 01:00 PM
>    >To: 'HTTPAPI and FTPAPI Projects'
>    >Subject: Re: WDSL
>    >
>    >Bruce,
>    >
>    >there is no native iSeries WSDL file editor due to the lack of a 5250
>    GUI. However you can use the
>    >editor that is shipped with WDSC or you may download the "Eclipse
>    Europa Java EE Developers" edition.
>    >It also includes a WSDL editor.
>    >
>    >WDSC can generate a Java wrapper for your RPG programs and then based
>    on the Java wrapper a Web
>    >Service (WSDL file). There is not yet support for generating a RPG
>    client stub for a given Web
>    >Service. That is what the WSDL2RPG utility (I am working on) is
>    supposed to do.
>    >
>    >Thomas.
>    >
>    >
>    >Bruce Reynolds schrieb:
>    >> Hi Scott,
>    >>
>    >>
>    >> I'm new to your forum so I don't know if this is where I post my
>    >> question or not but here goes. I'm needing to know if there is a
>    WDSL
>    >> editor available on the iSeries or what support there currently is
>    on
>    >> the iSeries. I saw an email talking about a WSDL2RPG utility but
>    I'm
>    >> sure what this is or where to find information about it.
>    >>
>    >>
>    >> Thanks,
>    >>
>    >> Bruce
>    >>
>    >>
>    >>
>    >>
>    ----------------------------------------------------------------------
>    --
>    >>
>    >>
>    ----------------------------------------------------------------------
>    -
>    >> 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
-----------------------------------------------------------------------