javax.jws.WebResult Java Examples

The following examples show how to use javax.jws.WebResult. 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: Media.java    From onvif with Apache License 2.0 5 votes vote down vote up
/**
 * The GetMetadataConfiguration command fetches the metadata configuration if
 *         the metadata token is known.
 *       
 */
@WebMethod(operationName = "GetMetadataConfiguration", action = "http://www.onvif.org/ver10/media/wsdl/GetMetadataConfiguration")
@RequestWrapper(localName = "GetMetadataConfiguration", targetNamespace = "http://www.onvif.org/ver10/media/wsdl", className = "org.onvif.ver10.media.wsdl.GetMetadataConfiguration")
@ResponseWrapper(localName = "GetMetadataConfigurationResponse", targetNamespace = "http://www.onvif.org/ver10/media/wsdl", className = "org.onvif.ver10.media.wsdl.GetMetadataConfigurationResponse")
@WebResult(name = "Configuration", targetNamespace = "http://www.onvif.org/ver10/media/wsdl")
public org.onvif.ver10.schema.MetadataConfiguration getMetadataConfiguration(

    @WebParam(name = "ConfigurationToken", targetNamespace = "http://www.onvif.org/ver10/media/wsdl")
    java.lang.String configurationToken
);
 
Example #2
Source File: Media.java    From onvif with Apache License 2.0 5 votes vote down vote up
/**
 * This operation lists all the video encoder configurations of the device
 *         that are compatible with a certain media profile. Each of the returned configurations shall
 *         be a valid input parameter for the AddVideoEncoderConfiguration command on the media
 *         profile. The result will vary depending on the capabilities, configurations and settings in
 *         the device.
 *       
 */
@WebMethod(operationName = "GetCompatibleVideoEncoderConfigurations", action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleVideoEncoderConfigurations")
@RequestWrapper(localName = "GetCompatibleVideoEncoderConfigurations", targetNamespace = "http://www.onvif.org/ver10/media/wsdl", className = "org.onvif.ver10.media.wsdl.GetCompatibleVideoEncoderConfigurations")
@ResponseWrapper(localName = "GetCompatibleVideoEncoderConfigurationsResponse", targetNamespace = "http://www.onvif.org/ver10/media/wsdl", className = "org.onvif.ver10.media.wsdl.GetCompatibleVideoEncoderConfigurationsResponse")
@WebResult(name = "Configurations", targetNamespace = "http://www.onvif.org/ver10/media/wsdl")
public java.util.List<org.onvif.ver10.schema.VideoEncoderConfiguration> getCompatibleVideoEncoderConfigurations(

    @WebParam(name = "ProfileToken", targetNamespace = "http://www.onvif.org/ver10/media/wsdl")
    java.lang.String profileToken
);
 
Example #3
Source File: ReplayPort.java    From onvif with Apache License 2.0 5 votes vote down vote up
/**
 * Requests a URI that can be used to initiate playback of a recorded stream
 * using RTSP as the control protocol. The URI is valid only as it is
 * specified in the response.
 * This operation is mandatory.
 *       
 */
@WebMethod(operationName = "GetReplayUri", action = "http://www.onvif.org/ver10/replay/wsdl/GetReplayUri")
@RequestWrapper(localName = "GetReplayUri", targetNamespace = "http://www.onvif.org/ver10/replay/wsdl", className = "org.onvif.ver10.replay.wsdl.GetReplayUri")
@ResponseWrapper(localName = "GetReplayUriResponse", targetNamespace = "http://www.onvif.org/ver10/replay/wsdl", className = "org.onvif.ver10.replay.wsdl.GetReplayUriResponse")
@WebResult(name = "Uri", targetNamespace = "http://www.onvif.org/ver10/replay/wsdl")
public java.lang.String getReplayUri(

    @WebParam(name = "StreamSetup", targetNamespace = "http://www.onvif.org/ver10/replay/wsdl")
    org.onvif.ver10.schema.StreamSetup streamSetup,
    @WebParam(name = "RecordingToken", targetNamespace = "http://www.onvif.org/ver10/replay/wsdl")
    java.lang.String recordingToken
);
 
Example #4
Source File: TIPPortType.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
@WebMethod(
   action = "urn:be:fgov:ehealth:gfddpp:protocol:v1:DeleteData"
)
@WebResult(
   name = "DeleteDataResponse",
   targetNamespace = "urn:be:fgov:ehealth:gfddpp:protocol:v1",
   partName = "body"
)
SimpleResponseType deleteData(@WebParam(name = "DeleteDataRequest",targetNamespace = "urn:be:fgov:ehealth:gfddpp:protocol:v1",partName = "body") SealedMessageRequestType var1) throws SystemError_Exception;
 
Example #5
Source File: SecurityTokenService.java    From steady with Apache License 2.0 5 votes vote down vote up
@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
);
 
