@WebMethod(action = "http://www.sonos.com/Services/1.1#getSessionId") @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @WebResult(name = "getSessionIdResponse", targetNamespace = "http://www.sonos.com/Services/1.1", partName = "parameters") public com.sonos.services._1.GetSessionIdResponse getSessionId( @WebParam(partName = "parameters", name = "getSessionId", targetNamespace = "http://www.sonos.com/Services/1.1") com.sonos.services._1.GetSessionId parameters ) throws CustomFault;
private boolean isDocumentBare(Method method) { SOAPBinding ann = method.getAnnotation(SOAPBinding.class); if (ann != null) { return ann.style().equals(SOAPBinding.Style.DOCUMENT) && ann.parameterStyle().equals(SOAPBinding.ParameterStyle.BARE); } ann = implInfo.getEndpointClass().getAnnotation(SOAPBinding.class); if (ann != null) { return ann.style().equals(SOAPBinding.Style.DOCUMENT) && ann.parameterStyle().equals(SOAPBinding.ParameterStyle.BARE); } return false; }
@WebService(targetNamespace = "http://docs.oasis-open.org/ws-tx/wscoor/2006/06", name = "ActivationPortType", @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @HandlerChain(file="/ws-c_handlers.xml") @Addressing(required=true) public class ActivationPortTypeImpl // implements ActivationPortType @Resource private WebServiceContext webServiceCtx;
@WebService(targetNamespace = "urn:ihe:iti:hpd:2010", name = "ProviderInformationDirectory_PortType", portName = "ProviderInformationDirectory_Port_Soap12") @XmlSeeAlso({ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface Iti59PortType { @WebMethod(operationName = "ProviderInformationFeedRequest") @Action(input = "urn:ihe:iti:2010:ProviderInformationFeed", output = "urn:ihe:iti:2010:ProviderInformationFeedResponse") @WebResult(name = "batchResponse", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core", partName = "body") BatchResponse providerInformationFeedRequest( @WebParam(partName = "body", name = "batchRequest", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core") BatchRequest body ); }
@WebService(name = "PublisherRegistrationManager", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "PublisherRegistrationManagerService", portName = "PublisherRegistrationManagerPort" ,wsdlLocation = "brw-2impl.wsdl") @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @XmlSeeAlso({ org.oasis_open.docs.wsrf.r_2.ObjectFactory.class, org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class, @Resource private WebServiceContext ctx; final static Logger log = Logger.getLogger("WS-NotificationBroker");
/** * @author Juergen Hoeller */ @WebService @SOAPBinding(style = SOAPBinding.Style.RPC) public interface OrderService { String getOrder(int id) throws OrderNotFoundException; }
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @Addressing(required = true, enabled = true) @XmlSeeAlso({ org.apache.cxf.ws.mex.model._2004_09.ObjectFactory.class }) @WebService(targetNamespace = "http://www.w3.org/2009/09/ws-mex") public interface MetadataExchange { @WebResult(name = "Metadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex", partName = "body") @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", output = "http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse") @WebMethod(operationName = "Get2004") org.apache.cxf.ws.mex.model._2004_09.Metadata get2004(); @WebResult(name = "Metadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex", partName = "body") @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Request", output = "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Response") @WebMethod(operationName = "GetMetadata2004") org.apache.cxf.ws.mex.model._2004_09.Metadata getMetadata( @WebParam(partName = "body", name = "GetMetadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex") org.apache.cxf.ws.mex.model._2004_09.GetMetadata body ); }
@WebService @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @Addressing(enabled = true, required = true) public interface EndToEndpoint { @Action( input = EventingConstants.ACTION_SUBSCRIPTION_END ) void subscriptionEnd(@WebParam SubscriptionEnd subscriptionEnd); }
public static SoapBindingAnnot createFromAnnotation(Annotation annotation) { SoapBindingAnnot returnAnnot = null; if (annotation != null && annotation instanceof javax.jws.soap.SOAPBinding) { javax.jws.soap.SOAPBinding sb = (javax.jws.soap.SOAPBinding) annotation; returnAnnot = new SoapBindingAnnot(sb.style(), sb.use(), sb.parameterStyle()); } return returnAnnot; }
public SOAPBinding.ParameterStyle getSOAPParameterStyle() { if (null != soapBindAnnotation) { return soapBindAnnotation.parameterStyle(); } return SOAPBinding.ParameterStyle.WRAPPED; } public String getTargetNamespace() {
@Override public Boolean isRPC(Method method) { SOAPBinding ann = method.getAnnotation(SOAPBinding.class); if (ann != null) { return ann.style().equals(SOAPBinding.Style.RPC); } ann = implInfo.getEndpointClass().getAnnotation(SOAPBinding.class); if (ann != null) { return ann.style().equals(SOAPBinding.Style.RPC); } return super.isRPC(method); }
@WebService(targetNamespace = "http://docs.oasis-open.org/ws-tx/wscoor/2006/06", name = "ActivationPortType", @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @HandlerChain(file="/ws-c_handlers.xml") @Addressing(required=true) public class ActivationPortTypeImpl // implements ActivationPortType @Resource private WebServiceContext webServiceCtx;
@WebService(targetNamespace = "urn:ihe:iti:hpd:2010", name = "ProviderInformationDirectory_PortType", portName = "ProviderInformationDirectory_Port_Soap12") @XmlSeeAlso({ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface Iti58PortType { @WebMethod(operationName = "ProviderInformationQueryRequest") @Action(input = "urn:ihe:iti:2010:ProviderInformationQuery", output = "urn:ihe:iti:2010:ProviderInformationQueryResponse") @WebResult(name = "batchResponse", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core", partName = "body") BatchResponse providerInformationQueryRequest( @WebParam(partName = "body", name = "batchRequest", targetNamespace = "urn:oasis:names:tc:DSML:2:0:core") BatchRequest body ); }
@WebService(name = "CreatePullPoint", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "CreatePullPointService", portName = "CreatePullPointBindingPort" ,wsdlLocation = "brw-2impl.wsdl") @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @XmlSeeAlso({ org.oasis_open.docs.wsrf.r_2.ObjectFactory.class, org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class, @Resource private WebServiceContext ctx; final static Logger log = Logger.getLogger("WS-NotificationBroker");
@WebService(name = "NewServicesInterface", targetNamespace="org.bimserver") @SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED) public interface NewServicesInterface extends PublicInterface { /** * @return * @throws ServerException * @throws UserException */ @WebMethod(action="listAllServiceDescriptors") List<SNewServiceDescriptor> listAllServiceDescriptors() throws ServerException, UserException; @WebMethod(action="listAvailableOutputFormats") List<SFormatSerializerMap> listAvailableOutputFormats(@WebParam(name = "poid", partName = "listAvailableOutputFormats.poid") Long poid) throws ServerException, UserException; }
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @Addressing(required = true, enabled = true) @XmlSeeAlso({ org.apache.cxf.ws.mex.model._2004_09.ObjectFactory.class }) @WebService(targetNamespace = "http://www.w3.org/2009/09/ws-mex") public interface MetadataExchange { @WebResult(name = "Metadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex", partName = "body") @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/transfer/Get", output = "http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse") @WebMethod(operationName = "Get2004") org.apache.cxf.ws.mex.model._2004_09.Metadata get2004(); @WebResult(name = "Metadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex", partName = "body") @Action(input = "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Request", output = "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Response") @WebMethod(operationName = "GetMetadata2004") org.apache.cxf.ws.mex.model._2004_09.Metadata getMetadata( @WebParam(partName = "body", name = "GetMetadata", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/09/mex") org.apache.cxf.ws.mex.model._2004_09.GetMetadata body ); }
@WebService @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @Addressing(enabled = true, required = true) public interface EndToEndpoint { @Action( input = EventingConstants.ACTION_SUBSCRIPTION_END ) void subscriptionEnd(@WebParam SubscriptionEnd subscriptionEnd); }
public static SoapBindingAnnot createFromAnnotation(Annotation annotation) { SoapBindingAnnot returnAnnot = null; if (annotation != null && annotation instanceof javax.jws.soap.SOAPBinding) { javax.jws.soap.SOAPBinding sb = (javax.jws.soap.SOAPBinding) annotation; returnAnnot = new SoapBindingAnnot(sb.style(), sb.use(), sb.parameterStyle()); } return returnAnnot; }
/** * The SOAP parameter style of this web method. * * @return The SOAP parameter style of this web method. */ public SOAPBinding.ParameterStyle getSoapParameterStyle() { SOAPBinding.ParameterStyle style = SOAPBinding.ParameterStyle.WRAPPED; SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { style = bindingInfo.parameterStyle(); } return style; }