3 Comments Add yours

  1. Bulli says:

    I can not use an application server and so I have to use JAX-WS 2.2 standalone.
    In my project I have compiled an given wsdl file an created the java-classes with jax-ws.
    Then I wrote a very simple server an client for testing the communication.
    I have tried two possibilities for publish the endpoint.

    a) direct publish is OK ( Endpoint.publish(“http://localhost:9090/NewWebService”, new NewWebService()); )

    b) publish with use of a Web Context :

    Endpoint endpoint = Endpoint.create(new NewWebService());
    HttpContext context = server.createContext(“/NewWebService”);

    with this server I can connect, but I can not call any operation:
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 404: Not Found
    http://localhost:9090/NewWebService (this page):
    Address: http://localhost:9090
    WSDL: http://localhost:9090?wsdl
    and the generated wsdl is wrong:


    What can be wrong with my code?
    (code with JAX-WS 2.1.7 library is OK, with JAX-WS 2.2 is wrong)

  2. kohsuke says:

    I’m sorry, but please ask JAX-WS questions in http://jax-ws.dev.java.net/

  3. Steve Rozanski says:

    wondering to how update “Build other projects” -> “Projects to build”
    on the fly. have parent job that creates children. need children
    to be built by parent.

Leave a Reply

Your email address will not be published. Required fields are marked *