Example #6
Source File: RecordingPort.java    From onvif with Apache License 2.0 5 votes vote down vote up
/**
 * GetRecordingConfiguration shall retrieve the recording configuration for a
 *         recording.
 *       
 */
@WebMethod(operationName = "GetRecordingConfiguration", action = "http://www.onvif.org/ver10/recording/wsdl/GetRecordingConfiguration")
@RequestWrapper(localName = "GetRecordingConfiguration", targetNamespace = "http://www.onvif.org/ver10/recording/wsdl", className = "org.onvif.ver10.recording.wsdl.GetRecordingConfiguration")
@ResponseWrapper(localName = "GetRecordingConfigurationResponse", targetNamespace = "http://www.onvif.org/ver10/recording/wsdl", className = "org.onvif.ver10.recording.wsdl.GetRecordingConfigurationResponse")
@WebResult(name = "RecordingConfiguration", targetNamespace = "http://www.onvif.org/ver10/recording/wsdl")
public org.onvif.ver10.schema.RecordingConfiguration getRecordingConfiguration(

    @WebParam(name = "RecordingToken", targetNamespace = "http://www.onvif.org/ver10/recording/wsdl")
    java.lang.String recordingToken
);
 
Example #7
Source File: FakeDepositWebService.java    From webcurator with Apache License 2.0 5 votes vote down vote up
@WebMethod
@WebResult(name = "SubmitDateResult")
public String getDepositActivityBySubmitDate(@WebParam String var1, String var2, String var3, String var4, String var5, String var6, String var7, String var8) {
    // Note: This method does nothing, as it's not used by the FakeDepositWebService. But it must exist to be compliant
    // with the interface.
    return null;
}
 
Example #8
Source File: SayHiImpl.java    From cxf with Apache License 2.0 5 votes vote down vote up
@Override
@WebResult(name = "return", targetNamespace = "http://apache.org/sayHi1")
@RequestWrapper(localName = "sayHi",
                targetNamespace = "http://apache.org/sayHi1",
                className = "org.apache.sayhi1.SayHi")
@WebMethod
@ResponseWrapper(localName = "sayHiResponse",
                 targetNamespace = "http://apache.org/sayHi1",
                 className = "org.apache.sayhi1.SayHiResponse")
public String sayHi(@WebParam(name = "arg0", targetNamespace = "http://apache.org/sayHi1") String arg0) {
    return "Hi";
}
 
Example #9
Source File: SKFEServlet.java    From fido2 with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 *
 * @param payload
 * @param did
 * @return
 *     returns java.lang.String
 */
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "register", targetNamespace = "http://soap.u2f.skfews.strongauth.com/", className = "com.strongauth.skfews.u2f.soap.stubs.Register")
@ResponseWrapper(localName = "registerResponse", targetNamespace = "http://soap.u2f.skfews.strongauth.com/", className = "com.strongauth.skfews.u2f.soap.stubs.RegisterResponse")
@Action(input = "http://soap.u2f.skfews.strongauth.com/SKFEServlet/registerRequest", output = "http://soap.u2f.skfews.strongauth.com/SKFEServlet/registerResponse")
public String register(
    @WebParam(name = "did", targetNamespace = "")
    String did,
    @WebParam(name = "payload", targetNamespace = "")
    String payload);
 
