I did a quick interview with DZone about my new company, InfraDNA, which they published on their website. Thank you DZone for the opportunity!
hudson, infradna dzone hudson infradna interview
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):
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)
I’m sorry, but please ask JAX-WS questions in http://jax-ws.dev.java.net/
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.