soa

Designing WCF data contracts and operations

此生再无相见时 提交于 2019-12-09 06:42:58
问题 I'm starting to design a wcf service bus that is small now but will grow as our business grow so I'm concerned about some grwoing problems and also trying not to YAGNI too much. It's a e-commerce platform. The problem is I'm having too many second thoughts about where to put stuff. I will give a scenario to demonstrate all my questions. We have an e-commerce website that sells products and ultimately deliveries them. For this we have a PlaceOrder service which, among other parameters, expects

SOA Service Design / Authentication

时光毁灭记忆、已成空白 提交于 2019-12-09 04:48:46
问题 I'm rather new to SOA and therefore experimenting around. Currently, the part that creates the biggest problem to me is authentication, my current thought about it involves the following: The client sends some kind of authentication message to the authentication / user service, this service queries the db and if the user is found and the password is valid, it will respond with a session id, this id will be used in all further requests of this client. This seems rather ok to me but I don't

Multiple Inboud Endpoints in Mule ESB Flow?

馋奶兔 提交于 2019-12-08 10:46:44
问题 I need to support an operation both via SOAP and file dropping on a folder. Most of the logic will be he same. Is it possible to trigger the same flow with two message sources? I cant seem to find a way. Thanks 回答1: Use a composite message source: <composite-source> <file:inbound-endpoint ... /> <http:inbound-endpoint ... /> </composite-source> If you use CXF, you'll have to stick the service element inside the HTTP inbound endpoint. 来源: https://stackoverflow.com/questions/20530337/multiple

File component(Apache camel) delete=true parameter not working in windows

不羁岁月 提交于 2019-12-08 09:12:27
问题 The Apache Camel File component not working properly in Windows7, where as its working in Linux without any Problem. My Requirement: After the file processing, the files must be deleted from the Directory. In Windows, because of .camelLock the files are not deleting properly. After Multiple attempts, then only Apache camel can delete the file from the Directory. If the attemt failed to delete the file from the Directory then its throwing an exception. If I have only a File in the Directory,

How do I lock down a .net 4.0 WCF Data Service

泄露秘密 提交于 2019-12-08 02:53:35
问题 I've had a WCF Data service published for about 2 months. It's 100% been hacked already. I even noticed the service published on twitter! Luckily my site was under development and the user entity was only about 80 beta testers. Still this is a pretty big problem. With the power of E.F. Navigation properties anyone can easily write a script to download all my user data and my valuable domain data that no-one else has. I want to provide non-authenticated access and do things like: Limit what

Service as Mediator in SOA

北慕城南 提交于 2019-12-08 01:34:01
问题 I know what is "usual" mediator design pattern (some description is in wikipedia: http://en.wikipedia.org/wiki/Mediator_pattern). In my SOA I have Notification Service: he should broadcast messages from one service to all other that are subscribed for this particular service. Actually, any service can be a source of such messaging. My vision of such service implementation causes circular dependency between services. Here (Circular dependency in SOA) I've asked how to resolve it and received

Spring-ws or Axis2 or Something else for “Contract-First” approach to WS

北慕城南 提交于 2019-12-07 18:56:55
问题 Everyone's saying "Contract-First" approach to design WS is more inclined to SOA style design. Now, if we take the available open-source frameworks available to achieve that we have Spring-ws and also Axis2 (which supports both styles). I have a task to design SOA based e-commerce app. where loose coupling, quick response, security and scalability are the key points. So it is very important to choose the right framework from the start. Based on past experiences, which of them or something

multiple-tenant, multiple-platform, multiple-services single sign-on using Azure Active directory

雨燕双飞 提交于 2019-12-07 17:58:36
问题 I have the following services Service1.SomeDomain.com Service2.SomeDomain.com Service3.SomeDomain.com I have a Web application that has a client side script that will talk directly to each of the above services to retrieve information Web.SomeDomain.com I also have Native Mobile client applications which also will talk directly to each of the above services Android IOS Windows/Windows Phone Now this application will be a SaaS solution where customers can sign-up online create their own tenant

Why NServiceBus OutgoingHeaders is static and not ThreadStatic?

。_饼干妹妹 提交于 2019-12-07 13:24:04
问题 How is NServiceBus maintaining consistency when the outgoing headers is static? Does it mean if I were to set the outgoing headers for a particular message, it will affect all other outgoing messages since it's a singleton? namespace NServiceBus.MessageHeaders { [ComVisible(false)] public class MessageHeaderManager : IMutateOutgoingTransportMessages { private static IDictionary<string, string> staticOutgoingHeaders = (IDictionary<string, string>) new Dictionary<string, string>(); private

How to draw a web service using UML [closed]

自作多情 提交于 2019-12-07 12:23:22
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . What's the best and most elegant way to represent a web service interface using a UML class diagram? 回答1: Well it is just a diagram to help pass a point so whatever is clear. One option is to use stereotypes put "contract" on the interface and put "web service" on the class.