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

RE: WSDL2RPG



Thomas,

Thank you so much for looking into this, I appreciate your time.  

Nanette

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
thomas.raddatz@xxxxxx
Sent: Tuesday, December 06, 2011 1:24 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: WSDL2RPG


Nanette,

First I changed the current beta (not yet available for the public) to
recognize and ignore recursion. Then I could use the built-in parameter
structure visualizer to create an output file showing the structure of the
web service parameters.


Having finished that it was not difficult to see that the recursion happens
at "CaseType" which is part of a <choice> as part of "CourtEventCase". The
complete stack of elements is:


 +- CaseType
 !    CaseAugmentation
 !      CaseCourtEvent
 !        CourtEventType
 !          CourtEventCase
 +----------- CaseType


I attached the output file for your information.


In case this recursion is intended, it is pretty difficult to change
WSDL2RPG to support it. First of all there is no way in RPG to use data
structures for recursion. The only way to get around that is to use dynamic
arrays. Second I had to change the way the request message is produced to
use procedure calls for each complex type.


I am sorry but there is no way to finish that in a reasonable time.


Regards,


Thomas.



ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 02.12.2011 17:40:49:

> Von: nschernecker@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Kopie: sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Datum: 02.12.2011 17:56
> Betreff: RE: WSDL2RPG
> Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> > Thomas,
> Thank you for looking into this and getting back to me so quickly!  I 
> will have to review the WSDL and see if I can find/understand the 
> recursion you mentioned.
> Thanks,
> > Nanette
> > -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> thomas.raddatz@xxxxxx
> Sent: Wednesday, November 30, 2011 8:27 AM
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: WSDL2RPG
> > > Nanette,
> > There are two problems with your wsdl file. The first problem is 
> > that
> WSDL2RPG did not yet know the 'AnySimpleType' schema type. That was 
> not that hard to fix in the latest beta. The second problem is that 
> there seems to be a recursion in your wsdl that I do not yet 
> understand and hence I have no idea how to fix that. All I know so far 
> is that the recursion most likely is between 'CourtEventCase' and
'CaseFiling'.
> > I never thought at recursion before and hence that might be 
> > difficult to
> fix. But first I have to understand the recursion itself.
> > Thomas.
> > > ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 29.11.2011 23:28:33:
> > > Von: nschernecker@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> > Kopie: sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > Datum: 30.11.2011 00:20
> > Betreff: WSDL2RPG
> > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
> > > Hi
> > > I am getting an error message when trying to generate the RPG stub 
> > > > > > using the
> > WSDL2RPG software.  I have downloaded and am using WSDL2RPG V1.14.1. 
> > > > I am getting the following "Pointer not set" error. > > > > Here 
> > are the
> details for the "Pointer not set" (MCH3601) error:
> > >                              Display Message Details > > Message ID .
.
> . . . . :   MCH3601       Severity . . . . . . . :   40
> > > Date sent  . . . . . . :   11/29/11      Time sent  . . . . . . :
> 13:18:46
> > > Message type . . . . . :   Escape
> > > >From . . . . . . . . . :   XXXXXX        CCSID  . . . . . . . . :
65535
> > > > > >From program . . . . . . . . . :   WSDL2RPG
> > >   From library . . . . . . . . :     WSDL2RPG
> > >   From module  . . . . . . . . :     WSDL2R50
> > >   From procedure . . . . . . . :     WSDL2R50_TypeDef_isNull
> > >   From statement . . . . . . . :     274600
> > > > > To program . . . . . . . . . . :   WSDL2RPG
> > >   To library . . . . . . . . . :     WSDL2RPG
> > >   To module  . . . . . . . . . :     WSDL2R50
> > >   To procedure . . . . . . . . :     WSDL2R50_TypeDef_isNull
> > >   To statement . . . . . . . . :     274600 > > > The source code
where
> I'm seeing the problem appears to be the > following lines from the 
> TypeDef_getReferencedType subprocedure in the
> > WSDL2R50 > source member:
> > >       dow (TypeDef_isUserDefined(tmpType) and >            not
> TypeDef_isArray(tmpType)); >            pTmpType =
BasicMap_get(hGlobalTypes
> >                         : TypeDef_getRefTypeKey(tmpType));
> >       enddo
> > > After 2 loops the tmpType is set to all(*) and it errors on the "dow"
> line.
> > Does anyone have any suggestions on what the issue might be?  I've > 
> > > attached a copy(with all pertinent information) of the WSDL.  Any help
is greatly appreciated.
> > Thanks,
> > > > > > > Nanette Schernecker
> > > Integrated Court Technologies
> > > 5314 County Road Z
> > > Spring Green, WI 53588
> > > (920) 342-2470
> > >  <mailto:sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> > nschernecker@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > > ICT-New-EmailSigLogo.jpg
> > > > > [Anhang "image001.jpg" gelöscht von Thomas Raddatz/OBI/DE] > > 
> > > > > > > > [Anhang > "WSDL2.xml" gelöscht von Thomas 
> > > > > Raddatz/OBI/DE] > > > > > > 
> > > > > --------------------------------------------------------------
> > > > > --
> > > > > -------
> > 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
> ----------------------------------------------------------------------
> -


--
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
-----------------------------------------------------------------------