Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3518

static wsdl not recognized

    XMLWordPrintable

Details

    Description

      I have an EJB which expose some methods via WS

      @Stateless
      @WebService(endpointInterface = "com.icteam.loyalty.core.service.ProxyAdapterService", serviceName = "ProxyAdapterService", portName = "ProxyAdapterService",
      targetNamespace = "http://www.icteam.it/loyalty", wsdlLocation = "/META-INF/wsdl/ProxyAdapterService.wsdl")
      public class ProxyAdapter extends AbstractWebService implements ProxyAdapterServiceLocal, ProxyAdapterServiceRemote {
      ...
      }

      This EJB implements those inner interfaces

      @WebService(name = "ProxyAdapterService", targetNamespace = "http://www.icteam.it/loyalty")
      @SchemaValidation
      @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED)
      public interface ProxyAdapterService extends IWebService {

      @Remote
      public interface ProxyAdapterServiceRemote extends ProxyAdapterService {
      }

      @Local
      public interface ProxyAdapterServiceLocal extends ProxyAdapterService {
      }

      @WebMethod
      @WebResult(name = IResult.RESULT)
      MemberInfoResult getMemberInfo(@WebParam(name = OPERATION_PARAM) OperationParam operationParam);
      ...
      }

      The EJB and the interfaces are in an ejb jar and a lib jar inside an ear.
      The wsdl specified is in the directory META-INF/wsdl of the ejb jar file.
      When I deploy the ear on jboss-as-7.1.1.Final I got this messages in the server.log

      12:17:39,130 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service
      id=ProxyAdapter
      address=http://jbossws.undefined.host:8080/loyaltyws/ProxyAdapterService/ProxyAdapter
      implementor=com.icteam.loyalty.adapter.ProxyAdapter
      invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
      serviceName=

      {http://www.icteam.it/loyalty}

      ProxyAdapterService
      portName=

      {http://www.icteam.it/loyalty}

      ProxyAdapterService
      wsdlLocation=null
      mtomEnabled=false
      properties=[org.jboss.as.webservices.metadata.modelEjbComponentViewName -> service jboss.deployment.subunit."loyaltybe.ear"."loyalty-ejb.jar".component.ProxyAdapter.VIEW."com.icteam.loyalty.adapter.ProxyAdapter".SERVICE_ENDPOINT]

      The wsdlLocation is always null and the static wsdl provided isn't recognized by the AS, it still continue to deploy the dynamic wsdl.
      I try to put the attribute wsdlLocation in the interface but still not working.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            danipiario_jira Daniele Pirola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: