I'm very new to Web Services and I think I'm just missing something. I tought it would be a simple question to answer but after a lot of search, I decided to post here.
I read the example that comes with CXF (http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html) and tested in MyEclipse and it worked correctly. No problems at all. Then I tried to make a test service based on that example but I always get "Could not send Message"/"Invalid address. Endpoint address cannot be null.". I found some post where some said it should be the server that's not running or the service that's not published, but when I try "http://localhost:9000/helloWorld?wsdl" the WSDL is shown. The client, however, can't connect to it. I thought that it should be related to some config file that's missing, but the example runs without it, So, it doesn't make sense. I also checked that if I change the SERVICE_NAME or PORT_NAME (on Client.java) to anything different of "http://server.hw.demo/" it will not work, but if a copy the demo files to a completely different place/package but let the SERVICE and PORT name the same it will work. So, I don't get it. What am I missing? Thanks in advance. -- View this message in context: http://www.nabble.com/Try-to-modify-the-firts-jaxws-example-tp21691314p21691314.html Sent from the cxf-user mailing list archive at Nabble.com.