Example #10
Source File: EPCISServicePortType.java    From fosstrak-epcis with GNU Lesser General Public License v2.1 5 votes vote down vote up
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "GetQueryNamesResult", targetNamespace = "urn:epcglobal:epcis-query:xsd:1", partName = "getQueryNamesReturn")
@WebMethod
public org.fosstrak.epcis.model.ArrayOfString getQueryNames(
        @WebParam(partName = "parms", name = "GetQueryNames", targetNamespace = "urn:epcglobal:epcis-query:xsd:1")
        org.fosstrak.epcis.model.EmptyParms parms) throws ImplementationExceptionResponse, SecurityExceptionResponse,
        ValidationExceptionResponse;
 
Example #11
Source File: RecipeExecutorPortType.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
@WebResult(
   name = "MarkAsArchivedResponse",
   targetNamespace = "urn:be:fgov:ehealth:recipe:protocol:v1",
   partName = "body"
)
@WebMethod(
   action = "urn:be:fgov:ehealth:recipe:protocol:v1:MarkAsArchived"
)
MarkAsArchivedResponse markAsArchived(@WebParam(partName = "body",name = "MarkAsArchivedRequest",targetNamespace = "urn:be:fgov:ehealth:recipe:protocol:v1") MarkAsArchivedRequest var1);
 
Example #12
Source File: AnnotatedGreeterImpl.java    From cxf with Apache License 2.0 5 votes vote down vote up
/**
 * overloaded method - present for test purposes
 */
@WebMethod(operationName = "sayHiOverloaded")
@WebResult(name = "responseType2", targetNamespace = "http://apache.org/hello_world_soap_http/types")
@RequestWrapper(className = "org.apache.hello_world_soap_http.types.SayHi2",
                localName = "sayHi2",
                targetNamespace = "http://apache.org/hello_world_soap_http/types")
@ResponseWrapper(className = "org.apache.hello_world_soap_http.types.SayHiResponse2",
                 localName = "sayHiResponse2",
                 targetNamespace = "http://apache.org/hello_world_soap_http/types")
public String sayHi(String me) {
    incrementInvocationCount("overloadedSayHi");
    return "Hi " + me + "!";
}
 
Example #13
Source File: DocumentTypeService.java    From rice with Educational Community License v2.0 5 votes vote down vote up
@WebMethod(operationName = "hasRouteNodeForDocumentTypeId")
@WebResult(name = "hasRouteNode")
@XmlElement(name = "hasRouteNode", required = true)
boolean hasRouteNodeForDocumentTypeId(
        @WebParam(name = "routeNodeName") String routeNodeName,
        @WebParam(name = "documentTypeId") String documentTypeId)
        throws RiceIllegalArgumentException;
 
Example #14
Source File: ResponsibilityService.java    From rice with Educational Community License v2.0 5 votes vote down vote up
/**
 * Checks in a given principal id has a responsibility using the passed in responsibility <b>template</b> information.
 *
 * @param principalId the principal id to check.  cannot be null or blank.
 * @param namespaceCode the namespace code.  cannot be null or blank.
 * @param respTemplateName the responsibility template name. cannot be null or blank.
 * @param qualification the qualification for the responsibility. cannot be null.
 * @param respDetails the responsibility details. cannot be null.
 * @return true is principal has responsibility
 * @throws RiceIllegalArgumentException if the principalId, namespaceCode, respName is null or blank
 * @throws RiceIllegalArgumentException if the qualification or responsibilityDetails is null
 */
