<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.upsidewireless.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.upsidewireless.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Old-user20</id>
		<title>SMS Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://docs.upsidewireless.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Old-user20"/>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Special:Contributions/Old-user20"/>
		<updated>2026-05-02T08:26:11Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.22.0</generator>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP</id>
		<title>Java Sending SMS via SOAP</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP"/>
				<updated>2007-06-05T18:01:45Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Source code for this project can be found [http://api.upsidewireless.com/samples/java/Java%20SOAP%20Demo.zip here]'''&lt;br /&gt;
&lt;br /&gt;
The process of sending an SMS using Java is fairly straightforward.&lt;br /&gt;
&lt;br /&gt;
The easiest setup is to use Eclipse with the XFire plugin. XFire is an opensource Java SOAP interface http://xfire.codehaus.org/&lt;br /&gt;
&lt;br /&gt;
* Once you have the plugin installed, add the XFire nature to your project by right clicking on the project and selecting &amp;quot;Add XFire Nature&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Then, again, right click on the project and specify &amp;quot;New &amp;gt; Other...&amp;quot;. At the bottom of the list should be an option labeled &amp;quot;Code generation from WSDL Document&amp;quot;. Select this option and enter the following into the dialog presented:&lt;br /&gt;
&lt;br /&gt;
 WSDL: http://api.upsidewireless.com/soap/Authentication.asmx?WSDL&lt;br /&gt;
 Output Directory: &amp;lt;Your source directory&amp;gt;&lt;br /&gt;
 Package: &amp;lt;Leave Blank&amp;gt; (By leaving this field blank, the default package of the service will be used)&lt;br /&gt;
 Click Finish and it will build the necessary source files. Repeat the process for: http://api.upsidewireless.com/soap/SMS.asmx?WSDL&lt;br /&gt;
&lt;br /&gt;
* Now that you have both sets of XFire client code generated (one for authentication and the other for sending SMS), now it is time to make a call. The essence of making the call is the following 3 lines of code (it can be reduce down to a single line of code, but that would make debugging difficult):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
SMSClient client = new SMSClient();&lt;br /&gt;
SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the one liner:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
new SMSClient().getSMSSoap().send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A complete &amp;quot;Main&amp;quot; style application would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
import org.codehaus.xfire.XFireRuntimeException;&lt;br /&gt;
&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationClient;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationParameters;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSClient;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SmsEncoding;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * @author cjensen&lt;br /&gt;
 * &lt;br /&gt;
 */&lt;br /&gt;
public class SendSms {&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * @param args&lt;br /&gt;
	 */&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * Execute the retrieval of the token and signature only once.&lt;br /&gt;
		 * Preferably from the web interface and store them as Constants&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		AuthenticationClient authclient = new AuthenticationClient();&lt;br /&gt;
		AuthenticationSoap authsoap = authclient.getAuthenticationSoap();&lt;br /&gt;
&lt;br /&gt;
		AuthenticationParameters authparams = authsoap.getParameters(&amp;quot;YourUserName&amp;quot;, &amp;quot;YourPassword&amp;quot;);&lt;br /&gt;
		String token = authparams.getToken();&lt;br /&gt;
		String signature = authparams.getSignature();&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * We now have the credentials, now build a SOAP client and make the&lt;br /&gt;
		 * call.&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		SMSClient client = new SMSClient();&lt;br /&gt;
		SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
		soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP</id>
		<title>Java Sending SMS via SOAP</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP"/>
				<updated>2007-06-05T17:48:38Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The process of sending an SMS using Java is fairly straightforward.&lt;br /&gt;
&lt;br /&gt;
The easiest setup is to use Eclipse with the XFire plugin. XFire is an opensource Java SOAP interface http://xfire.codehaus.org/&lt;br /&gt;
&lt;br /&gt;
* Once you have the plugin installed, add the XFire nature to your project by right clicking on the project and selecting &amp;quot;Add XFire Nature&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Then, again, right click on the project and specify &amp;quot;New &amp;gt; Other...&amp;quot;. At the bottom of the list should be an option labeled &amp;quot;Code generation from WSDL Document&amp;quot;. Select this option and enter the following into the dialog presented:&lt;br /&gt;
&lt;br /&gt;
 WSDL: http://api.upsidewireless.com/soap/Authentication.asmx?WSDL&lt;br /&gt;
 Output Directory: &amp;lt;Your source directory&amp;gt;&lt;br /&gt;
 Package: &amp;lt;Leave Blank&amp;gt; (By leaving this field blank, the default package of the service will be used)&lt;br /&gt;
 Click Finish and it will build the necessary source files. Repeat the process for: http://api.upsidewireless.com/soap/SMS.asmx?WSDL&lt;br /&gt;
&lt;br /&gt;
* Now that you have both sets of XFire client code generated (one for authentication and the other for sending SMS), now it is time to make a call. The essence of making the call is the following 3 lines of code (it can be reduce down to a single line of code, but that would make debugging difficult):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
SMSClient client = new SMSClient();&lt;br /&gt;
SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the one liner:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
new SMSClient().getSMSSoap().send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A complete &amp;quot;Main&amp;quot; style application would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
import org.codehaus.xfire.XFireRuntimeException;&lt;br /&gt;
&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationClient;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationParameters;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSClient;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SmsEncoding;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * @author cjensen&lt;br /&gt;
 * &lt;br /&gt;
 */&lt;br /&gt;
public class SendSms {&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * @param args&lt;br /&gt;
	 */&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * Execute the retrieval of the token and signature only once.&lt;br /&gt;
		 * Preferably from the web interface and store them as Constants&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		AuthenticationClient authclient = new AuthenticationClient();&lt;br /&gt;
		AuthenticationSoap authsoap = authclient.getAuthenticationSoap();&lt;br /&gt;
&lt;br /&gt;
		AuthenticationParameters authparams = authsoap.getParameters(&amp;quot;YourUserName&amp;quot;, &amp;quot;YourPassword&amp;quot;);&lt;br /&gt;
		String token = authparams.getToken();&lt;br /&gt;
		String signature = authparams.getSignature();&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * We now have the credentials, now build a SOAP client and make the&lt;br /&gt;
		 * call.&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		SMSClient client = new SMSClient();&lt;br /&gt;
		SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
		soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP</id>
		<title>Java Sending SMS via SOAP</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP"/>
				<updated>2007-06-05T17:47:08Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The process of sending an SMS using Java is fairly straightforward.&lt;br /&gt;
&lt;br /&gt;
The easiest setup is to use Eclipse with the XFire plugin. XFire is an opensource Java SOAP interface http://xfire.codehaus.org/&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin installed, add the XFire nature to your project by right clicking on the project and selecting &amp;quot;Add XFire Nature&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then, again, right click on the project and specify &amp;quot;New &amp;gt; Other...&amp;quot;. At the bottom of the list should be an option labeled &amp;quot;Code generation from WSDL Document&amp;quot;. Select this option and enter the following into the dialog presented:&lt;br /&gt;
&lt;br /&gt;
WSDL: http://api.upsidewireless.com/soap/Authentication.asmx?WSDL&lt;br /&gt;
Output Directory: &amp;lt;Your source directory&amp;gt;&lt;br /&gt;
Package: &amp;lt;Leave Blank&amp;gt; (By leaving this field blank, the default package of the service will be used)&lt;br /&gt;
&lt;br /&gt;
Click Finish and it will build the necessary source files. Repeat the process for: http://api.upsidewireless.com/soap/SMS.asmx?WSDL&lt;br /&gt;
&lt;br /&gt;
Now that you have both sets of XFire client code generated (one for authentication and the other for sending SMS), now it is time to make a call. The essence of making the call is the following 3 lines of code (it can be reduce down to a single line of code, but that would make debugging difficult):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
SMSClient client = new SMSClient();&lt;br /&gt;
SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the one liner:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
new SMSClient().getSMSSoap().send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A complete &amp;quot;Main&amp;quot; style application would look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
import org.codehaus.xfire.XFireRuntimeException;&lt;br /&gt;
&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationClient;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationParameters;&lt;br /&gt;
import com.upsidewireless.webservice.authentication.AuthenticationSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSClient;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SMSSoap;&lt;br /&gt;
import com.upsidewireless.webservice.sms.SmsEncoding;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * @author cjensen&lt;br /&gt;
 * &lt;br /&gt;
 */&lt;br /&gt;
public class SendSms {&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * @param args&lt;br /&gt;
	 */&lt;br /&gt;
	public static void main(String[] args) {&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * Execute the retrieval of the token and signature only once.&lt;br /&gt;
		 * Preferably from the web interface and store them as Constants&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		AuthenticationClient authclient = new AuthenticationClient();&lt;br /&gt;
		AuthenticationSoap authsoap = authclient.getAuthenticationSoap();&lt;br /&gt;
&lt;br /&gt;
		AuthenticationParameters authparams = authsoap.getParameters(&amp;quot;YourUserName&amp;quot;, &amp;quot;YourPassword&amp;quot;);&lt;br /&gt;
		String token = authparams.getToken();&lt;br /&gt;
		String signature = authparams.getSignature();&lt;br /&gt;
&lt;br /&gt;
		/***********************************************************************&lt;br /&gt;
		 * We now have the credentials, now build a SOAP client and make the&lt;br /&gt;
		 * call.&lt;br /&gt;
		 **********************************************************************/&lt;br /&gt;
&lt;br /&gt;
		SMSClient client = new SMSClient();&lt;br /&gt;
		SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
		soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP</id>
		<title>Java Sending SMS via SOAP</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Java_Sending_SMS_via_SOAP"/>
				<updated>2007-06-05T17:42:39Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: The process of sending an SMS using Java is fairly straightforward.  The easiest setup is to use Eclipse with the XFire plugin. XFire is an opensource Java SOAP interface http://xfire.code...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The process of sending an SMS using Java is fairly straightforward.&lt;br /&gt;
&lt;br /&gt;
The easiest setup is to use Eclipse with the XFire plugin. XFire is an opensource Java SOAP interface http://xfire.codehaus.org/&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin installed, add the XFire nature to your project by right clicking on the project and selecting &amp;quot;Add XFire Nature&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then, again, right click on the project and specify &amp;quot;New &amp;gt; Other...&amp;quot;. At the bottom of the list should be an option labeled &amp;quot;Code generation from WSDL Document&amp;quot;. Select this option and enter the following into the dialog presented:&lt;br /&gt;
&lt;br /&gt;
WSDL: http://api.upsidewireless.com/soap/Authentication.asmx?WSDL&lt;br /&gt;
Output Directory: &amp;lt;Your source directory&amp;gt;&lt;br /&gt;
Package: &amp;lt;Leave Blank&amp;gt; (By leaving this field blank, the default package of the service will be used)&lt;br /&gt;
&lt;br /&gt;
Click Finish and it will build the necessary source files. Repeat the process for: http://api.upsidewireless.com/soap/SMS.asmx?WSDL&lt;br /&gt;
&lt;br /&gt;
Now that you have both sets of XFire client code generated (one for authentication and the other for sending SMS), now it is time to make a call. The essence of making the call is the following 3 lines of code (it can be reduce down to a single line of code, but that would make debugging difficult):&lt;br /&gt;
&lt;br /&gt;
SMSClient client = new SMSClient();&lt;br /&gt;
SMSSoap soap = client.getSMSSoap();&lt;br /&gt;
soap.send_Plain(token, signature, &amp;quot;+15557779999&amp;quot;, &amp;quot;Hello&amp;quot;, SmsEncoding.SEVEN);&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-06-05T17:25:24Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: added the Java Soap Sending link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** [[MO POP3]]&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** [[MO HTTPS]]&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** [[MT HTTP]]&lt;br /&gt;
** [[MT SMTP]]&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** [[MT Web Text]]&lt;br /&gt;
*** [[MT IP Address]]&lt;br /&gt;
* [[User Management]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS via HTTP POST]]&lt;br /&gt;
*** [[PHP Sending SMS via SMTP | Sending SMS via SMTP]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** [[Java Sending SMS via SOAP | Sending SMS via SOAP]]&lt;br /&gt;
*** [[Java Sending SMS via SMTP | Sending SMS via SMTP]]&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Sending SMS via SMTP | Sending SMS via SMTP]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts</id>
		<title>Examples And Concepts</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts"/>
				<updated>2007-05-11T18:32:49Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== SOAP API Usage ===&lt;br /&gt;
Every function of the SOAP API that requires authentication must pass in Authentication Parameters, to acquire a set of Authentication Parameters, please use the API found at: http://api.upsidewireless.com/soap/Authentication.asmx&lt;br /&gt;
&lt;br /&gt;
The two values that are returned from the function are then used for every subsequent calls to the API. The Token parameter will never change for the life of the account whereas the Signature will change if your password changes. In most applications, you will store these variables in a constant or configuration store.&lt;br /&gt;
&lt;br /&gt;
=== Sending SMS ===&lt;br /&gt;
&lt;br /&gt;
=== Receiving SMS ===&lt;br /&gt;
The method of receiving Inbound SMS messages is by way of HTTP POST. A few variables are passed in the body of the POST.&lt;br /&gt;
* name&lt;br /&gt;
* sender&lt;br /&gt;
* data&lt;br /&gt;
* carriercode &amp;lt;&amp;lt; For shortcode accounts only&lt;br /&gt;
* inboundnumber &amp;lt;&amp;lt; For Dedicated accounts only&lt;br /&gt;
&lt;br /&gt;
In order to receive an SMS you must first register a URL in your account. Your account must be enabled to allow adding of URLs. Once your account has the registered URL set up, you will then need to forward all inbound SMS messages to that URL.&lt;br /&gt;
&lt;br /&gt;
You can use the following HTML to emulate what our server will send your service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;head&amp;gt;&lt;br /&gt;
		&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;title&amp;gt;Received SMS Emulator (Via HTTP POST)&amp;lt;/title&amp;gt;&lt;br /&gt;
	&amp;lt;/head&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;form id=&amp;quot;emulator&amp;quot; name=&amp;quot;emulator&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;http://sms.yourdomain.com/incoming.php&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;table&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Sender:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;sender&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;sender&amp;quot; value=&amp;quot;17789964283&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;sender&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Message:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;data&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;data&amp;quot; value=&amp;quot;Hello&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;data&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;User Name:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;name&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;name&amp;quot; value=&amp;quot;cjensen&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;name&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Inbound Number:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;inboundnumber&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;inboundnumber&amp;quot; value=&amp;quot;16047807002&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;inboundnumber&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Carrier Code:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;carriercode&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;carriercode&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;carriercode&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
						&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Submit&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
			&amp;lt;/table&amp;gt;&lt;br /&gt;
		&amp;lt;/form&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-05-11T18:21:34Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** [[MO POP3]]&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** [[MO HTTPS]]&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** [[MT HTTP]]&lt;br /&gt;
** [[MT SMTP]]&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** [[MT Web Text]]&lt;br /&gt;
*** [[MT IP Address]]&lt;br /&gt;
* [[User Management]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=MO_POP3</id>
		<title>MO POP3</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=MO_POP3"/>
				<updated>2007-05-11T18:20:43Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: http://www.ipipi.com/help/connectusingmailclient.htm&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.ipipi.com/help/connectusingmailclient.htm&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-05-11T18:20:15Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** [[MO POP3]]&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** [[MO HTTPS]]&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** [[MT HTTP]]&lt;br /&gt;
** [[MT SMTP]]&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** [[MT Web Text]]&lt;br /&gt;
*** [[MT IP Address]]&lt;br /&gt;
* [[User Management]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=User_Management</id>
		<title>User Management</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=User_Management"/>
				<updated>2007-05-11T18:19:43Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: Coming Soon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Coming Soon&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-05-11T18:19:34Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** MO POP3&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** MO HTTPS&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** [[MT HTTP]]&lt;br /&gt;
** [[MT SMTP]]&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** [[MT Web Text]]&lt;br /&gt;
*** [[MT IP Address]]&lt;br /&gt;
* [[User Management]]&lt;br /&gt;
* [[Settings]]&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=MTIntro</id>
		<title>MTIntro</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=MTIntro"/>
				<updated>2007-05-11T18:18:46Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: We offer a number of various ways of integrating your application with our SMS Gateway.  Here are a few guidlines to help you choose the implementation strategy that suites your applicatio...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We offer a number of various ways of integrating your application with our SMS Gateway.&lt;br /&gt;
&lt;br /&gt;
Here are a few guidlines to help you choose the implementation strategy that suites your application best:&lt;br /&gt;
&lt;br /&gt;
HTTP&lt;br /&gt;
&lt;br /&gt;
SMTP&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=MT_IP_Address</id>
		<title>MT IP Address</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=MT_IP_Address"/>
				<updated>2007-05-11T18:18:35Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: contact us  not recommended  “To” SMS_number_in_international_format@sms.ipipi.com  “cc” Leave empty  “bcc” Leave empty  “Subject” Leave empty or use one or all of the comp...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;contact us&lt;br /&gt;
&lt;br /&gt;
not recommended&lt;br /&gt;
&lt;br /&gt;
“To” SMS_number_in_international_format@sms.ipipi.com &lt;br /&gt;
“cc” Leave empty &lt;br /&gt;
“bcc” Leave empty &lt;br /&gt;
“Subject” Leave empty or use one or all of the compression options described below. &lt;br /&gt;
&lt;br /&gt;
The following are examples of valid entries in the subject line:&lt;br /&gt;
&lt;br /&gt;
***************&lt;br /&gt;
a &lt;br /&gt;
p,c &lt;br /&gt;
a,p,c &lt;br /&gt;
[blank] – you can leave the subject line empty – compression will be turned off &lt;br /&gt;
Read more on available SMS compression options here &lt;br /&gt;
***************&lt;br /&gt;
 &lt;br /&gt;
“Message” Write the text of your SMS message. Please note that there is a maximum number of characters that you can write (about 150) .&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=MT_Web_Text</id>
		<title>MT Web Text</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=MT_Web_Text"/>
				<updated>2007-05-11T18:17:04Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: http://www.ipipi.com/help/sms_from_webmail.htm&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.ipipi.com/help/sms_from_webmail.htm&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-05-11T18:16:56Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** MO POP3&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** MO HTTPS&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** MT HTTP&lt;br /&gt;
** MT SMTP&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** [[MT Web Text]]&lt;br /&gt;
*** [[MT IP Address]]&lt;br /&gt;
* User Management&lt;br /&gt;
* Settings&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Main_Page"/>
				<updated>2007-05-11T18:10:06Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;EnterpriseSMS API is used to incorporate SMS text messaging into your large scale enterprise application. Several integration methods are available to satisfy various integration needs of our customers. This document explains three integration methods for sending and two integration methods for receiving messages.&lt;br /&gt;
&lt;br /&gt;
These accounts offer:&lt;br /&gt;
* High throughput (up to 100 messages per second)&lt;br /&gt;
* Complete global coverage&lt;br /&gt;
* Two-way capability (MT/MO)&lt;br /&gt;
* Simple and quick integration&lt;br /&gt;
* Full transaction auditing&lt;br /&gt;
&lt;br /&gt;
For full documentation and example of the API please refer to [[APIs | Upside Wireless APIs]]&lt;br /&gt;
&lt;br /&gt;
To see a complete list of supported networks, please see [http://reseller.upsidewireless.com/networkList.do  Global Network Coverage List]&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=MOIntro</id>
		<title>MOIntro</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=MOIntro"/>
				<updated>2007-05-11T17:59:55Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: In some instances having a virtual, dedicated SMS number is required to receive incoming (MO) messages. These cases are mostly important for business/corporate users who want to collect in...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In some instances having a virtual, dedicated SMS number is required to receive incoming (MO) messages. These cases are mostly important for business/corporate users who want to collect information from their partners, employees or customers. The applications are limitless but some of them include:&lt;br /&gt;
* Non-premium SMS campaigns - The benefit is that you can be set up in about 3-5 business days at cost 5-10 times lower than having a dedicated premium SMS number &lt;br /&gt;
* Pooling (publish your dedicated number and collect opinion from your customers) &lt;br /&gt;
* Marketing (giveaways, contests. In return you get consent from your customers to send them SMS advertising) &lt;br /&gt;
* Medical trials (clinical trials) - ask members of the panel to SMS their results to your dedicated SMS number. Collected information goes straight into your database - for ultimate efficiency. &lt;br /&gt;
* Call-back long distance - Publish your virtual SMS number overseas. Your customers then send a number of the person in USA they want to talk to your virtual SMS number. The number of the sender and the number of the other party are then sent to your application and a voice call is established at a low international tariff between these two numbers. &lt;br /&gt;
Virtual SMS number can be associated with any Enterprise account. Once this is done, all messages received by your number will be forwarded into your Inbox. They can also be, simultaneously, forwarded to an application (HTTP), email account, another mobile phone or any combination of these devices.&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-05-11T17:58:45Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* [[MOIntro | Intro to MO APIs (Mobile Originated - incoming from a mobile phone)]]&lt;br /&gt;
** MO POP3&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** MO HTTPS&lt;br /&gt;
* [[MTIntro | Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)]]&lt;br /&gt;
** MT HTTP&lt;br /&gt;
** MT SMTP&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** MT Web Text&lt;br /&gt;
*** MT IP Address&lt;br /&gt;
* User Management&lt;br /&gt;
* Settings&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=CSharp_Receiving_SMS</id>
		<title>CSharp Receiving SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=CSharp_Receiving_SMS"/>
				<updated>2007-03-28T18:07:49Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This example is a .NET Generic Handler. It demonstrates the reception of an inbound (HTTP Forwarded) SMS.&lt;br /&gt;
&lt;br /&gt;
To emulate an inbound SMS forwarded via HTTP POST, please see the code block following the HTTP Handler code.&lt;br /&gt;
&lt;br /&gt;
Echo.ashx&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;%@ WebHandler Language=&amp;quot;C#&amp;quot; Class=&amp;quot;Echo&amp;quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Web;&lt;br /&gt;
using System.Web.Services.Protocols;&lt;br /&gt;
using com.upsidewireless.api.sms;&lt;br /&gt;
&lt;br /&gt;
public class IncomingMessage&lt;br /&gt;
{&lt;br /&gt;
    public string username;&lt;br /&gt;
    public string sender;&lt;br /&gt;
    public string contents;&lt;br /&gt;
    public SmsEncoding encoding;&lt;br /&gt;
    public string carrierCode;&lt;br /&gt;
    public string recipient;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public class OutgoingMessage&lt;br /&gt;
{&lt;br /&gt;
    public string dedicatedNumber;&lt;br /&gt;
    public string recipient;&lt;br /&gt;
    public string carrierCode;&lt;br /&gt;
    public string contents;&lt;br /&gt;
    public SmsEncoding encoding;&lt;br /&gt;
&lt;br /&gt;
    public override string ToString()&lt;br /&gt;
    {&lt;br /&gt;
        return &amp;quot;[&amp;quot; + recipient + &amp;quot;]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public class Echo : IHttpHandler&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
    System.Diagnostics.EventLog evenLogger = new System.Diagnostics.EventLog(&amp;quot;SMS Echo&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    public Echo()&lt;br /&gt;
    {&lt;br /&gt;
        evenLogger.Source = &amp;quot;SMS Echo Test&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void ProcessRequest(HttpContext context)&lt;br /&gt;
    {&lt;br /&gt;
        // This sample will respond to incoming HTTP POSTs and send back to the sender the same text that was sent&lt;br /&gt;
        string requestType = context.Request.RequestType;&lt;br /&gt;
        switch (requestType)&lt;br /&gt;
        {&lt;br /&gt;
            case &amp;quot;POST&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
                IncomingMessage incomingMessage = buildIncomingMessage(context);&lt;br /&gt;
                OutgoingMessage outgoingMessage = processIncomingMessage(incomingMessage);&lt;br /&gt;
                sendMessage(outgoingMessage);&lt;br /&gt;
&lt;br /&gt;
                context.Response.Write(&amp;quot;Successfully sent echo back to: &amp;quot; + outgoingMessage);&lt;br /&gt;
                break;&lt;br /&gt;
&lt;br /&gt;
            default:&lt;br /&gt;
                context.Response.Write(&amp;quot;This handler only accepts HTTP operations of type POST&amp;quot;);&lt;br /&gt;
                break;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private OutgoingMessage processIncomingMessage(IncomingMessage incomingMessage)&lt;br /&gt;
    {&lt;br /&gt;
        // TODO Build an OutgoingMessage object based on data contained within the incomingMessage.&lt;br /&gt;
        OutgoingMessage result = new OutgoingMessage();&lt;br /&gt;
&lt;br /&gt;
        string message = &amp;quot;Time:&amp;quot; + DateTime.Now + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;Username:&amp;quot; + incomingMessage.username + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;From:&amp;quot; + incomingMessage.sender + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;To:&amp;quot; + incomingMessage.recipient + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;Encoding:&amp;quot; + incomingMessage.encoding.ToString() + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;Carrier Code:&amp;quot; + incomingMessage.carrierCode + &amp;quot;\n&amp;quot;;&lt;br /&gt;
        message += &amp;quot;Message:&amp;quot; + incomingMessage.contents;&lt;br /&gt;
&lt;br /&gt;
        result.recipient = incomingMessage.sender;&lt;br /&gt;
        result.contents = message;&lt;br /&gt;
        result.encoding = incomingMessage.encoding;&lt;br /&gt;
        result.carrierCode = incomingMessage.carrierCode;&lt;br /&gt;
        result.dedicatedNumber = incomingMessage.recipient;&lt;br /&gt;
&lt;br /&gt;
        return result;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private IncomingMessage buildIncomingMessage(HttpContext context)&lt;br /&gt;
    {&lt;br /&gt;
        IncomingMessage result = new IncomingMessage();&lt;br /&gt;
&lt;br /&gt;
        result.username = context.Request.Form[&amp;quot;name&amp;quot;];&lt;br /&gt;
        result.sender = context.Request.Form[&amp;quot;sender&amp;quot;];&lt;br /&gt;
        result.contents = context.Request.Form[&amp;quot;data&amp;quot;];&lt;br /&gt;
        string encodingString = context.Request.Form[&amp;quot;encoding&amp;quot;];&lt;br /&gt;
        result.carrierCode = context.Request.Form[&amp;quot;carriercode&amp;quot;];&lt;br /&gt;
        result.recipient = context.Request.Form[&amp;quot;inboundnumber&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
        SmsEncoding smsEncoding = SmsEncoding.Seven;&lt;br /&gt;
&lt;br /&gt;
        // we need to convert the encoding over to a strongly typed variable&lt;br /&gt;
        switch (encodingString)&lt;br /&gt;
        {&lt;br /&gt;
            case &amp;quot;Sixteen&amp;quot;:&lt;br /&gt;
                smsEncoding = SmsEncoding.Sixteen;&lt;br /&gt;
                break;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        result.encoding = smsEncoding;&lt;br /&gt;
&lt;br /&gt;
        evenLogger.WriteEntry(&amp;quot;Incoming Message Received&amp;quot;, System.Diagnostics.EventLogEntryType.Information, 500, 0);&lt;br /&gt;
&lt;br /&gt;
        return result;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    private void sendMessage(OutgoingMessage outgoingMessage)&lt;br /&gt;
    {&lt;br /&gt;
        // TODO: be sure to change the data stored within the resource before using this function!&lt;br /&gt;
&lt;br /&gt;
        string token = Resources.UpsideWirelessCredentialsResource.token;&lt;br /&gt;
        string signature = Resources.UpsideWirelessCredentialsResource.signature;&lt;br /&gt;
&lt;br /&gt;
        SMS sms = new SMS();&lt;br /&gt;
&lt;br /&gt;
        try&lt;br /&gt;
        {&lt;br /&gt;
            SMSSendResult result = null;&lt;br /&gt;
&lt;br /&gt;
            if (String.IsNullOrEmpty(outgoingMessage.carrierCode) || String.IsNullOrEmpty(outgoingMessage.dedicatedNumber))&lt;br /&gt;
            {&lt;br /&gt;
                // standard routing&lt;br /&gt;
                result = sms.Send_Plain(token, signature, outgoingMessage.recipient, outgoingMessage.contents, outgoingMessage.encoding);&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                // dedicated routing&lt;br /&gt;
                result = sms.Send_Plain_Dedicated(token, signature, outgoingMessage.recipient, outgoingMessage.contents, outgoingMessage.encoding, outgoingMessage.carrierCode, outgoingMessage.dedicatedNumber, 0.0);&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            if (result.isOk)&lt;br /&gt;
            {&lt;br /&gt;
                evenLogger.WriteEntry(&amp;quot;Sent SMS: &amp;quot; + outgoingMessage, System.Diagnostics.EventLogEntryType.Information, 0, 0);&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                evenLogger.WriteEntry(&amp;quot;Unable to send SMS: &amp;quot; + outgoingMessage, System.Diagnostics.EventLogEntryType.Error, 1000, 0);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        catch (SoapException e)&lt;br /&gt;
        {&lt;br /&gt;
            evenLogger.WriteEntry(&amp;quot;Fatal: Unable to send SMS: &amp;quot; + outgoingMessage + &amp;quot; Exception: &amp;quot; + e.Detail.InnerText, System.Diagnostics.EventLogEntryType.Error, 5000, 0);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public bool IsReusable&lt;br /&gt;
    {&lt;br /&gt;
        get&lt;br /&gt;
        {&lt;br /&gt;
            return false;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=CSharp_Sending_SMS</id>
		<title>CSharp Sending SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=CSharp_Sending_SMS"/>
				<updated>2007-03-28T18:05:24Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: /* Sending a Plain SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following sample code is running at [http://api.upsidewireless.com/samples/csharp/  SOAP Sampler]&lt;br /&gt;
&lt;br /&gt;
=== Sending a Plain SMS ===&lt;br /&gt;
&lt;br /&gt;
The basis of sending a message is to pass in the authentication token and signature along with the message parameters. A SoapException will be thrown if a serious error occurs and an SMS result object will be returned in less serious conditions.&lt;br /&gt;
&lt;br /&gt;
Default.aspx.cs&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Configuration;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.Web;&lt;br /&gt;
using System.Web.Security;&lt;br /&gt;
using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
using System.Web.UI.WebControls.WebParts;&lt;br /&gt;
using System.Web.UI.HtmlControls;&lt;br /&gt;
using com.upsidewireless.api.sms;&lt;br /&gt;
using System.Web.Services.Protocols;&lt;br /&gt;
&lt;br /&gt;
public partial class SMS_Default : System.Web.UI.Page&lt;br /&gt;
{&lt;br /&gt;
    protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    protected void sendButton_Click(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        SMS sms = new SMS();&lt;br /&gt;
&lt;br /&gt;
        string token = &amp;quot;&amp;quot;;&lt;br /&gt;
        if (Session[&amp;quot;token&amp;quot;] != null)&lt;br /&gt;
        {&lt;br /&gt;
            token = (string)Session[&amp;quot;token&amp;quot;];&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        string signature = &amp;quot;&amp;quot;;&lt;br /&gt;
        if (Session[&amp;quot;signature&amp;quot;] != null)&lt;br /&gt;
        {&lt;br /&gt;
            signature = (string)Session[&amp;quot;signature&amp;quot;];&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        string recipient = recipientTextBox.Text;&lt;br /&gt;
&lt;br /&gt;
        string message = messageTextBox.Text;&lt;br /&gt;
&lt;br /&gt;
        SmsEncoding encoding = SmsEncoding.Seven;&lt;br /&gt;
        switch (encodingDropDownList.SelectedValue)&lt;br /&gt;
        {&lt;br /&gt;
            case &amp;quot;Seven&amp;quot;:&lt;br /&gt;
                encoding = SmsEncoding.Seven;&lt;br /&gt;
                break;&lt;br /&gt;
&lt;br /&gt;
            case &amp;quot;Sixteen&amp;quot;:&lt;br /&gt;
                encoding = SmsEncoding.Sixteen;&lt;br /&gt;
                break;&lt;br /&gt;
        }&lt;br /&gt;
        try&lt;br /&gt;
        {&lt;br /&gt;
            SMSSendResult result = sms.Send_Plain(token, signature, recipient, message, encoding);&lt;br /&gt;
&lt;br /&gt;
            if (result.isOk)&lt;br /&gt;
            {&lt;br /&gt;
                resultsMultiView.SetActiveView(resultSuccessView);&lt;br /&gt;
                trackingIdLabel.Text = result.trackingId;&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                resultsMultiView.SetActiveView(resultsSMSErrorView);&lt;br /&gt;
&lt;br /&gt;
                blockedLabel.Text = result.BlockedReason;&lt;br /&gt;
                invalidCountryCodeCheckBox.Checked = result.invalidCountryCode;&lt;br /&gt;
                emptyMessageCheckBox.Checked = result.messageIsEmpty;&lt;br /&gt;
                tooManySplitsCheckBox.Checked = result.tooManyMessages;&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        catch (SoapException error)&lt;br /&gt;
        {&lt;br /&gt;
            resultsMultiView.SetActiveView(resultsErrorView);&lt;br /&gt;
            errorLabel.Text = error.Detail.InnerText;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default.aspx&lt;br /&gt;
&amp;lt;source lang=&amp;quot;asp&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; MasterPageFile=&amp;quot;~/MasterPage.master&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot;&lt;br /&gt;
    CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;SMS_Default&amp;quot; Title=&amp;quot;Send Plain SMS&amp;quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;asp:Content ID=&amp;quot;Content1&amp;quot; ContentPlaceHolderID=&amp;quot;ContentPlaceHolder1&amp;quot; runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;table&amp;gt;&lt;br /&gt;
        &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;recipientLabel&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Recipient:&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;asp:TextBox ID=&amp;quot;recipientTextBox&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
        &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Message:&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;asp:TextBox ID=&amp;quot;messageTextBox&amp;quot; runat=&amp;quot;server&amp;quot; Rows=&amp;quot;6&amp;quot; TextMode=&amp;quot;MultiLine&amp;quot;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
        &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;Label2&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Encoding:&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&lt;br /&gt;
                &amp;lt;asp:DropDownList ID=&amp;quot;encodingDropDownList&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;asp:ListItem Value=&amp;quot;Seven&amp;quot;&amp;gt;Seven (GSM7)&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;
                    &amp;lt;asp:ListItem Value=&amp;quot;Sixteen&amp;quot;&amp;gt;Unicode&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;
                &amp;lt;/asp:DropDownList&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
        &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Button ID=&amp;quot;sendButton&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Send&amp;quot; OnClick=&amp;quot;sendButton_Click&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
    &amp;lt;asp:MultiView ID=&amp;quot;resultsMultiView&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;asp:View ID=&amp;quot;resultSuccessView&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
            Operation Successful&amp;lt;br /&amp;gt;&lt;br /&gt;
            Message Tracking ID:&amp;lt;asp:Label ID=&amp;quot;trackingIdLabel&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/asp:View&amp;gt;&lt;br /&gt;
        &amp;lt;asp:View ID=&amp;quot;resultsSMSErrorView&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div style=&amp;quot;border: solid 1px #c00; padding: 20px; margin: 10px;&amp;quot;&amp;gt;&lt;br /&gt;
                The operation was not successful for the following reasons:&amp;lt;br /&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;blockedLabel&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot; Font-Bold=&amp;quot;True&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
                &amp;lt;asp:CheckBox ID=&amp;quot;invalidCountryCodeCheckBox&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Invalid Country Code&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
                &amp;lt;asp:CheckBox ID=&amp;quot;tooManySplitsCheckBox&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Message too long&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
                &amp;lt;asp:CheckBox ID=&amp;quot;emptyMessageCheckBox&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Message is Empty&amp;quot; /&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/asp:View&amp;gt;&lt;br /&gt;
        &amp;lt;asp:View ID=&amp;quot;resultsErrorView&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;div style=&amp;quot;border: solid 1px #c00; padding: 20px; margin: 10px;&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;Label3&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;An error has occurred when calling this function:&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;
                &amp;lt;asp:Label ID=&amp;quot;errorLabel&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot; Font-Bold=&amp;quot;True&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/asp:View&amp;gt;&lt;br /&gt;
    &amp;lt;/asp:MultiView&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=PHP_Receiving_SMS</id>
		<title>PHP Receiving SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=PHP_Receiving_SMS"/>
				<updated>2007-03-28T18:03:15Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$sender = $_POST['sender'];&lt;br /&gt;
$data = $_POST['data'];&lt;br /&gt;
$name = $_POST['name'];&lt;br /&gt;
&lt;br /&gt;
$message = process_incoming_message($sender, $data, $name);&lt;br /&gt;
&lt;br /&gt;
// plug in the values returned from&lt;br /&gt;
// http://api.upsidewireless.com/soap/Authentication.asmx?op=GetParameters&lt;br /&gt;
&lt;br /&gt;
$token = '4289bd26-4a8c-468b-847e-1ea72fd2dfd1';&lt;br /&gt;
$signature = 'y5MZoN7mV0sCYZHrBFDJbPL';&lt;br /&gt;
&lt;br /&gt;
$api_call_data = array(&lt;br /&gt;
        'token' =&amp;gt; $token,&lt;br /&gt;
        'signature' =&amp;gt; $signature,&lt;br /&gt;
        'recipient' =&amp;gt; $sender, // The recipient is the recipient because we are sending right back to them&lt;br /&gt;
        'message' =&amp;gt; $message,&lt;br /&gt;
        'encoding' =&amp;gt; 'Seven' // Use 'Sixteen' if you are sending in Unicode&lt;br /&gt;
    );&lt;br /&gt;
    &lt;br /&gt;
$post_data = build_post_data($api_call_data );&lt;br /&gt;
&lt;br /&gt;
// Please refer to&lt;br /&gt;
// http://api.upsidewireless.com/&lt;br /&gt;
// for other sending methods&lt;br /&gt;
&lt;br /&gt;
$url = 'http://api.upsidewireless.com/soap/SMS.asmx/Send_Plain';&lt;br /&gt;
&lt;br /&gt;
$xml = do_post_request($url, $post_data);&lt;br /&gt;
&lt;br /&gt;
// be sure you look at the XML from above to see if there are any errors&lt;br /&gt;
&lt;br /&gt;
/************* Main processing function **************/&lt;br /&gt;
&lt;br /&gt;
function process_incoming_message($sender, $data, $name) {&lt;br /&gt;
&lt;br /&gt;
    return 'Message Received:' . date(&amp;quot;Y-m-d H:i:s&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Everything below is just function definitions&lt;br /&gt;
&lt;br /&gt;
function do_post_request($url, $data, $optional_headers = null) &lt;br /&gt;
{ &lt;br /&gt;
    $params = array('http' =&amp;gt; array('method' =&amp;gt; 'POST', 'content' =&amp;gt; $data));&lt;br /&gt;
    &lt;br /&gt;
    if ($optional_headers !== null) { &lt;br /&gt;
        $params['http']['header'] = $optional_headers; &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    $ctx = stream_context_create($params); &lt;br /&gt;
    &lt;br /&gt;
    $fp = @fopen($url, 'rb', false, $ctx); &lt;br /&gt;
    if (!$fp) { &lt;br /&gt;
        throw new Exception(&amp;quot;Problem with $url, $php_errormsg&amp;quot;); &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    $response = @stream_get_contents($fp); &lt;br /&gt;
    &lt;br /&gt;
    if ($response === false) { &lt;br /&gt;
        throw new Exception(&amp;quot;Problem reading data from $url, $php_errormsg&amp;quot;); &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    return $response; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function build_post_data($data, $prefix=null, $sep='', $key='') {&lt;br /&gt;
    &lt;br /&gt;
    $ret = array();&lt;br /&gt;
    &lt;br /&gt;
    foreach((array)$data as $k =&amp;gt; $v) {&lt;br /&gt;
&lt;br /&gt;
        $k = urlencode($k);&lt;br /&gt;
        &lt;br /&gt;
        if(is_int($k) &amp;amp;&amp;amp; $prefix != null) {&lt;br /&gt;
            $k = $prefix.$k;&lt;br /&gt;
        }&lt;br /&gt;
    &lt;br /&gt;
        if(!empty($key)) {&lt;br /&gt;
            $k = $key.&amp;quot;[&amp;quot;.$k.&amp;quot;]&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        if(is_array($v) || is_object($v)) {&lt;br /&gt;
            array_push($ret, build_post_data($v,&amp;quot;&amp;quot;,$sep,$k));&lt;br /&gt;
        } else {&lt;br /&gt;
            array_push($ret,$k.&amp;quot;=&amp;quot;.urlencode($v));&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    if(empty($sep)) {&lt;br /&gt;
        $sep = ini_get(&amp;quot;arg_separator.output&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    return implode($sep, $ret);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts</id>
		<title>Examples And Concepts</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts"/>
				<updated>2007-03-28T18:02:02Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: /* Receiving SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== SOAP API Usage ===&lt;br /&gt;
Every function of the SOAP API that requires authentication must pass in Authentication Parameters, to acquire a set of Authentication Parameters, please use the API found at: http://api.upsidewireless.com/soap/Authentication.asmx&lt;br /&gt;
&lt;br /&gt;
=== Sending SMS ===&lt;br /&gt;
&lt;br /&gt;
=== Receiving SMS ===&lt;br /&gt;
The method of receiving Inbound SMS messages is by way of HTTP POST. A few variables are passed in the body of the POST.&lt;br /&gt;
* name&lt;br /&gt;
* sender&lt;br /&gt;
* data&lt;br /&gt;
* carriercode &amp;lt;&amp;lt; For shortcode accounts only&lt;br /&gt;
* inboundnumber &amp;lt;&amp;lt; For Dedicated accounts only&lt;br /&gt;
&lt;br /&gt;
In order to receive an SMS you must first register a URL in your account. Your account must be enabled to allow adding of URLs. Once your account has the registered URL set up, you will then need to forward all inbound SMS messages to that URL.&lt;br /&gt;
&lt;br /&gt;
You can use the following HTML to emulate what our server will send your service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;head&amp;gt;&lt;br /&gt;
		&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;title&amp;gt;Received SMS Emulator (Via HTTP POST)&amp;lt;/title&amp;gt;&lt;br /&gt;
	&amp;lt;/head&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;form id=&amp;quot;emulator&amp;quot; name=&amp;quot;emulator&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;http://sms.yourdomain.com/incoming.php&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;table&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Sender:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;sender&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;sender&amp;quot; value=&amp;quot;17789964283&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;sender&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Message:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;data&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;data&amp;quot; value=&amp;quot;Hello&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;data&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;User Name:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;name&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;name&amp;quot; value=&amp;quot;cjensen&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;name&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Inbound Number:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;inboundnumber&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;inboundnumber&amp;quot; value=&amp;quot;16047807002&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;inboundnumber&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Carrier Code:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;carriercode&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;carriercode&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;carriercode&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
						&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Submit&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
			&amp;lt;/table&amp;gt;&lt;br /&gt;
		&amp;lt;/form&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts</id>
		<title>Examples And Concepts</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts"/>
				<updated>2007-03-28T18:01:14Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: /* Receiving SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== SOAP API Usage ===&lt;br /&gt;
Every function of the SOAP API that requires authentication must pass in Authentication Parameters, to acquire a set of Authentication Parameters, please use the API found at: http://api.upsidewireless.com/soap/Authentication.asmx&lt;br /&gt;
&lt;br /&gt;
=== Sending SMS ===&lt;br /&gt;
&lt;br /&gt;
=== Receiving SMS ===&lt;br /&gt;
The method of receiving Inbound SMS messages is by way of HTTP POST. A few variables are passed in the body of the POST.&lt;br /&gt;
* name&lt;br /&gt;
* sender&lt;br /&gt;
* data&lt;br /&gt;
* carriercode &amp;lt;&amp;lt; For shortcode accounts only&lt;br /&gt;
* inboundnumber &amp;lt;&amp;lt; For Dedicated accounts only&lt;br /&gt;
&lt;br /&gt;
In order to receive an SMS you must first register a URL in your account. Your account must be enabled to allow adding of URLs. Once your account has the registered URL set up, you will then need to forward all inbound SMS messages to that URL.&lt;br /&gt;
&lt;br /&gt;
You can use the following HTML to emulate what our server will send your service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;head&amp;gt;&lt;br /&gt;
		&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;title&amp;gt;Received SMS Emulator (Via HTTP POST)&amp;lt;/title&amp;gt;&lt;br /&gt;
	&amp;lt;/head&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;form id=&amp;quot;emulator&amp;quot; name=&amp;quot;emulator&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;http://sms.yourdomain.com/incoming.php&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;table&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Sender:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;sender&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;sender&amp;quot; value=&amp;quot;17789964283&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;sender&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Message:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;data&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;data&amp;quot; value=&amp;quot;Hello&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;data&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;User Name:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;name&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;name&amp;quot; value=&amp;quot;cjensen&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;name&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Inbound Number:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;inboundnumber&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;inboundnumber&amp;quot; value=&amp;quot;16047807002&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;inboundnumber&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Carrier Code:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;carriercode&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;carriercode&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;carriercode&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
						&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Submit&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
			&amp;lt;/table&amp;gt;&lt;br /&gt;
		&amp;lt;/form&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts</id>
		<title>Examples And Concepts</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Examples_And_Concepts"/>
				<updated>2007-03-28T17:44:39Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: /* Receiving SMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== SOAP API Usage ===&lt;br /&gt;
Every function of the SOAP API that requires authentication must pass in Authentication Parameters, to acquire a set of Authentication Parameters, please use the API found at: http://api.upsidewireless.com/soap/Authentication.asmx&lt;br /&gt;
&lt;br /&gt;
=== Sending SMS ===&lt;br /&gt;
&lt;br /&gt;
=== Receiving SMS ===&lt;br /&gt;
The method of receiving Inbound SMS messages is by way of HTTP POST. A few variables are passed in the body of the POST.&lt;br /&gt;
* name&lt;br /&gt;
* sender&lt;br /&gt;
* data&lt;br /&gt;
* carriercode &amp;lt;&amp;lt; For shortcode accounts only&lt;br /&gt;
* inboundnumber &amp;lt;&amp;lt; For Dedicated accounts only&lt;br /&gt;
&lt;br /&gt;
In order to receive an SMS you must first register a URL in your account. Your account must be enabled to allow adding of URLs. Once your account has the registered URL set up, you will then need to forward all inbound SMS messages to that URL.&lt;br /&gt;
&lt;br /&gt;
You can use the following HTML to emulate what our server will send your service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
	&amp;lt;head&amp;gt;&lt;br /&gt;
		&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;title&amp;gt;Received SMS Emulator (Via HTTP POST)&amp;lt;/title&amp;gt;&lt;br /&gt;
	&amp;lt;/head&amp;gt;&lt;br /&gt;
	&amp;lt;body&amp;gt;&lt;br /&gt;
		&amp;lt;form id=&amp;quot;emulator&amp;quot; name=&amp;quot;emulator&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;http://sms.yourdomain.com/incoming.php&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;table&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Sender:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;sender&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;sender&amp;quot; value=&amp;quot;17789964283&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;sender&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Message:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;data&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;data&amp;quot; value=&amp;quot;Hello&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;data&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;User Name:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;name&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;name&amp;quot; value=&amp;quot;cjensen&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;name&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Inbound Number:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;inboundnumber&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;inboundnumber&amp;quot; value=&amp;quot;16047807002&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;inboundnumber&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;Carrier Code:&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&lt;br /&gt;
						&amp;lt;input name=&amp;quot;carriercode&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;carriercode&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;carriercode&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
				&amp;lt;tr&amp;gt;&lt;br /&gt;
					&amp;lt;td colspan=&amp;quot;2&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
						&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;Submit&amp;quot; value=&amp;quot;Submit&amp;quot;/&amp;gt;&lt;br /&gt;
					&amp;lt;/td&amp;gt;&lt;br /&gt;
					&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
				&amp;lt;/tr&amp;gt;&lt;br /&gt;
			&amp;lt;/table&amp;gt;&lt;br /&gt;
		&amp;lt;/form&amp;gt;&lt;br /&gt;
	&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=PHP_Receiving_SMS</id>
		<title>PHP Receiving SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=PHP_Receiving_SMS"/>
				<updated>2007-03-12T22:00:38Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: New page: &amp;lt;pre&amp;gt; &amp;lt;?php  $sender = $_POST['sender']; $data = $_POST['data']; $name = $_POST['name'];  $message = process_incoming_message($sender, $data, $name);  // plug in the values returned from /...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
$sender = $_POST['sender'];&lt;br /&gt;
$data = $_POST['data'];&lt;br /&gt;
$name = $_POST['name'];&lt;br /&gt;
&lt;br /&gt;
$message = process_incoming_message($sender, $data, $name);&lt;br /&gt;
&lt;br /&gt;
// plug in the values returned from&lt;br /&gt;
// http://api.upsidewireless.com/soap/Authentication.asmx?op=GetParameters&lt;br /&gt;
&lt;br /&gt;
$token = '4289bd26-4a8c-468b-847e-1ea72fd2dfd1';&lt;br /&gt;
$signature = 'y5MZoN7mV0sCYZHrBFDJbPL';&lt;br /&gt;
&lt;br /&gt;
$api_call_data = array(&lt;br /&gt;
        'token' =&amp;gt; $token,&lt;br /&gt;
        'signature' =&amp;gt; $signature,&lt;br /&gt;
        'recipient' =&amp;gt; $sender, // The recipient is the recipient because we are sending right back to them&lt;br /&gt;
        'message' =&amp;gt; $message,&lt;br /&gt;
        'encoding' =&amp;gt; 'Seven' // Use 'Sixteen' if you are sending in Unicode&lt;br /&gt;
    );&lt;br /&gt;
    &lt;br /&gt;
$post_data = build_post_data($api_call_data );&lt;br /&gt;
&lt;br /&gt;
// Please refer to&lt;br /&gt;
// http://api.upsidewireless.com/&lt;br /&gt;
// for other sending methods&lt;br /&gt;
&lt;br /&gt;
$url = 'http://api.upsidewireless.com/soap/SMS.asmx/Send_Plain';&lt;br /&gt;
&lt;br /&gt;
$xml = do_post_request($url, $post_data);&lt;br /&gt;
&lt;br /&gt;
// be sure you look at the XML from above to see if there are any errors&lt;br /&gt;
&lt;br /&gt;
/************* Main processing function **************/&lt;br /&gt;
&lt;br /&gt;
function process_incoming_message($sender, $data, $name) {&lt;br /&gt;
&lt;br /&gt;
    return 'Message Received:' . date(&amp;quot;Y-m-d H:i:s&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Everything below is just function definitions&lt;br /&gt;
&lt;br /&gt;
function do_post_request($url, $data, $optional_headers = null) &lt;br /&gt;
{ &lt;br /&gt;
    $params = array('http' =&amp;gt; array('method' =&amp;gt; 'POST', 'content' =&amp;gt; $data));&lt;br /&gt;
    &lt;br /&gt;
    if ($optional_headers !== null) { &lt;br /&gt;
        $params['http']['header'] = $optional_headers; &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    $ctx = stream_context_create($params); &lt;br /&gt;
    &lt;br /&gt;
    $fp = @fopen($url, 'rb', false, $ctx); &lt;br /&gt;
    if (!$fp) { &lt;br /&gt;
        throw new Exception(&amp;quot;Problem with $url, $php_errormsg&amp;quot;); &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    $response = @stream_get_contents($fp); &lt;br /&gt;
    &lt;br /&gt;
    if ($response === false) { &lt;br /&gt;
        throw new Exception(&amp;quot;Problem reading data from $url, $php_errormsg&amp;quot;); &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    return $response; &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function build_post_data($data, $prefix=null, $sep='', $key='') {&lt;br /&gt;
    &lt;br /&gt;
    $ret = array();&lt;br /&gt;
    &lt;br /&gt;
    foreach((array)$data as $k =&amp;gt; $v) {&lt;br /&gt;
&lt;br /&gt;
        $k = urlencode($k);&lt;br /&gt;
        &lt;br /&gt;
        if(is_int($k) &amp;amp;&amp;amp; $prefix != null) {&lt;br /&gt;
            $k = $prefix.$k;&lt;br /&gt;
        }&lt;br /&gt;
    &lt;br /&gt;
        if(!empty($key)) {&lt;br /&gt;
            $k = $key.&amp;quot;[&amp;quot;.$k.&amp;quot;]&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        if(is_array($v) || is_object($v)) {&lt;br /&gt;
            array_push($ret, build_post_data($v,&amp;quot;&amp;quot;,$sep,$k));&lt;br /&gt;
        } else {&lt;br /&gt;
            array_push($ret,$k.&amp;quot;=&amp;quot;.urlencode($v));&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    if(empty($sep)) {&lt;br /&gt;
        $sep = ini_get(&amp;quot;arg_separator.output&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    return implode($sep, $ret);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-03-12T21:59:11Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Upside Wireless HTTP APIs are located at [http://api.upsidewireless.com/ http://api.upsidewireless.com/]&lt;br /&gt;
&lt;br /&gt;
* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* Intro to MO APIs (Mobile Originated - incoming from a mobile phone)&lt;br /&gt;
** MO POP3&lt;br /&gt;
** [[MO HTTP]]&lt;br /&gt;
** MO HTTPS&lt;br /&gt;
* Intro to MT APIs (Mobile Terminated - outgoing to a mobile phone)&lt;br /&gt;
** MT HTTP&lt;br /&gt;
** MT SMTP&lt;br /&gt;
*** [[MT SMTP Auth]]&lt;br /&gt;
*** MT Web Text&lt;br /&gt;
*** MT IP Address&lt;br /&gt;
* User Management&lt;br /&gt;
* Settings&lt;br /&gt;
* [[Examples And Concepts | Examples and General Concepts]]&lt;br /&gt;
** PHP&lt;br /&gt;
*** [[PHP Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[PHP Receiving SMS | Receiving SMS]]&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** [[CSharp_Overview | C# (Overview)]]&lt;br /&gt;
*** [[CSharp Sending SMS | Sending SMS]]&lt;br /&gt;
*** [[CSharp Receiving SMS | Receiving SMS]]&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=APIs</id>
		<title>APIs</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=APIs"/>
				<updated>2007-03-01T00:22:23Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: This should be patrolled&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* API Security&lt;br /&gt;
* Ease of Use&lt;br /&gt;
* Restrictions&lt;br /&gt;
* MO APIs (Mobile Originated - incoming from a mobile phone)&lt;br /&gt;
** MO POP3&lt;br /&gt;
** MO HTTP&lt;br /&gt;
** MO HTTPS&lt;br /&gt;
* MT APIs (Mobile Terminated - outgoing to a mobile phone)&lt;br /&gt;
** MT HTTP&lt;br /&gt;
** MT SMTP&lt;br /&gt;
*** MT SMTP Auth&lt;br /&gt;
*** MT Web Text&lt;br /&gt;
*** MT IP Address&lt;br /&gt;
* User Management&lt;br /&gt;
* Settings&lt;br /&gt;
* Examples&lt;br /&gt;
** PHP&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** Java&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
** C#&lt;br /&gt;
*** Sending SMS&lt;br /&gt;
*** Receiving SMS&lt;br /&gt;
&lt;br /&gt;
This is a patrolled change&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Category:Category_Help</id>
		<title>Category:Category Help</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Category:Category_Help"/>
				<updated>2006-12-15T04:04:50Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Send_SMS]]&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Send_SMS</id>
		<title>Send SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Send_SMS"/>
				<updated>2006-12-13T23:47:18Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: added graphic&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Do you ever want to use the WEB to send SMS messages? &lt;br /&gt;
&lt;br /&gt;
It's easy to send '''WEB SMS'''. In other words, you can send text messages to ANY PHONE ON THE PLANET using this simple, Hotmail-like WEB SMS interface. You can create your quick-pick lists using the Speed Dial function, or send messages to many people at once. Please make sure that you accurately format the recipient's mobile phone number by composing it with an '''international country code''', area code and local number. &lt;br /&gt;
&lt;br /&gt;
To send a '''WEB SMS''', simply log on to your account from ANY computer and follow the instructions below:&lt;br /&gt;
&lt;br /&gt;
[[Image:sms_compose.gif]]&lt;br /&gt;
&lt;br /&gt;
;To: Valid telephone number of an SMS phone in international format. For example 16047778888 where 1 represents country, 604 are code, and 7778888 local telephone number. For more than one recipient use &amp;quot;,&amp;quot; - commas.&lt;br /&gt;
&lt;br /&gt;
NEVER include leading zeros in telephone numbers when you want to send SMS! Also, NEVER include exit codes - for example the exit code from North America is 011 - DO NOT INCLUDE IT.&lt;br /&gt;
&lt;br /&gt;
You can also click on the &amp;quot;To&amp;quot; hyper link to open your contacts list. You can then pick recipients that have mobile numbers defined.&lt;br /&gt;
 &lt;br /&gt;
;Split text into: This value indicates how long messages will be treated. Since the maximum length of one SMS message is 160 characters, messages longer than this can be split into multiple messages and sent separately.&lt;br /&gt;
&lt;br /&gt;
;Number of characters typed: Tells you how long your message is.&lt;br /&gt;
&lt;br /&gt;
;Number of credits: Tells you how many credits you have remaining in your pre-paid account.&lt;br /&gt;
&lt;br /&gt;
;CC to email: Specify your email account where a copy of your text message will be sent. This email address must be registered with your account.&lt;br /&gt;
&lt;br /&gt;
;Allow SMS replies: If you set this value to 'true' you allow recipients of your messages to reply to them. They must do so within 24 hours of receipt. Your account will be debited for each message you receive.&lt;br /&gt;
&lt;br /&gt;
;Number of credits: Tells you how many credits you have remaining in your pre-paid account.&lt;br /&gt;
&lt;br /&gt;
;Send: Allows you to send SMS with delay. Great if you are sending SMS messages to someone overseas and do not want to wake him up :-). &lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;'''Send Message'''&amp;quot; on this WEB page and your SMS message (s) will be on its way. The system will first check if you have enough credits left in your accounts. For example, if you want to send SMS text message to three recipients and you have only one credit left, only the first recipient will receive it.&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=Send_SMS</id>
		<title>Send SMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=Send_SMS"/>
				<updated>2006-12-13T23:46:32Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: SendSMS moved to Send SMS: Made the name more human&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Do you ever want to use the WEB to send SMS messages? &lt;br /&gt;
&lt;br /&gt;
It's easy to send '''WEB SMS'''. In other words, you can send text messages to ANY PHONE ON THE PLANET using this simple, Hotmail-like WEB SMS interface. You can create your quick-pick lists using the Speed Dial function, or send messages to many people at once. Please make sure that you accurately format the recipient's mobile phone number by composing it with an '''international country code''', area code and local number. &lt;br /&gt;
&lt;br /&gt;
To send a '''WEB SMS''', simply log on to your account from ANY computer and follow the instructions below:&lt;br /&gt;
&lt;br /&gt;
;To: Valid telephone number of an SMS phone in international format. For example 16047778888 where 1 represents country, 604 are code, and 7778888 local telephone number. For more than one recipient use &amp;quot;,&amp;quot; - commas.&lt;br /&gt;
&lt;br /&gt;
NEVER include leading zeros in telephone numbers when you want to send SMS! Also, NEVER include exit codes - for example the exit code from North America is 011 - DO NOT INCLUDE IT.&lt;br /&gt;
&lt;br /&gt;
You can also click on the &amp;quot;To&amp;quot; hyper link to open your contacts list. You can then pick recipients that have mobile numbers defined.&lt;br /&gt;
 &lt;br /&gt;
;Split text into: This value indicates how long messages will be treated. Since the maximum length of one SMS message is 160 characters, messages longer than this can be split into multiple messages and sent separately.&lt;br /&gt;
&lt;br /&gt;
;Number of characters typed: Tells you how long your message is.&lt;br /&gt;
&lt;br /&gt;
;Number of credits: Tells you how many credits you have remaining in your pre-paid account.&lt;br /&gt;
&lt;br /&gt;
;CC to email: Specify your email account where a copy of your text message will be sent. This email address must be registered with your account.&lt;br /&gt;
&lt;br /&gt;
;Allow SMS replies: If you set this value to 'true' you allow recipients of your messages to reply to them. They must do so within 24 hours of receipt. Your account will be debited for each message you receive.&lt;br /&gt;
&lt;br /&gt;
;Number of credits: Tells you how many credits you have remaining in your pre-paid account.&lt;br /&gt;
&lt;br /&gt;
;Send: Allows you to send SMS with delay. Great if you are sending SMS messages to someone overseas and do not want to wake him up :-). &lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;'''Send Message'''&amp;quot; on this WEB page and your SMS message (s) will be on its way. The system will first check if you have enough credits left in your accounts. For example, if you want to send SMS text message to three recipients and you have only one credit left, only the first recipient will receive it.&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=SendSMS</id>
		<title>SendSMS</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=SendSMS"/>
				<updated>2006-12-13T23:46:32Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: SendSMS moved to Send SMS: Made the name more human&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Send SMS]]&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	<entry>
		<id>http://docs.upsidewireless.com/index.php?title=File:Sms_compose.gif</id>
		<title>File:Sms compose.gif</title>
		<link rel="alternate" type="text/html" href="http://docs.upsidewireless.com/index.php?title=File:Sms_compose.gif"/>
				<updated>2006-12-13T23:44:47Z</updated>
		
		<summary type="html">&lt;p&gt;Old-user20: Compose SMS Screenshot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Compose SMS Screenshot&lt;/div&gt;</summary>
		<author><name>Old-user20</name></author>	</entry>

	</feed>