×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.





It would be interesting to know how much work would be involved in changing
the JTOpen code to allow for full interoperability with RPG code. That would
REALLY make PCML a huge benefit because really, any language could implement
the PCML interface (i.e. PHP, .NET, Perl, Java). Granted I don't know how
the invocation works... Anyone?

It is on my todo list to dig into JTOpen more but I just haven't gotten
around to it.  I did download the source though, so I am part way there :-)

 Aaron Bartell

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of Rick.Chevalier@xxxxxxxxxxxxxxx
Sent: Friday, April 21, 2006 4:18 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Error using web service wizard on RPG module source


San,

I found it.  The error is shown below.  I can change the program accordingly
but I do have a question.  Why can't I define the type of return value?
Being a novice with web services I probably just missed something somewhere.
For the program in question the return value is defined as 10A in the RPG
procedure.  Why is it wanting a 4-byte integer?

<program name="ADDPARMREC" entrypoint="ADDPARMREC" returnvalue=" ">
      <!-- Error: return value must have type="int" and length="4".  (E)
-->

Thanks for the help.

Rick

> -----Original Message-----
> From: wdsci-l-bounces@xxxxxxxxxxxx
> [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of San Su
> Sent: Friday, April 21, 2006 3:58 PM
> To: Websphere Development Studio Client for iSeries
> Subject: Re: [WDSCI-L] Error using web service wizard on RPG module 
> source
>
> You can find this file in
> "Your_workspace\.metadata\.plugins\com.ibm.etools.iseries.javatools".
> There should be a Your_RPG.pcml file there that contains the 
> definition of the program. My experience with this error is that the 
> RPG program has parameters defined with data types
> (eg: Time) that are not compatible with PCML.
>
> _________________________________________
> San Su
> IBM Toronto Labs
> email: sansu@xxxxxxxxxx

Privileged and Confidential.  This e-mail, and any attachments there to, is
intended only for use by the addressee(s) named herein and may contain
privileged or confidential information.  If you have received this e-mail in
error, please notify me immediately by a return e-mail and delete this
e-mail.  You are hereby notified that any dissemination, distribution or
copying of this e-mail and/or any attachments thereto, is strictly
prohibited.

--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.