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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:21:30+00:00 2026-06-04T17:21:30+00:00

created a very basic WS. i have LoggingHandler, Test, TestImpl, & TestPublisher. my publisher

  • 0

created a very basic WS. i have LoggingHandler, Test, TestImpl, & TestPublisher. my publisher creates my endpoint below:

import javax.xml.ws.Endpoint;
public class TestPublisher {
public static void main(String[] args) {
LoggingHandler handle = new LoggingHandler();
Endpoint ep = Endpoint.publish( "http://localhost:8060/message/hello",
    new TestImpl() );
ep.getBindings().getHandlerChain().add( new LoggingHandler() );
System.out.print( handle.toString() );
}
}

my Test interface uses @WebService & @WebMethod and only does “String getHello( String str );”
my TestImpl implements Test and uses @WebService(endpointInterface=”my package location”) and only has a method “public String getHelloWorld( String str ){ return “Hello ” + str; }
my handler has handleMessage, handleFault, & close. i can put this code up too but i don’t think that would help.

when i head over to localhost:port/message/hello on the same (dev) RH6 pc, it works great! i get “Hello my name“. i even can get a wsdl file at localhost:port/message/hello?wsdl

when i try accessing from any other pc, linux or windows, i get a timeout or “cannot display the webpage” error. so i setup in tcp/ip monitor in eclipse to monitor and route traffic from port 8061 (new port) to my WS port [here][link3] without changing any code.

results: i still can’t access 8060 from any other pc except the one running the service (dev). so i point my browser to on the other pc’s to port 8061 (tcp/ip monitor) and it successfully returns my message! do i need to run a monitor to forward to my java webservice?

on my RH6 box, i am not running a firewall or a web server & i am on my work network. i can successfully start tomcat6 and get to 8080 from the other pc’s without using tcp/ip monitor.

  • 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-04T17:21:32+00:00Added an answer on June 4, 2026 at 5:21 pm

    Try Endpoint.publish with the ip address of your machine,

    ex: Endpoint.publish(“http://192.168.0.1:8060/message/hello”)

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

Sidebar

Related Questions

I have created a very basic Hello world application where I am trying to
I've got a very basic database schema and have created a dbml from it.
I want to ask very very basic question related to Mondrian. I have created
I have created a php person class and a very basic form. The form
Hy all, i have a very basic question, i have created a left side
I have a very basic Visual Basic Program that I created in Visual Studio
I have a french and a english site up, very basic. I created my
I have created a very basic custom layout to set out a menu made
I have created a very basic Rails 3.1 app, deployed to a box that
I have a very basic view controller class, created via interface builder. it only

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.