Create a project using the Top-Down approach.
In the example, the BlackBerry MDS Runtime Application is called Studio_XMLPush and
the default Uniform Resource Identifier (URI) is research_in_motion/studio_xmlpush.
Create an inbound message to accept the push. In the
example, the message is called myResponseMsg.
Add a field to the message called mp0 using
the default field type, which is string.
Create a script that executes when the response message
gets to the BlackBerry smartphone. The following is an example:
function MyResponseScript() {
Dialog.display("Pushed string: " + myResponseMsg.mp0);
}
Generate a Web Services Description Language (WSDL) using
the default settings.
Publish the BlackBerry MDS Runtime Application to a BlackBerry®
Enterprise Server running BlackBerry MDS Integration Service 1.1.2
or later.
Install and run the BlackBerry MDS Runtime Application
on the BlackBerry smartphone.
Send an HTTP POST with the appropriate configuration
to the BlackBerry MDS Integration Service server. Here are some
examples of the format of the connection URL:
Simple Object Access Protocol (SOAP) request parameter
for a broadcast
http://<myServer>:<myPushPort>/mds/PushListener?
appUri=research_in_motion/
studio_xmlpush&appLocale=en&appVersion=1.1.0&
HTTP/1.1
SOAP request parameter when sending to a specific BlackBerry
smartphone
http://<myServer>:<myPushPort>/mds/
PushListener?destination=<BlackBerryPINOrEmailAddress>
&appUri=research_in_motion/
studio_xmlpush&appLocale=en&appVersion=1.1.0&
HTTP/1.1
Raw Extensible Markup Language (XML) pushed
<string_Wrap>Eureka!</string_Wrap>
Note: The default BlackBerry MDS Integration Service push port for
the BlackBerry Enterprise Server is 7090. For BlackBerry MDS Studio
2.0 and later, the default port is 17090.
Observe Eureka! displayed within a dialog
window in the BlackBerry MDS Runtime Application.
Note: This feature requires BlackBerry MDS Integration Service 1.1.2
or later.