是否有人使用或调查过使用Jitterbit以及BizTalk?如果是这样,每个人的利弊是什么,你最后的解决方案是哪一个?
具体来说,我正在寻找SAP集成,但任何输入将不胜感激.
我有一个抽象类,我希望能够向WCF公开,以便任何子类也可以作为WCF服务启动.
这是我到目前为止:
[ServiceContract(Name = "PeopleManager", Namespace = "http://localhost:8001/People")]
[ServiceBehavior(IncludeExceptionDetailInFaults = true)]
[DataContract(Namespace="http://localhost:8001/People")]
[KnownType(typeof(Child))]
public abstract class Parent
{
[OperationContract]
[WebInvoke(Method = "PUT", UriTemplate = "{name}/{description}")]
public abstract int CreatePerson(string name, string description);
[OperationContract]
[WebGet(UriTemplate = "Person/{id}")]
public abstract Person GetPerson(int id);
}
public class Child : Parent
{
public int CreatePerson(string name, string description){...}
public Person GetPerson(int id){...}
}
Run Code Online (Sandbox Code Playgroud)
尝试在我的代码中创建服务时,我使用此方法:
public static void RunService()
{
Type t = typeof(Parent); //or typeof(Child)
ServiceHost svcHost = new ServiceHost(t, new Uri("http://localhost:8001/People"));
svcHost.AddServiceEndpoint(t, new …Run Code Online (Sandbox Code Playgroud)