0 Replies Latest reply on Dec 4, 2011 9:30 PM by dlaprade

    WebServiceRef and jaxws:client

    dlaprade

      I am having an issue:

       

          java.net.BindException: Address already in use

       

      when I call my servlet which uses:

       

          @WebServiceRef( value = HelloWorldService.class, type = HelloWorldPortType.class )

          HelloWorldService client;

       

      I am hoping it is a simple configuration issue in my jbossws-cxf.xml file:

       

          <jaxws:endpoint id="HelloWorldService"

                     address="http://localhost:8080/helloworld"

                 implementor="com.example.HelloWorldPortTypeImpl">

              <jaxws:invoker>

                  <bean class='org.jboss.wsf.stack.cxf.InvokerJSE'/>

              </jaxws:invoker>

          </jaxws:endpoint>

       

         <jaxws:client name="{http://example.com/HelloWorldService}HelloWorldSOAP12port_http"

              createdFromAPI="true"

               serviceClass="com.example.helloworldservice.HelloWorldPortType">

               

          </jaxws:client>

       

       

      Any assistance is appreciated.

      Daniel