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]

Reply via email to