David

Thanks for the reply. I think I may have
misinterpreted the error. I'll reply on here if I have
a solution/further problems.

Essentially, I'm using WSDC's program call wizard to
generate a java bean to remotely call an iSeries RPG
program. The program call wizard actually generates 2
beans ( if you select the option to set the bean up as
a web service ). One bean is named xxServices and one
is named xxResult ( xx is the name chosen for the bean
)

Now, if I run the Web Services wizard over this web
project and select to create a test client, the test
client falls over trying to compile Result.jsp as it
can't find the xxResult class. I initially interpreted
this as SOAP not having a serializer for the xxResult
object, but on closer investigation of the generated
beans, it never needs one.

If I write the java bean myself the web services
wizard runs just fine as there is no xxResult bean.

I've got some things to try before I post the code and
waste anyone's time.

Regards

Niall

______________________________________________________

Today's Topics:

   1. Re: WDSC generated PCML classes and SOAP
 (David Morris)
 
 
----------------------------------------------------------------------
> 
> message: 1
> date: Wed, 20 Aug 2003 11:40:34 -0600
> from: "David Morris" <David.Morris@xxxxxxxxxxxxx>
> subject: Re: WDSC generated PCML classes and SOAP
> 
> Niall,
> 
> I tried to generate an example to understand what 
> you are starting with and realized that I can't just
> 
> start with a pcml document. Can you post the 
> relevant parts of your serializer and generated 
> class? I suspect that you could use reflection or 
> class generation through something like cglib but 
> without seeing what you are working with it is 
> difficult to know.
> 
> David Morris
> 
> >>> niallsemail@xxxxxxxxx 8/19/2003 8:15:07 PM >>>
> All 
> 
> After a week or so of writing java classes that use
> PCML documents to do remote calls to iSeries RPG
> programs, I started making them available as SOAP
> services on Tomcat. This was all proof of concept
> work. 
> 
> Now, the way forward from here was to start using
> the
> development tools in WDSC to generate as much as
> possible as it also allows you to package the whole
> project up into a convenient EAR for deployment on
> Websphere. 
> 
> I can use the java classes I originally wrote, using
> generated PCML documents and can then create a web
> service out of the project. Using the test client
> that
> is ( optionally ) generated the web service is
> consumed and returns the expected results from the
> RPG
> program on the iSeries. 
> 
> However, WDSC has an iSeries Program Call Wizard,
> which in isolation is brilliant. However when it
> generates the java class for the remote RPG call, it
> also generates an additional class call xxResult (
> where 'xx' is the name of the generated java class
> which accesses the iSeries. ) 
> 
> The generated class uses one of these xxxResult
> objects to return the data from the iSeries. Works
> very well in isolation, but there is no standard
> SOAP
> serializer for the xxxResult objects. 
> 
> This means I have to write my own serializer for
> each
> xxxReturn class that is generated. Not that keen. 
> 
> Has anyone else come across this and found a
> workaround ? Apart from this problem I can use the
> IDE
> to generate virtually everything I need to turn a
> legacy RPG program into a web service. 
> 
> As I said, I can write and build everything myself
> as
> a workaround, but if there's an easier way....... 
> 
> Regards 
> 
> Niall 
> 
> 
> ------------------------------
> 
> _______________________________________________
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) digest list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
> 
> 
> 
> End of JAVA400-L Digest, Vol 1, Issue 780
> ***************************************** 

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.