1/19/12

Additional Emails for a Single User in Office365

 Follow these steps to add additional emails to a single user in Office365 or SharePoint online:

·         Login to your Office365 account with an administration account
·         Click on Home (top menu)
·         Click on Admin (top menu)
·         On the right Pane, find Outlook and select General Settings
·         On the mailboxes list, select the user and click details
·         On the details page, scroll down and expand E-Mail options
·         Click on Add
·         Enter the new email address and select the domain.
o    Notice that in the list you have the onmicrosoft and perhaps a custom domain entry. If you intend to use this email with a custom domain, if this is not yet on the list, you need to first add the custom domain and then configure the additional emails.
·         Click OK

The new email account should now be configured. Test it by sending emails to that account.

I hope this helps.

1/6/12

WCF Web Service Call to Another WCF Web Service returns no data

Problem Statement:
I have a WCF IIS hosted web service which uses another WCF web service hosted in a different web application. The call to the other Web service always returns null or empty values on the data members of the data contract.  If I call the other web service directly from a client application, the response of the service has no problem, and all the properties are populated correctly.  I configured a trace on the request, and I can see that the second web service is handling the requests, but the data is not returned.
Solution:
This problem is common when a WCF Web service acts as a client for another WCF Web service, and it can be addressed by adding a namespace to the Web service behavior and data contract that is used for the response. If you  take a look at a trace file, you will be able to see that the actual data is coming back on xml nodes with a namespace  that was created dynamically. Since the client does not understand this namespace, the data is placed on the ExtensionData field of the response (see inner Members collections). You can see this using the debugger. The actual data members are null or set to default values (defined in the class).
It is always recommended to set the service behavior and data contracts to a namespace to prevent unexpected behaviors. Take a look at the ServiceBehavior attribute on the service contract declaration and the DataContract attribute and assign a namespace as follows:
[ServiceBehavior(Namespace = "urn:MyserviceNameSpace”)]   
public class MyService: IMyService

[DataContract(Name="MyResponse",Namespace="urn:MyserviceNameSpace")]
public class MyResponse
Note how the Name attribute also matches the class name. After making these changes, the client proxy (for the service consuming the second web service) needs to be updated. This downloads the namespace declarations that would allow the binding to be accurate. If you debug this again, you will see that the ExtensionData Members collection is now null. This is because the binding is now correctly using the class properties.
I hope this helps.

og-bit.com