RE: Outlook 2007 Mobile Service - GetUserInfo and SendXms input pa
- From: Jonas Follesø <JonasFolles@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Apr 2007 04:04:01 -0700
Hi Paul,
And thanks for getting back to me on this so quickly. I updated my code to
return “null” if the input parameters are null.
public string GetUserInfo(string xmsUser)
{
if (xmsUser == null)
return null;
//Actuall implementation
}
Is this what you mean by treating empty HTTP POST or calls as normal
requests or ignore them?
When I click the “test settings” button in the settings dialog this is what
happens:
GetServiceInfo() gets called
GetServiceInfo() gets called with xmsUser parameter as null (and I return
null back)
GetServiceInfo() gets called again, with xmsUser parameter still being null
(and I return null back)
Outlook displays the following error message: "Outlook did not receive
response from the Web service because of a problem connecting to the server.
Try again later."
Any tips..?
"Paul Shen" wrote:
Hi Jonas,.
A piecie of info is missed from the articles:
Web Service URL Redirection
Redirection of a URL to the real Web service URL for OMS is provided to OMS
clients. To get the real URL of the Web service, OMS client first sends a
empty HTTP POST request to the Web service followed by an SOAP request, which
means that the OMS client may call SendXms () and GetUserInfo () with empty
string parameter. The Web service should treat such empty HTTP POST or calls
as normal request and simply ignore it.
I am updating the article. Sorry for the inconvenience.
- Paul
"Jonas Follesø" wrote:
Hi,
I’m currently implementing a ”Outlook 2007 Mobile Service” provider. This is
one of the new features in Outlook 2007 that enables third parties to
implement an web service to handle SMS and MMS messaging, alterts etc.
There isn’t much information available on the subject, except from an
excellent MSDN article from Microsoft:
http://msdn2.microsoft.com/en-us/library/bb277361.aspx
There is basically three methods you need to implement in order to create a
Outlook 2007 Mobile Service:
public string GetServiceInfo()
This method returns a chunk of XML describing which features are supported
by the service etc.
public string GetUserInfo(string xmsUser)
This method validates a user, and returns extended user information.
public string SendXms(string xmsData)
This method sends a list of SMS/MMS messages.
All the strings going between client and server are xml chunks (which are
well documented on MSDN).
The problem I’ve encountered is that when I add a new “Mobile Provider” to
outlook, and click the “test account settings”, the GetServiceInfo get called
as expected, then GetUserInfo get called, but the xmsUser parameter is always
null. So, obviously I can’t validate my user…
Any feedback on this would be greatly appreciated. Perhaps someone on the
Outlook 2007 team is watching the list?
Best regards,
Jonas Follesø
http://jonas.follesoe.no
- Follow-Ups:
- Prev by Date: Re: Adding a folder in inbox
- Next by Date: RE: Outlook 2007 Mobile Service - GetUserInfo and SendXms input pa
- Previous by thread: Re: Adding a folder in inbox
- Next by thread: RE: Outlook 2007 Mobile Service - GetUserInfo and SendXms input pa
- Index(es):