Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7953377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:08:39+00:00 2026-06-04T03:08:39+00:00

I am trying to implement a simple example in axis2. I created the Service

  • 0

I am trying to implement a simple example in axis2. I created the Service class and xml, generated aar and exploded in services directory. I can notice my service and operation sayHello, but when testing the webservice it says no such method sayHello in HelloAxisService which is my class.

Here is the services.xml

<service name="HelloAxisService">

<description>Hello Axis service</description>

        <messageReceivers>
   <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
                     class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>

    <parameter name="ServiceClass">com.my.axis.HelloAxisService</parameter>

</service>

and here is my class

package com.my.axis;

public class HelloAxisService {

    private String sayHello(String name){

        return "Hello"+ name;
    }
}

my url is http://localhost:8080/axis2/services/HelloAxisService/sayHello?name=dude

Though the service is present in list of services as below, I am getting the error both in the browser as well as Client program using axiom

Available services

HelloAxisService

Service EPR : http://localhost:8080/axis2/services/HelloAxisService
Service Description : No description available for this service

Service Status : Active
Available Operations
sayHello
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:08:41+00:00Added an answer on June 4, 2026 at 3:08 am

    After some careful observation at the code, found the problem. It was private access modifier for the method sayHello.Changing it to public did the thing for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to implement a very simple service example. The user inputs the
Simple example of scenario I am trying to implement class ATest { int a;
My first try of MVC. Am trying to implement a simple example. Inspiration from
I am trying to implement a very simple example of FormsAuthentication. It is not
I'm trying to implement a very simple XML schema constraint. The idref attribute on
I'm trying to implement a simple example of where ASP.NET changes culture. I'm running
I'm trying to implement this simple example of how to synchronize threads using pthread
I'm trying to implement simple Comet chat example and for this I implemented Long
I am trying to implement a simple plist example from Beginning iPhone 3 Development
I'm trying to implement a simple TPH example from http://msdn.microsoft.com/en-us/library/dd793152.aspx . I have two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.