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 871023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:34:32+00:00 2026-05-15T10:34:32+00:00

I want to build simple SOAP web service. So far I’ve only worked with

  • 0

I want to build simple SOAP web service. So far I’ve only worked with existing SOAP/Rest services. And now I’d like to create my own, simple one for starters.

For example create simple hello + string web service where I provide the string in request from SOAP ui or similar tool.

I have Jboss server installed already, what is the “simplest” possible way to achieve this? I realize I need interface, interfaceImpl, and a wsdl file(generated possibly).

Does anyone have some useful advice for me ? thank you

  • 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-05-15T10:34:33+00:00Added an answer on May 15, 2026 at 10:34 am

    If you want something extremely straight forward, use JAX-WS and a Java first approach. Here is what a Hello world web service looks like:

    @WebService
    public class HelloWebService {
        public String sayHello(String name) {
            return "Hi" + name;
        }
    
        public static void main(String ... args) {
            HelloWebService hello = new HelloWebService();
            Endpoint endpoint = Endpoint.publish("http://localhost:8081/hello", hello);
        }
    }
    

    Java 6 includes JAX-WS RI, an implementation of JAX-WS, so you can run this code as is and test it with SAOP-UI (the generated WSDL is available at http://localhost:8081/hello?WSDL).

    JBoss supports JAX-WS through a native stack – but you can also use Apache CXF or Metro (Metro = JAX-WS RI + WSIT). Check JBossWS for more details. I suggest to start with their native stack.

    See also

    • Getting Started with JAX-WS Web Services
    • Building Web Services with JAX-WS in the Java EE 6 Tutorial
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to build a simple web service that outputs JSON to test a
I would like to build a simple animation for a school project. I want
For a new project, we want to build a web service in Java using
I want to build a simple web-interface application that can send/receive chat messages to/from
I want to build a simple project using a existing archetype. But I can't
I want to build a web application which basically is a restful web-service serving
I want to build a simple application with the MVVM pattern. This application will
I'm a newcomer to Rails. I want to build a simple form that determines
I want to build a very simple GUI based application in linux, c++. Which
I want to build a bot that asks someone a few simple questions and

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.