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

JBossWS CXF ignoring wsdlLocation attribute in @WebService annotation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: jbossws-cxf-4.0.2
    • Fix Version/s: None
    • Component/s: jbossws-cxf
    • Labels:
      None

      Description

      when wsdlLocation attribute is specified on the @WebService annotation the service fails to deploy. log shows wsdlLocation=null.

      source of Bug

      class Name : org.jboss.wsf.stack.cxf.metadata.MetadataBuilder

      Method name : protected DDEndpoint createDDEndpoint(Class<?> sepClass,
      ArchiveDeployment dep, Endpoint ep)

      code :

      // the attribute wsdlLocation is ignored at the time of annotation
      processing of @WebService

      DDEndpoint result = new DDEndpoint();

      result.setId(ep.getShortName());
      result.setAddress(ep.getAddress());
      result.setImplementor(ep.getTargetBeanName());
      result.setMtomEnabled(isMtomEnabled(ep.getTargetBeanClass()));
      result.setEpClass(seiClass != null ? seiClass : sepClass);
      result.setPortName(new QName(serviceNS, portName));
      result.setServiceName(new QName(serviceNS, serviceName));
      Map<String, Object> props = new HashMap<String, Object>();
      for (String k : ep.getProperties())

      { props.put(k, ep.getProperty(k)); }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            emollient-mind emollient mind (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: