Web service with JBoss, jax-ws problem
816528Nov 19 2010 — edited Nov 21 2010I want to create a simple web service using JBoss and JBossWS in eclipse. After create my endpoint class, based on that class I create the web service that automatically generates WSDL file. From that wsdl file then i create the client for the web service. When i run the client i get the following output:
Create Web Service Client...
Create Web Service...
Call Web Service Operation...
Exception in thread "main" javax.xml.ws.WebServiceException: Unsupported endpoint address: REPLACE_WITH_ACTUAL_URL
at com.sun.xml.ws.api.pipe.TransportTubeFactory.create(TransportTubeFactory.java:144)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:129)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.client.Stub.process(Stub.java:319)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
at $Proxy25.add(Unknown Source)
at test.clientsample.ClientSample.main(ClientSample.java:18)
I think that my WSDL file is not correctly generate. What I did wrong? Please help