@WebMethod(operationName = "hasResponsibilityByTemplate")
@WebResult(name = "result")
@Cacheable(value= Responsibility.Cache.NAME,
        key="'{hasResponsibilityByTemplate}' + 'principalId=' + #p0 + '|' + 'namespaceCode=' + #p1 + '|' + 'respTemplateName=' + #p2 + '|' + 'qualification=' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).mapKey(#p3) + '|' + 'respDetails=' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).mapKey(#p4)",
        condition="!T(org.kuali.rice.kim.api.cache.KimCacheUtils).isResponsibilityTemplateAssignedToDynamicRole(#p1, #p2)")
boolean hasResponsibilityByTemplate(@WebParam(name = "principalId") String principalId,
        @WebParam(name = "namespaceCode") String namespaceCode,
        @WebParam(name = "respTemplateName") String respTemplateName,
        @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) @WebParam(
                name = "qualification") Map<String, String> qualification,
        @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) @WebParam(
                name = "respDetails") Map<String, String> respDetails) throws RiceIllegalArgumentException;
 
Example #15
Source File: KrmsTypeRepositoryService.java    From rice with Educational Community License v2.0 5 votes vote down vote up
/**
 * find the rule types for the specified agenda type
 *
 * @param agendaTypeId to search on
 * @return types that are valid for rules
 */
@WebMethod(operationName = "findRuleTypesForAgendaType")
@XmlElementWrapper(name = "ruleTypes", required = true)
@XmlElement(name = "ruleType", required = false)
@WebResult(name = "ruleTypes")
List<KrmsTypeDefinition> findRuleTypesForAgendaType(@WebParam(name = "agendaTypeId") String agendaTypeId)
        throws RiceIllegalArgumentException;
 
Example #16
Source File: RecipeExecutorPortType.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
@WebResult(
   name = "ListNotificationsResponse",
   targetNamespace = "urn:be:fgov:ehealth:recipe:protocol:v1",
   partName = "body"
)
@WebMethod(
   action = "urn:be:fgov:ehealth:recipe:protocol:v1:ListNotifications"
)
ListNotificationsResponse listNotifications(@WebParam(partName = "body",name = "ListNotificationsRequest",targetNamespace = "urn:be:fgov:ehealth:recipe:protocol:v1") ListNotificationsRequest var1);
 
Example #17
Source File: SKFSServlet.java    From fido2 with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
 * 
 * @param svcinfo
 * @param payload
 * @return
 *     returns java.lang.String
 */
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "preauthenticate", targetNamespace = "http://soap.skfs.strongauth.com/", className = "com.strongkey.skfs.soapstubs.Preauthenticate")
@ResponseWrapper(localName = "preauthenticateResponse", targetNamespace = "http://soap.skfs.strongauth.com/", className = "com.strongkey.skfs.soapstubs.PreauthenticateResponse")
@Action(input = "http://soap.skfs.strongauth.com/SKFSServlet/preauthenticateRequest", output = "http://soap.skfs.strongauth.com/SKFSServlet/preauthenticateResponse")
public String preauthenticate(
    @WebParam(name = "svcinfo", targetNamespace = "")
    String svcinfo,
    @WebParam(name = "payload", targetNamespace = "")
    String payload);
 
Example #18
Source File: QAPortType.java    From axelor-open-suite with GNU Affero General Public License v3.0 5 votes vote down vote up
@WebResult(
  name = "QALayouts",
  targetNamespace = "http://www.qas.com/web-2005-02",
  partName = "body"
)
@WebMethod(operationName = "DoGetLayouts", action = "http://www.qas.com/web-2005-02/DoGetLayouts")
public QALayouts doGetLayouts(
    @WebParam(
          partName = "body",
          name = "QAGetLayouts",
          targetNamespace = "http://www.qas.com/web-2005-02"
        )
        QAGetLayouts body)
    throws Fault;
 
Example #19
Source File: SecurityTokenService.java    From cxf with Apache License 2.0 5 votes vote down vote up
@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/Cancel",
        output = "http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal")
@WebMethod(operationName = "Cancel")
RequestSecurityTokenResponseType cancel(
    @WebParam(partName = "request", name = "RequestSecurityToken",
              targetNamespace = "http://docs.oasis-open.org/ws-sx/ws-trust/200512")
    RequestSecurityTokenType request
);
 
