You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Frank van Lingen <fv...@SDSC.EDU> on 2002/03/05 19:03:43 UTC

problem running the message example of the nightlybuild

Hi,

I am trying to run the message example of the nightlybuild version. I
get an error message when I run the client:

Exception in thread "main" no 'methodName' option was configured for
the service'MessageService'

I changed the name attribute of the parameter element from
allowedMethods to methodName in the wsdd file . this resulted in the
following error when running the client:

Exception in thread "main" java.lang.NoSuchMethodException: Tried
class:samples.message.MessageService , Methodname:echoElements

It suggests it can't find the method echoElements while I deployed the
service.

After that I put the following line of code in the client:

call.setOperationName( "echoElements" );

This resulted in the same error.

Has anybody had similar problems with this example? 

Frank van Lingen



Re: problem running the message example of the nightlybuild

Posted by Stan Jordan <sk...@worldnet.att.net>.
Frank...
The messaging example works fine.  Make sure to copy the *new* axis
directory to %TOMCAT%\webapps because the example will not work with the
alpha3 jar files.
Cheers.
Stan

----- Original Message -----
From: "Frank van Lingen" <fv...@SDSC.EDU>
To: <ax...@xml.apache.org>
Sent: Tuesday, March 05, 2002 11:03 AM
Subject: problem running the message example of the nightlybuild


> Hi,
>
> I am trying to run the message example of the nightlybuild version. I
> get an error message when I run the client:
>
> Exception in thread "main" no 'methodName' option was configured for
> the service'MessageService'
>
> I changed the name attribute of the parameter element from
> allowedMethods to methodName in the wsdd file . this resulted in the
> following error when running the client:
>
> Exception in thread "main" java.lang.NoSuchMethodException: Tried
> class:samples.message.MessageService , Methodname:echoElements
>
> It suggests it can't find the method echoElements while I deployed the
> service.
>
> After that I put the following line of code in the client:
>
> call.setOperationName( "echoElements" );
>
> This resulted in the same error.
>
> Has anybody had similar problems with this example?
>
> Frank van Lingen
>
>


Re: problem running the message example of the nightlybuild

Posted by Steven Gollery <sg...@cadrc.calpoly.edu>.
Frank,

Are you running the nightly build, or alpha 3?

Steven Gollery

Frank van Lingen wrote:

> Hi,
>
> I am trying to run the message example of the nightlybuild version. I
> get an error message when I run the client:
>
> Exception in thread "main" no 'methodName' option was configured for
> the service'MessageService'
>
> I changed the name attribute of the parameter element from
> allowedMethods to methodName in the wsdd file . this resulted in the
> following error when running the client:
>
> Exception in thread "main" java.lang.NoSuchMethodException: Tried
> class:samples.message.MessageService , Methodname:echoElements
>
> It suggests it can't find the method echoElements while I deployed the
> service.
>
> After that I put the following line of code in the client:
>
> call.setOperationName( "echoElements" );
>
> This resulted in the same error.
>
> Has anybody had similar problems with this example?
>
> Frank van Lingen