Designer 10.7 | webMethods Mobile Development | Services Object Reference | Objects to Use for RESTful Services | Method Properties
 
Method Properties
Property
Description
Class Name
Name of a Java class that Mobile Development generates in the gen/src folder in the package_name.services.rest package, where package_name is the package name that you specified for your mobile project.
The generated Java class contains a constructor that sets the URI and contains the dynamic URI elements as parameters. The dynamic URI elements, if any, are the ones that you specify in the Resources object’s Base property and Resource objects’ Path properties.
The Java class includes an execute method that the mobile application invokes to execute the REST service.
Name
How the request is sent over the network. Select one of the following:
*DELETE to delete the resource identified by the request URI on the server.
*GET to send the request with the data attached to the request address (URI).
*POST to send the request with the data sent as a separate data block.
*PUT to send the request with the data sent as a separate data block.
Related Topics