javax.xml.ws.Action Java Examples
The following examples show how to use
javax.xml.ws.Action.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Resource.java From cxf with Apache License 2.0 | 6 votes |
@Action( input = TransferConstants.ACTION_PUT, output = TransferConstants.ACTION_PUT_RESPONSE ) @WebMethod(operationName = TransferConstants.NAME_OPERATION_PUT) @WebResult( name = TransferConstants.NAME_MESSAGE_PUT_RESPONSE, targetNamespace = TransferConstants.TRANSFER_2011_03_NAMESPACE, partName = "Body" ) PutResponse put( @WebParam( name = TransferConstants.NAME_MESSAGE_PUT, targetNamespace = TransferConstants.TRANSFER_2011_03_NAMESPACE, partName = "Body" ) Put body );
Example #2
Source File: W3CAddressingWSDLGeneratorExtension.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { String soapAction = method.getBinding().getSOAPAction(); // in SOAP 1.2 soapAction is optional ... if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); } } }
Example #3
Source File: W3CAddressingWSDLGeneratorExtension.java From hottub with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { String soapAction = method.getBinding().getSOAPAction(); // in SOAP 1.2 soapAction is optional ... if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); } } }
Example #4
Source File: JavaMethodImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void setWsaActions(MetadataReader metadataReader) { Action action = (metadataReader != null)? metadataReader.getAnnotation(Action.class, seiMethod):seiMethod.getAnnotation(Action.class); if(action != null) { inputAction = action.input(); outputAction = action.output(); } //@Action(input) =="", get it from @WebMethod(action) WebMethod webMethod = (metadataReader != null)? metadataReader.getAnnotation(WebMethod.class, seiMethod):seiMethod.getAnnotation(WebMethod.class); soapAction = ""; if (webMethod != null ) soapAction = webMethod.action(); if(!soapAction.equals("")) { //non-empty soapAction if(inputAction.equals("")) // set input action to non-empty soapAction inputAction = soapAction; else if(!inputAction.equals(soapAction)){ //both are explicitly set via annotations, make sure @Action == @WebMethod.action //http://java.net/jira/browse/JAX_WS-1108 //throw new WebServiceException("@Action and @WebMethod(action=\"\" does not match on operation "+ method.getName()); } } }
Example #5
Source File: JavaMethodImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
private void setWsaActions(MetadataReader metadataReader) { Action action = (metadataReader != null)? metadataReader.getAnnotation(Action.class, seiMethod):seiMethod.getAnnotation(Action.class); if(action != null) { inputAction = action.input(); outputAction = action.output(); } //@Action(input) =="", get it from @WebMethod(action) WebMethod webMethod = (metadataReader != null)? metadataReader.getAnnotation(WebMethod.class, seiMethod):seiMethod.getAnnotation(WebMethod.class); soapAction = ""; if (webMethod != null ) soapAction = webMethod.action(); if(!soapAction.equals("")) { //non-empty soapAction if(inputAction.equals("")) // set input action to non-empty soapAction inputAction = soapAction; else if(!inputAction.equals(soapAction)){ //both are explicitly set via annotations, make sure @Action == @WebMethod.action //http://java.net/jira/browse/JAX_WS-1108 //throw new WebServiceException("@Action and @WebMethod(action=\"\" does not match on operation "+ method.getName()); } } }
Example #6
Source File: Resource.java From cxf with Apache License 2.0 | 6 votes |
@Action( input = TransferConstants.ACTION_DELETE, output = TransferConstants.ACTION_DELETE_RESPONSE ) @WebMethod(operationName = TransferConstants.NAME_OPERATION_DELETE) @WebResult( name = TransferConstants.NAME_MESSAGE_DELETE_RESPONSE, targetNamespace = TransferConstants.TRANSFER_2011_03_NAMESPACE, partName = "Body" ) DeleteResponse delete( @WebParam( name = TransferConstants.NAME_MESSAGE_DELETE, targetNamespace = TransferConstants.TRANSFER_2011_03_NAMESPACE, partName = "Body" ) Delete body );
Example #7
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param size * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "entropy", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Entropy") @ResponseWrapper(localName = "entropyResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.EntropyResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/entropyRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/entropyResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/entropy/Fault/StrongKeyLiteException") }) public String entropy( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "size", targetNamespace = "") Integer size) throws StrongKeyLiteException_Exception ;
Example #8
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param inputfile * @param password * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "batchEncrypt", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchEncrypt") @ResponseWrapper(localName = "batchEncryptResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchEncryptResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/batchEncryptRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/batchEncryptResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/batchEncrypt/Fault/StrongKeyLiteException") }) public String batchEncrypt( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "inputfile", targetNamespace = "") String inputfile) throws StrongKeyLiteException_Exception ;
Example #9
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param inputfile * @param password * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "batchDecrypt", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchDecrypt") @ResponseWrapper(localName = "batchDecryptResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchDecryptResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/batchDecryptRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/batchDecryptResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/batchDecrypt/Fault/StrongKeyLiteException") }) public String batchDecrypt( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "inputfile", targetNamespace = "") String inputfile) throws StrongKeyLiteException_Exception ;
Example #10
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param inputfile * @param password * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "batchDelete", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchDelete") @ResponseWrapper(localName = "batchDeleteResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchDeleteResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/batchDeleteRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/batchDeleteResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/batchDelete/Fault/StrongKeyLiteException") }) public String batchDelete( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "inputfile", targetNamespace = "") String inputfile) throws StrongKeyLiteException_Exception ;
Example #11
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param inputfile * @param password * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "batchSearch", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchSearch") @ResponseWrapper(localName = "batchSearchResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.BatchSearchResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/batchSearchRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/batchSearchResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/batchSearch/Fault/StrongKeyLiteException") }) public String batchSearch( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "inputfile", targetNamespace = "") String inputfile) throws StrongKeyLiteException_Exception ;
Example #12
Source File: CodeGenBugTest.java From cxf with Apache License 2.0 | 6 votes |
@Test public void testCXF5280() throws Exception { env.put(ToolConstants.CFG_ALL, "all"); env.put(ToolConstants.CFG_COMPILE, "compile"); env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath()); env.put(ToolConstants.CFG_CLASSDIR, output.getCanonicalPath() + "/classes"); env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/cxf5280/hello_world.wsdl")); processor.setContext(env); processor.execute(); Class<?> pcls = classLoader.loadClass("org.apache.cxf.w2j.hello_world_soap_http.Greeter"); Class<?> acls = classLoader.loadClass("org.apache.cxf.w2j.hello_world_soap_http.types.GreetMe"); Method m = pcls.getMethod("greetMe", new Class[] {acls}); Action actionAnn = AnnotationUtil.getPrivMethodAnnotation(m, Action.class); assertNotNull(actionAnn); assertEquals("http://cxf.apache.org/w2j/hello_world_soap_http/greetMe", actionAnn.input()); }
Example #13
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param did * @param username * @param token * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "decrypt", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Decrypt") @ResponseWrapper(localName = "decryptResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.DecryptResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/decryptRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/decryptResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/decrypt/Fault/StrongKeyLiteException") }) public String decrypt( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "token", targetNamespace = "") String token) throws StrongKeyLiteException_Exception ;
Example #14
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param relayencoding * @param relayurl * @param relayprotocol * @param relaycontent * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "relay", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Relay") @ResponseWrapper(localName = "relayResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.RelayResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/relayRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/relayResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/relay/Fault/StrongKeyLiteException") }) public String relay( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "relayurl", targetNamespace = "") String relayurl, @WebParam(name = "relayprotocol", targetNamespace = "") String relayprotocol, @WebParam(name = "relayencoding", targetNamespace = "") String relayencoding, @WebParam(name = "relaycontent", targetNamespace = "") String relaycontent) throws StrongKeyLiteException_Exception ;
Example #15
Source File: W3CAddressingWSDLGeneratorExtension.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { String soapAction = method.getBinding().getSOAPAction(); // in SOAP 1.2 soapAction is optional ... if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); } } }
Example #16
Source File: W3CAddressingWSDLGeneratorExtension.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { String soapAction = method.getBinding().getSOAPAction(); // in SOAP 1.2 soapAction is optional ... if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); } } }
Example #17
Source File: W3CAddressingWSDLGeneratorExtension.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.input().equals("")) { addAttribute(input, a.input()); } else { String soapAction = method.getBinding().getSOAPAction(); // in SOAP 1.2 soapAction is optional ... if (soapAction == null || soapAction.equals("")) { //hack: generate default action for interop with .Net3.0 when soapAction is non-empty String defaultAction = getDefaultAction(method); addAttribute(input, defaultAction); } } }
Example #18
Source File: W3CAddressingWSDLGeneratorExtension.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); Class[] exs = method.getSEIMethod().getExceptionTypes(); if (exs == null) return; if (a != null && a.fault() != null) { for (FaultAction fa : a.fault()) { if (fa.className().getName().equals(ce.getExceptionClass().getName())) { if (fa.value().equals("")) return; addAttribute(fault, fa.value()); return; } } } }
Example #19
Source File: W3CAddressingWSDLGeneratorExtension.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
@Override public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); Class[] exs = method.getSEIMethod().getExceptionTypes(); if (exs == null) return; if (a != null && a.fault() != null) { for (FaultAction fa : a.fault()) { if (fa.className().getName().equals(ce.getExceptionClass().getName())) { if (fa.value().equals("")) return; addAttribute(fault, fa.value()); return; } } } }
Example #20
Source File: JavaMethodImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void setWsaActions(MetadataReader metadataReader) { Action action = (metadataReader != null)? metadataReader.getAnnotation(Action.class, seiMethod):seiMethod.getAnnotation(Action.class); if(action != null) { inputAction = action.input(); outputAction = action.output(); } //@Action(input) =="", get it from @WebMethod(action) WebMethod webMethod = (metadataReader != null)? metadataReader.getAnnotation(WebMethod.class, seiMethod):seiMethod.getAnnotation(WebMethod.class); soapAction = ""; if (webMethod != null ) soapAction = webMethod.action(); if(!soapAction.equals("")) { //non-empty soapAction if(inputAction.equals("")) // set input action to non-empty soapAction inputAction = soapAction; else if(!inputAction.equals(soapAction)){ //both are explicitly set via annotations, make sure @Action == @WebMethod.action //http://java.net/jira/browse/JAX_WS-1108 //throw new WebServiceException("@Action and @WebMethod(action=\"\" does not match on operation "+ method.getName()); } } }
Example #21
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param plaintext * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "search", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Search") @ResponseWrapper(localName = "searchResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.SearchResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/searchRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/searchResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/search/Fault/StrongKeyLiteException") }) public String search( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "plaintext", targetNamespace = "") String plaintext) throws StrongKeyLiteException_Exception ;
Example #22
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param did * @param username * @param token * @return * returns java.lang.Boolean * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "delete", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Delete") @ResponseWrapper(localName = "deleteResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.DeleteResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/deleteRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/deleteResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/delete/Fault/StrongKeyLiteException") }) public Boolean delete( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "token", targetNamespace = "") String token) throws StrongKeyLiteException_Exception ;
Example #23
Source File: Encryption.java From fido2 with GNU Lesser General Public License v2.1 | 6 votes |
/** * * @param password * @param plaintext * @param did * @param username * @return * returns java.lang.String * @throws StrongKeyLiteException_Exception */ @WebMethod @WebResult(targetNamespace = "") @RequestWrapper(localName = "encrypt", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.Encrypt") @ResponseWrapper(localName = "encryptResponse", targetNamespace = "http://web.strongkeylite.strongauth.com/", className = "com.strongauth.saka.web.EncryptResponse") @Action(input = "http://web.strongkeylite.strongauth.com/Encryption/encryptRequest", output = "http://web.strongkeylite.strongauth.com/Encryption/encryptResponse", fault = { @FaultAction(className = StrongKeyLiteException_Exception.class, value = "http://web.strongkeylite.strongauth.com/Encryption/encrypt/Fault/StrongKeyLiteException") }) public String encrypt( @WebParam(name = "did", targetNamespace = "") Long did, @WebParam(name = "username", targetNamespace = "") String username, @WebParam(name = "password", targetNamespace = "") String password, @WebParam(name = "plaintext", targetNamespace = "") String plaintext) throws StrongKeyLiteException_Exception ;
Example #24
Source File: PersonService.java From journaldev with MIT License | 5 votes |
/** * * @param arg0 * @return * returns boolean */ @WebMethod @WebResult(partName = "return") @Action(input = "http://service.jaxws.journaldev.com/PersonService/addPersonRequest", output = "http://service.jaxws.journaldev.com/PersonService/addPersonResponse") public boolean addPerson( @WebParam(name = "arg0", partName = "arg0") Person arg0);
Example #25
Source File: SecurityTokenService.java From steady with Apache License 2.0 | 5 votes |
@WebResult(name = "RequestSecurityTokenResponse", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512", partName = "response") @Action(input = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue", output = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal") @WebMethod(operationName = "Issue") RequestSecurityTokenResponseType issueSingle( @WebParam(partName = "request", name = "RequestSecurityToken", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512") RequestSecurityTokenType request );
Example #26
Source File: EventPortType.java From onvif with Apache License 2.0 | 5 votes |
/** * Returns the capabilities of the event service. The result is returned in a * typed answer. * */ @WebMethod(operationName = "GetServiceCapabilities", action = "http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest") @Action(input = "http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest", output = "http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesResponse") @RequestWrapper(localName = "GetServiceCapabilities", targetNamespace = "http://www.onvif.org/ver10/events/wsdl", className = "org.onvif.ver10.events.wsdl.GetServiceCapabilities") @ResponseWrapper(localName = "GetServiceCapabilitiesResponse", targetNamespace = "http://www.onvif.org/ver10/events/wsdl", className = "org.onvif.ver10.events.wsdl.GetServiceCapabilitiesResponse") @WebResult(name = "Capabilities", targetNamespace = "http://www.onvif.org/ver10/events/wsdl") public org.onvif.ver10.events.wsdl.Capabilities getServiceCapabilities() ;
Example #27
Source File: MetadataExchange.java From cxf with Apache License 2.0 | 5 votes |
@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 );
Example #28
Source File: W3CAddressingWSDLGeneratorExtension.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@Override public void addOperationOutputExtension(TypedXmlWriter output, JavaMethod method) { if (!enabled) return; Action a = method.getSEIMethod().getAnnotation(Action.class); if (a != null && !a.output().equals("")) { addAttribute(output, a.output()); } }
Example #29
Source File: SecurityTokenService.java From steady with Apache License 2.0 | 5 votes |
@WebResult(name = "RequestSecurityTokenResponse", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512", partName = "response") @Action(input = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue", output = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal") @WebMethod(operationName = "Issue") RequestSecurityTokenResponseType issueSingle( @WebParam(partName = "request", name = "RequestSecurityToken", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512") RequestSecurityTokenType request );
Example #30
Source File: SecurityTokenService.java From steady with Apache License 2.0 | 5 votes |
@WebResult(name = "RequestSecurityTokenResponse", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512", partName = "response") @Action(input = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", output = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal") @WebMethod(operationName = "Validate") RequestSecurityTokenResponseType validate( @WebParam(partName = "request", name = "RequestSecurityToken", targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512") RequestSecurityTokenType request );