Example #20
Source File: JavaFirstService.java    From dropwizard-jaxws with Apache License 2.0 4 votes vote down vote up
@WebMethod(operationName = "Echo")
@WebResult(name = "EchoResponse")
String echo(@WebParam(name = "EchoParameter") String in) throws JavaFirstServiceException;
 
Example #21
Source File: GroupService.java    From rice with Educational Community License v2.0 4 votes vote down vote up
@WebMethod(operationName = "isMemberOfGroupWithDate")
@WebResult(name = "isMember")
boolean isMemberOfGroupWithDate(String principalId, String groupId,
        @XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
 
Example #22
Source File: DocumentTypeService.java    From rice with Educational Community License v2.0 4 votes vote down vote up
@WebMethod(operationName = "getRoutePathForDocumentTypeId")
@WebResult(name = "routePath")
@XmlElement(name = "routePath", required = false)
@Cacheable(value= RoutePath.Cache.NAME, key="'documentTypeId=' + #p0")
RoutePath getRoutePathForDocumentTypeId(@WebParam(name = "documentTypeId") String documentTypeId)
        throws RiceIllegalArgumentException;
 
Example #23
Source File: CodeGenTest.java    From cxf with Apache License 2.0 4 votes vote down vote up
@Test
public void testHelloWorldSoap12() throws Exception {
    env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl2java_wsdl/hello_world_soap12.wsdl"));
    processor.setContext(env);
    processor.execute();

    assertNotNull(output);

    File org = new File(output, "org");
    assertTrue(org.exists());
    File apache = new File(org, "apache");
    assertTrue(apache.exists());
    File cxf = new File(apache, "cxf");
    assertTrue(cxf.exists());
    File w2j = new File(cxf, "w2j");
    assertTrue(w2j.exists());
    File helloworldsoaphttp = new File(w2j, "hello_world_soap12_http");
    assertTrue(helloworldsoaphttp.exists());
    File types = new File(helloworldsoaphttp, "types");
    assertTrue(types.exists());
    File[] files = helloworldsoaphttp.listFiles();
    assertEquals(5, files.length);
    files = types.listFiles();
    assertEquals(7, files.length);

    Class<?> clz = classLoader.loadClass("org.apache.cxf.w2j.hello_world_soap12_http.Greeter");
    assertTrue("class " + clz.getName() + " modifier is not public", Modifier
        .isPublic(clz.getModifiers()));
    assertTrue("class " + clz.getName() + " modifier is interface", Modifier.isInterface(clz
        .getModifiers()));

    WebService webServiceAnn = AnnotationUtil.getPrivClassAnnotation(clz, WebService.class);
    assertEquals("Greeter", webServiceAnn.name());

    Method method = clz.getMethod("sayHi", new Class[] {});
    WebMethod webMethodAnno = AnnotationUtil.getPrivMethodAnnotation(method, WebMethod.class);
    if (webMethodAnno.operationName() != null
        && !"".equals(webMethodAnno.operationName())) {
        assertEquals(method.getName() + "()" + " Annotation : WebMethod.operationName ", "sayHi",
                 webMethodAnno.operationName());
    }

    RequestWrapper requestWrapperAnn = AnnotationUtil.getPrivMethodAnnotation(method,
                                                                              RequestWrapper.class);

    assertEquals("org.apache.cxf.w2j.hello_world_soap12_http.types.SayHi",
                 requestWrapperAnn.className());

    ResponseWrapper resposneWrapperAnn = AnnotationUtil.getPrivMethodAnnotation(method,
                                                                                ResponseWrapper.class);

    assertEquals("sayHiResponse", resposneWrapperAnn.localName());

    WebResult webResultAnno = AnnotationUtil.getPrivMethodAnnotation(method, WebResult.class);

    assertEquals("responseType", webResultAnno.name());

    method = clz.getMethod("pingMe", new Class[] {});
    webMethodAnno = AnnotationUtil.getPrivMethodAnnotation(method, WebMethod.class);
    if (webMethodAnno.operationName() != null
        && !"".equals(webMethodAnno.operationName())) {
        assertEquals(method.getName() + "()" + " Annotation : WebMethod.operationName ", "pingMe",
                 webMethodAnno.operationName());
    }
    Class<?>[] exceptionCls = method.getExceptionTypes();
    assertEquals(1, exceptionCls.length);
    assertEquals("org.apache.cxf.w2j.hello_world_soap12_http.PingMeFault",
                 exceptionCls[0].getName());
}
 
Example #24
Source File: PersonServiceAnnotated.java    From cxf with Apache License 2.0 4 votes vote down vote up
@SchemaValidation(type = SchemaValidationType.OUT)
@WebMethod(operationName = "saveValidateOut")
@WebResult(name = "Person")
Person saveValidateOut(@WebParam(name = "Person") Person data);
 
Example #25
Source File: ComparisonOperatorService.java    From rice with Educational Community License v2.0 4 votes vote down vote up
@Override
@WebMethod(operationName = "canCoerce")
@WebResult(name = "coerced")
public boolean canCoerce(String type, String value);
 
Example #26
Source File: CmsMetadataServiceInterface.java    From googleads-java-lib with Apache License 2.0 3 votes vote down vote up
/**
 * 
 *         Returns a page of {@link CmsMetadataValue}s matching the specified {@link Statement}. The
 *         following fields are supported for filtering:
 *         
 *         <table>
 *         <tr>
 *         <th scope = "col">PQL Property</th> <th scope="col">Object Property</th>
 *         </tr>
 *         <tr>
 *         <td>{@code id}</td>
 *         <td>{@link CmsMetadataValue#cmsMetadataValueId}</td>
 *         </tr>
 *         <tr>
 *         <td>{@code cmsValue}</td>
 *         <td>{@link CmsMetadataValue#valueName}</td>
 *         </tr>
 *         <tr>
 *         <td>{@code cmsKey}</td>
 *         <td>{@link CmsMetadataValue#key#name}</td>
 *         </tr>
 *         <tr>
 *         <td>{@code cmsKeyId}</td>
 *         <td>{@link CmsMetadataValue#key#id}</td>
 *         </tr>
 *         <tr>
 *         <td>{@code keyValueMemberContent}</td>
 *         <td>Content IDs tagged with a CMS metadata key-value</td>
 *         </tr>
 *         <tr>
 *         <td>{@code status}</td>
 *         <td>{@link CmsMetadataValue#status}</td>
 *         </tr>
 *         </table>
 *       
 * 
 * @param statement
 * @return
 *     returns com.google.api.ads.admanager.jaxws.v202005.CmsMetadataValuePage
 * @throws ApiException_Exception
 */
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v202005")
@RequestWrapper(localName = "getCmsMetadataValuesByStatement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202005", className = "com.google.api.ads.admanager.jaxws.v202005.CmsMetadataServiceInterfacegetCmsMetadataValuesByStatement")
@ResponseWrapper(localName = "getCmsMetadataValuesByStatementResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v202005", className = "com.google.api.ads.admanager.jaxws.v202005.CmsMetadataServiceInterfacegetCmsMetadataValuesByStatementResponse")
public CmsMetadataValuePage getCmsMetadataValuesByStatement(
    @WebParam(name = "statement", targetNamespace = "https://www.google.com/apis/ads/publisher/v202005")
    Statement statement)
    throws ApiException_Exception
;
 
Example #27
Source File: ProvisioningService.java    From development with Apache License 2.0 3 votes vote down vote up
/**
 * This method is called when a customer subscribes to a service whose
 * underlying technical service defines synchronous provisioning. It
 * retrieves an application instance for the subscription.
 * <p>
 * The application is supposed to perform whatever is required for the new
 * subscription and to return an identifier for the new instance to the
 * platform for future reference. The actions to be performed and the items
 * to be created, if any, depend on the concepts and functionality of the
 * application. For example, an application that stores data for a customer
 * may create a separate workspace in a data container or a separate
 * database instance.
 * 
 * @param request
 *            an <code>InstanceRequest</code> object specifying the
 *            subscription for which an instance is to be provisioned
 * @param requestingUser
 *            a <code>User</code> object specifying the platform user who
 *            requests the instance operation
 * @return an <code>InstanceResult</code> object representing the
 *         application instance for the subscription
 */
@WebMethod(action = "urn:createInstance")
@WebResult(name = "return")
@SOAPBinding(parameterStyle = WRAPPED)
public InstanceResult createInstance(
        @WebParam(name = "request") InstanceRequest request,
        @WebParam(name = "requestingUser") User requestingUser);
 
Example #28
Source File: DocumentService.java    From document-management-software with GNU Lesser General Public License v3.0 3 votes vote down vote up
/**
 * Puts a new rating on the given document
 * 
 * @param sid identifier of the session
 * @param docId identifier of the document
 * @param vote the vote
 * 
 * @return the rating
 * 
 * @throws Exception error in the server application
 */
@WebMethod
@WebResult(name = "rating")
@WSDoc(description = "rates the given document")
public WSRating rateDocument(
		@WSDoc(description = "identifier of the session", required = true) @WebParam(name = "sid") String sid,
		@WSDoc(description = "the document id") @WebParam(name = "docId") long docId,
		@WebParam(name = "vote") int vote) throws Exception;
 
Example #29
Source File: CdnConfigurationServiceInterface.java    From googleads-java-lib with Apache License 2.0 3 votes vote down vote up
/**
 * 
 *         Creates new {@link CdnConfiguration} objects.
 *       
 * 
 * @param cdnConfigurations
 * @return
 *     returns java.util.List<com.google.api.ads.admanager.jaxws.v201908.CdnConfiguration>
 * @throws ApiException_Exception
 */
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201908")
@RequestWrapper(localName = "createCdnConfigurations", targetNamespace = "https://www.google.com/apis/ads/publisher/v201908", className = "com.google.api.ads.admanager.jaxws.v201908.CdnConfigurationServiceInterfacecreateCdnConfigurations")
@ResponseWrapper(localName = "createCdnConfigurationsResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201908", className = "com.google.api.ads.admanager.jaxws.v201908.CdnConfigurationServiceInterfacecreateCdnConfigurationsResponse")
public List<CdnConfiguration> createCdnConfigurations(
    @WebParam(name = "cdnConfigurations", targetNamespace = "https://www.google.com/apis/ads/publisher/v201908")
    List<CdnConfiguration> cdnConfigurations)
    throws ApiException_Exception
;
 
Example #30
Source File: CreativeServiceInterface.java    From googleads-java-lib with Apache License 2.0 3 votes vote down vote up
/**
 * 
 *         Updates the specified {@link Creative} objects.
 *         
 *         @param creatives the creatives to update
 *         @return the updated creatives
 *       
 * 
 * @param creatives
 * @return
 *     returns java.util.List<com.google.api.ads.admanager.jaxws.v201911.Creative>
 * @throws ApiException_Exception
 */
@WebMethod
@WebResult(name = "rval", targetNamespace = "https://www.google.com/apis/ads/publisher/v201911")
@RequestWrapper(localName = "updateCreatives", targetNamespace = "https://www.google.com/apis/ads/publisher/v201911", className = "com.google.api.ads.admanager.jaxws.v201911.CreativeServiceInterfaceupdateCreatives")
@ResponseWrapper(localName = "updateCreativesResponse", targetNamespace = "https://www.google.com/apis/ads/publisher/v201911", className = "com.google.api.ads.admanager.jaxws.v201911.CreativeServiceInterfaceupdateCreativesResponse")
public List<Creative> updateCreatives(
    @WebParam(name = "creatives", targetNamespace = "https://www.google.com/apis/ads/publisher/v201911")
    List<Creative> creatives)
    throws ApiException_Exception
;