SOCML:Service

From Federated Social Web Incubator Group
Jump to: navigation, search

Not finished, and still requires some input from more skilled members of the community on good ways to implement.

XML

<?xml version="1.0" encoding="UTF-8" ?>
<socml version="1.0">
<service name=”SocialWebService”> 
    <endpoint address=”http://localhost:8080/social” binding=”basicHttpBinding” contract=”ISOCML”/> 
    <endpoint address=”http://localhost:8080/social/secure” binding=”wsHttpBinding” contract=”ISOCML”/> 
    <endpoint address=”net.tcp://localhost:8081/social” binding=”netTcpBinding” contract=”ISOCML”/> 
</service>
</socml>

Abstract

The service object contains the endpoint information regarding how to reach the user's service for interop.

I've posted the general XML format used in .NET WCF configuration files. I'm not 100% how to go about designing this object; however, my thoughts are to keep it simple and to use Simple Object Access Protocol (SOAP) 1.1 for interop.

Read MSDN for more details on Microsoft's implementation of service endpoints.