Jeff, Thanks to your input and something similar from Doug Davis, I was able to get the versions of the Admin service and the AdminClient from the alpha3 build and work through all the problems I was having, and I've now been able to get passing Document objects as parameters and retun values to work.
Looking at the message example and the current Admin service, I notice a difference between them and the alpha3 code: currently, the code accepts and returns an array of Element objects instead of a single Document object. Is that what I should plan on doing in future releases? Or is that just an alternative way of passing XML? Thanks again, Steve "Gunderson, Jeff" wrote: > Steve, > > Sorry, I should have warned you. I not know if the nightly builds are > generally stable. I have been using them to develop a messaging service and > they have been stable for me. The last build I got was 2/20. > > Jeff > > -----Original Message----- > From: Steven Gollery [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 26, 2002 12:06 PM > To: [EMAIL PROTECTED] > Subject: Re: web service returning XML Document > > Jeff, > > It looks like the message sample doesn't work with the December alpha > release: > when I deploy using the supplied wsdd file and then try to access the > service, > I get an exception that no "methodName" option was configured for the > service > 'MessageService'. When I change the wsdd file to use "methodName" instead of > allowedMethods, I get > > Exception in thread "main" java.lang.NoSuchMethodException: Tried > class:samples.message.MessageService , Methodname:echoElements > > which is what I've been getting in my own attempts. > > I would like to continue to use the Dec. alpha 3 release, but if I can't get > it to work with MSG-style services, that's a problem for me. > > Is the curent nightly build stable enough that it would be reasonable for me > to switch from alpha 3? Or is there something I can do to get alpha3 to work > with MSG services? > > Thanks for the help, > > Steve Gollery > [EMAIL PROTECTED] > > "Gunderson, Jeff" wrote: > > > You will find a message sample in the nightly builds. It is not available > > in the > > December alpha release. > > > > Jeff > > > > -----Original Message----- > > From: Steven Gollery [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 25, 2002 8:33 PM > > To: [EMAIL PROTECTED] > > Subject: web service returning XML Document > > > > I understand in principle the concepts of document-centric (as distinct > > from RPC-oriented) SOAP services, but I'm having trouble getting them to > > work in practice. The only sample code I've been able to find is in > > "Building Web Services with Java", pp 219-223. The only unfortunate > > aspect of this generally very useful book is that the sample code is > > based on a previous release of Axis, and in this case, the code relies > > on several now-deprecated classes. > > > > Can anyone point me to some sample code that passes XML Document objects > > instead of using RPC-style parameters and return values, and doesn't use > > any deprecated classes? > > > > I could also use some code that demonstrates invoking a service that has > > no parameters. > > > > Thanks in advance, > > > > Steven Gollery > > [EMAIL PROTECTED]
