Refine search
public String getBindingType() { BindingType bType = implementorClass.getAnnotation(BindingType.class); if (bType != null) { return bType.value(); } return SOAPBinding.SOAP11HTTP_BINDING; } }
@BindingType(value = javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING) @WebService(targetNamespace = "http://mergebam.ucsf.nida.ws.mapseq.unc.edu", serviceName = "NIDAUCSFMergeBAMService", portName = "NIDAUCSFMergeBAMPort") @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) @Path("/NIDAUCSFMergeBAMService/") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public interface NIDAUCSFMergeBAMService { @GET @Path("/lookupQuantificationResults/{subject}") @WebMethod public NIDAUCSFMergeBAMInfo lookupQuantificationResults( @PathParam("subject") @WebParam(name = "subject") String subject); }
String portComponentName = ann.name(); String svcNameFromImplClass = ann.serviceName(); String implClassName = ((Class) annElem).getSimpleName(); String implClassFullName = ((Class)annElem).getName(); String targetNameSpace = ann.targetNamespace(); ((Class)annElem).getAnnotation(javax.xml.ws.BindingType.class); if(bindingAnn != null) { userSpecifiedBinding = bindingAnn.value();
serviceAnnotation == null) { String serviceName = clazz.getSimpleName(); serviceName = getValue(webServiceAnnotation.name(), serviceName); String serviceInterfaceClassName = webServiceAnnotation.endpointInterface(); String wsdlLocation = webServiceAnnotation.wsdlLocation(); String bindingTypeValue = bindingType.value(); for ( Service service : type.getServices() ) { addBindingTypeIntent(service, bindingTypeValue);
@BindingType(value = javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) public class HelloImpl implements Hello { public void detail(Holder<byte[]> photo, Holder<Image> image) { // echo through Holder } public void echoData(Holder<byte[]> data) { // echo through Holder } }
String portComponentName = ann.name(); String svcNameFromImplClass = ann.serviceName(); String implClassName = ((Class) annElem).getSimpleName(); String implClassFullName = ((Class)annElem).getName(); String targetNameSpace = ann.targetNamespace(); ((Class)annElem).getAnnotation(javax.xml.ws.BindingType.class); if(bindingAnn != null) { userSpecifiedBinding = bindingAnn.value();
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) @Addressing(required = true, enabled = true) @XmlSeeAlso({
@javax.jws.WebService(serviceName = "XMLService", portName = "XMLPort", endpointInterface = "org.apache.hello_world_xml_http.mixed.Greeter", wsdlLocation = "testutils/hello_world_xml_mixed.wsdl") @javax.xml.ws.BindingType(value = "http://cxf.apache.org/bindings/xformat")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) @Addressing(required = true, enabled = true) @XmlSeeAlso({
@javax.jws.WebService(serviceName = "XMLService", portName = "XMLFaultPort", endpointInterface = "org.apache.hello_world_xml_http.wrapped.Greeter", targetNamespace = "http://apache.org/hello_world_xml_http/wrapped", wsdlLocation = "testutils/hello_world_xml_wrapped.wsdl") @javax.xml.ws.BindingType(value = "http://cxf.apache.org/bindings/xformat") public class GreeterFaultImpl implements Greeter { public static final String RUNTIME_EXCEPTION_MESSAGE = "test throw out runtime exception"; private static final Logger LOG = LogUtils.getL7dLogger(GreeterFaultImpl.class); public String greetMe(String me) { return "Hello " + me; } public void greetMeOneWay(String me) { LOG.info("Executing operation greetMeOneWay"); LOG.info("Hello there " + me); } public String sayHi() { return "Bonjour"; } public void pingMe() throws PingMeFault { throw new RuntimeException(GreeterFaultImpl.RUNTIME_EXCEPTION_MESSAGE); } }
public static String getBindingUriFromAnn(Class<?> clazz) { BindingType bindingType = clazz.getAnnotation(BindingType.class); if (bindingType != null) { return bindingType.value(); } return null; } }
@BindingType(SOAPBinding.SOAP12HTTP_BINDING) // Actually accepts both 1.1 and 1.2; needs to be present for ws-security to work. public class BaseWebService implements Provider<SOAPMessage> {
@WebService(endpointInterface = "org.oasis_open.docs.wsn.brw_2.NotificationBroker", targetNamespace = "http://cxf.apache.org/wsn/jaxws", serviceName = "NotificationBrokerService", portName = "NotificationBrokerPort") @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) public class JaxwsNotificationBroker extends JmsNotificationBroker implements JaxwsNotificationBrokerMBean {
public String getBindingType() { BindingType bType = implementorClass.getAnnotation(BindingType.class); if (bType != null) { return bType.value(); } return SOAPBinding.SOAP11HTTP_BINDING; } }
@BindingType(SOAPBinding.SOAP12HTTP_BINDING) // Actually accepts both 1.1 and 1.2; needs to be present for ws-security to work. public class BaseWebService implements Provider<SOAPMessage> {
@javax.jws.WebService(serviceName = "XMLService", portName = "XMLPort", endpointInterface = "org.apache.hello_world_xml_http.bare.Greeter", targetNamespace = "http://apache.org/hello_world_xml_http/bare") @javax.xml.ws.BindingType(value = "http://cxf.apache.org/bindings/xformat")
public static String getBindingUriFromAnn(final Class<?> clazz) { final BindingType bindingType = clazz.getAnnotation(BindingType.class); if (bindingType != null) { return bindingType.value(); } return null; } }
@WebServiceProvider(serviceName = "HelloProviderService", portName = "HelloProviderPort", targetNamespace = "http://apache.org/hello_world_xml_http/bare") @BindingType(value = javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING) @ServiceMode(value = javax.xml.ws.Service.Mode.PAYLOAD) public class GreeterProvider implements Provider<Source> { public Source invoke(Source req) { return new StreamSource(); } } }
@WebService(endpointInterface = "org.oasis_open.docs.wsn.bw_2.CreatePullPoint", targetNamespace = "http://cxf.apache.org/wsn/jaxws", serviceName = "CreatePullPointService", portName = "CreatePullPointPort") @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) public class JaxwsCreatePullPoint extends JmsCreatePullPoint implements JaxwsCreatePullPointMBean {