/** * Merge the values from the XML inside the metadata struct. * @param serviceRef XML * @param annotation the metadata structure to be updated */ protected void mergeWebServiceRef(final IServiceRef serviceRef, final IJaxwsWebServiceRef annotation) { if (serviceRef.getWsdlFile() != null) { annotation.setWsdlLocation(serviceRef.getWsdlFile().toString()); } if (serviceRef.getServiceInterface() != null) { if (annotation.getValue() == null) { // the annotation is used to declare a service annotation.setType(serviceRef.getServiceInterface()); } else if (annotation.getType() == null) { // TODO check if the type is a Service subclass or not // the annotation is used to declare a service-endpoint annotation.setValue(serviceRef.getServiceInterface()); } } if (serviceRef.getServiceRefType() != null) { annotation.setType(serviceRef.getServiceRefType()); } // Override name annotation.setName(serviceRef.getName()); // Override handler-chains annotation.setHandlerChains(serviceRef.getHandlerChains()); // Complete port-component-ref, etc. completeWebServiceRef(serviceRef, annotation); }
/** * Merge the values from the XML inside the metadata struct. * @param serviceRef XML * @param annotation the metadata structure to be updated */ protected void mergeWebServiceRef(final IServiceRef serviceRef, final IJaxwsWebServiceRef annotation) { if (serviceRef.getWsdlFile() != null) { annotation.setWsdlLocation(serviceRef.getWsdlFile().toString()); } if (serviceRef.getServiceInterface() != null) { if (annotation.getValue() == null) { // the annotation is used to declare a service annotation.setType(serviceRef.getServiceInterface()); } else if (annotation.getType() == null) { // TODO check if the type is a Service subclass or not // the annotation is used to declare a service-endpoint annotation.setValue(serviceRef.getServiceInterface()); } } if (serviceRef.getServiceRefType() != null) { annotation.setType(serviceRef.getServiceRefType()); } // Override name annotation.setName(serviceRef.getName()); // Override handler-chains annotation.setHandlerChains(serviceRef.getHandlerChains()); // Complete port-component-ref, etc. completeWebServiceRef(serviceRef, annotation); }
+ classMetadata.getJClass() + "'."); if (isNullOrEmpty(ref.getValue())) {
+ classMetadata.getJClass() + "'."); if (isNullOrEmpty(ref.getValue())) {