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

Re: WSDL2RPG Failing - WSDL2RPG/WSDL2R01.cbElementStart (Stmt: 231000) : Type must be 'anyType'..



Gaurav,

Unfortunately you cannot create a stub with 1.15.8 and run it with an older runtime environment. The stub program links service program WSDL2RPGRT, which provides the services that are needed at runtime. Therefore it is strongly not recommended to run a newer (1.15.8) stub with an older (1.6) WSDL2RPGRT service program. It might work, but it is definitely not guaranteed to work.

The WSDL2RPGRT service program links BASICS1 and a bunch of other service programs which all might have changed.

Please refer to FAQ "What service programs are needed at runtime" to see the complete list of service programs.

The other way around is possible. You can generate a stub with 1.6 and run it with a newer WSDL2RPGRT service program. But of course it is strongly recommended to test the existing stubs with a newer environment before moving them to production.

You should also now that starting with 1.14 the date and time marshallers have been changed to respect the timezone portion of all date, time and timestamp values. If your web services do not have date, time or timestamp values or if your web services connect to server in the same timezone, you can safely ignore that. Otherwise you should test it.

Regards,

Thomas.

Am 16.07.2013 18:52, schrieb Gupta, Gaurav (GE Capital, non-ge):
Thomas,
This installation of the tool does not need to happen in Production. I mean I will install this tool in dev and create my stub and move this stub to production. Do I need additional objects as well be moved into production.

Thanks,
Gaurav



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Gupta, Gaurav (GE Capital, non-ge)
Sent: Tuesday, July 16, 2013 9:56 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: WSDL2RPG Failing - WSDL2RPG/WSDL2R01.cbElementStart (Stmt: 231000) : Type must be 'anyType'..

Hi Thomas,
Thanks for the response. Does this means I need to uninstall the current version and install the latest version or can both version reside. One more thing does WSDL2RPG has any impact on OS upgrade. There is a plan to upgrade the OS from V5R4 to V7R1.

Thanks,
Gaurav

Gaurav Gupta
Project Leader, GE(Contractor)
GE Capital
Rail Services

T:  +1 312-853-5536
D: *750-5536
C:  +1 847-337-1852
gaurav.gupta3@xxxxxx

161 N Clark St.
Chicago, IL  - 60601, USA

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas Raddatz
Sent: Tuesday, July 16, 2013 5:03 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: WSDL2RPG Failing - WSDL2RPG/WSDL2R01.cbElementStart (Stmt: 231000) : Type must be 'anyType'..

Gaurav,

I am sorry, but v1.6 was released in September 2008 and hence is far too old. If I remember correctly this problem has been fixed with v1.7.2, but I would not go with that version. It is also far to old:


Version 1.7.2 - 27.07.2009
--------------------------

Fixed:   Now initializing complex types to 'anyType' in case it does
           not have further type information, e.g.: <xsd:complexType
           name="Documentos"/>


Please download and install the current version 1.15.8 and give it a try.
If it generates a stub for your current wsdl file, and if you want to use it in production, please carefully test v1.15.8 with your existing stub modules. I am pretty sure that your old stub modules work with 1.15.8, but we all know Murphy's Law.

Regards,

Thomas.

Am 15.07.2013 23:52, schrieb Gupta, Gaurav (GE Capital, non-ge):
     Hi Thomas,

     I am trying to consume a WSDL file published from IBM Maximo using
     WSDL2RPG command. Current version is V1.6. I am getting the below
     error.


     WSDL2RPG URL('file:/gaurav/cars.wsdl') SRCFILE(TEST#N28/QMAXIMO)
     SRCMBR(WS

     1852)

     WSDL2RPG/WSDL2R01.cbElementStart (Stmt: 231000) : Type must be
     'anyType'..

     Message file WSDL2RPG in *LIBL not
     found.

     The call to main ended in error (C G D
     F).

     D

     The call to main ended in error (C G D
     F).

     D

     Library RBTCONLIB not found.

     Application error.  CPF2407 unmonitored by BASICS1 at
     statement

       0000054300, instruction
     X'0000'.


     Can you please suggest.


     Thanks,

     Gaurav



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