StrikeIron Links
Getting Started
Developer Forum (Beta)
Subject: SMS Java sample
Prev Next
You are not authorized to post a reply.

Author Messages
tchanUser is Offline

Posts:1

11/06/2007 12:06 PM  
I’m trying to get the SMS Java sample to work (the SendMessage method) and am getting this error:

============= error message from server ==============

The '@' character, hexadecimal value 0x40, cannot be included in a name. Line 1, position 411.

Here are the properties I set in the source code:

private final static String HEADER_NS = "http://ws.strikeiron.com";
private final static String BODY_NS = "http://www.strikeiron.com";
private final static String XML_SCHEMA_NS = "http://www.w3.org/2001/XMLSchema";
private final static String LICENSE_INFO = "###############";
private final static String UNREGISTERED_USER = "UnregisteredUser";
private final static String EMAIL_ADDRESS = "me@company.com";
private final static String REGISTERED_USER = "RegisteredUser";
private final static String USER_ID = "me@company.com";
private final static String PASSWORD = "password";
private final static String TO_NUMBER = "6475555555";
private final static String FROM_NUMBER = "416-555-5555";
private final static String FROM_NAME = "Joe Doe";
private final static String MESSAGE_TEXT = "Hello, world.";
private final static String TRACKING_TAG = "422#5A4D";
private final static String SEND_MESSAGE = "sendmessage";
private final static String TRACK_MESSAGE = "trackmessage";
private final static String GET_REMAINING_HITS = "getremaininghits";

I have tried removing the “@” from USER_ID with no avail. What did I miss?

Thank you.

Terry
You are not authorized to post a reply.



ActiveForums 3.7
Top Projects




Sun / NetBeans

Salesforce.com

IBM QEDWiki

Microsoft Visual Studio VSTO

Zend

 

Special Events

Mashup Camp
Oct 6-8

Web 2.0 Expo
Sept 16-19