webMethods 10.2 | Integration Server Administrator's Guide | Wireless Communication with the Integration Server | Using URLs for Wireless Access to the Integration Server | Invoking a Service with a URL
 
Invoking a Service with a URL
You can use a URL to invoke a service from an Internet-enabled wireless device. You can request a URL by entering the URL into the web browser directly or by selecting a link for the URL that is embedded into a HDML or WML page. In either case, the URL needs to be in the following format:
Item
Description
1
Identifies the name and port number for the Integration Server on which the service you want to invoke resides.
Important: For wireless access, the server name (localhost) must be a registered domain name; that is, the server needs to be accessible via the Internet.
Important: Many wireless gateways use port 80 as the default registered port number. If you want to use a different port number, make sure to register the server name and port number with the wireless gateway. (For security reasons, Software AG discourages using port numbers below 1024. For more information, see Setting Up Aliases for Remote Integration Servers.
2
Specifies the required keyword "invoke", which tells the Integration Server that the URL identifies a service that is to be invoked.
3
Identifies the folder in which the service to invoke resides. Separate subfolders with periods. This field is case sensitive. Be sure to use the same combination of upper and lower case letters as specified in the folder name on the Integration Server.
4
Identifies the service that you want to invoke. This field is case sensitive. Be sure to use the same combination of upper and lower case letters as specified in the service name on the Integration Server.
5
Specifies the input values for the service. Specify a question mark (?) before the input values. The question mark signals the beginning of input values. Each input value is represented as a variable=value pair. The variable portion is case sensitive. Be sure to use the same combination of upper and lower case letters as specified in your service. If your service requires more than one input value, separate each variable=value pair with an ampersand (&).
Note: Only specify this part of the URL when using the HTTP GET method.
For more information about invoking a service with a URL, see "Building a Browser Based Client" in webMethods Service Development Help.
Note: If you use the URL to invoke a service, make sure that the service applies the output to the appropriate template type (WML or HDML). For more information about creating output templates, see the Dynamic Server Pages and Output Templates Developer’s Guide.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release