0 Replies Latest reply on Aug 19, 2014 4:12 AM by Dhananjay Aggarwal

    SOAP address changed for EJB as a WebService

    Dhananjay Aggarwal Newbie

      Hi,

       

      I am deploying JAVA EE application in WildFly 8.1.0 Final. After deployments its replaces address in SOAP address location to Remote Interface rather than to Stateless EJB WebService.

       

      E.g,

      @Remote

      public interface SbbAccess {

      ...

      }

       

      @WebService(name="SbbAccess", serviceName="pfmjainslee11_diagram", targetNamespace="http://jee.v1.sbb.profile" )

      @Addressing

      @HandlerChain(file = "jaxws-handlers.xml")

      @TransactionManagement(TransactionManagementType.BEAN)

       

      public @Stateless class SbbAccessBean implements SbbAccess {

      ...

      }

       

      WSDL available from wildlfy is

       

      <wsdl:service name="pfmjainslee11_diagram">

           <wsdl:port binding="tns:pfmjainslee11_diagramSoapBinding" name="SbbAccessPort">

                <soap:address location="http://linus:8080/sbb---v1.EJB/pfmjainslee11_diagram/SbbAccess"/>

            </wsdl:port>

      </wsdl:service>

       

      this should have been like

       

      <wsdl:service name="pfmjainslee11_diagram">

           <wsdl:port binding="tns:pfmjainslee11_diagramSoapBinding" name="SbbAccessPort">

                <soap:address location="http://linus:8080/sbb---v1.EJB/pfmjainslee11_diagram/SbbAccessBean"/>

            </wsdl:port>

      </wsdl:service>

       

      Any suggestion what is causing this behavior?

       

      Regards,