3 Comments Add yours

  1. Bulli says:

    Hallo,
    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”);
    endpoint.publish(context);
    ..

    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:
    http://localhost:9090/NewWebService?wsdl:

    schemaLocation=”http://localhost:9090?xsd=1″

    What can be wrong with my code?
    ps.
    (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 *