soa

What happens in a NServiceBus Saga when the IAmStartedBy Message comes after the IHandle Message?

I have an NServiceBus Saga that looks like this public class MySaga : Saga<MySagaData>, IAmStartedByMessages<MyStartMessage>, IHandleMessages<OtherMessage> But messages can come out of order. So what happens when the IAmStartedBy Message comes after the IHandle Message? T...

How to host autonomous SOA agents on Windows?

We need to notify other systems when certain events happen, for example when we receive a file or when some database state changes. We currently do that using Windows Services that poll for whatever is necessary, then call web services to notify our integration partners. I think Thomas Erl calls this "SOA agents". It seems to me that ...

One ERP vs. Quality software applications + service oriented architecture?

As a modern large company, is one ERP system better than hundreds of highly specialized applications which are service oriented? To provide a little bit of background, we are providing consulting for a client who wants to invest their resources in a monolithic ERP system which will manage everything! What are the pro's and con's of this...

Sending a byte array from PHP to WCF problem

Hi I have this problem: I have to send a byte array (encoded photo) from my PHP client to the WCF host. when I do a var_dump() on my array in PHP I get an array[2839] which is ok but on the server side when i debug I see that received array is only byte[5]...any idea how I can fix it? I used code like this $file = file_get_contents($_...

SOA design principles with regards to database relationships

If I were to extricate my current membership provider from my solution, i.e. as a dll and expose it as a web service with it's own db, how would I model the relationships with regards to SOA design. For example I have a table: USER id, name, lastname, username, password, role. and table PRODUCT id, name, price, createdate, userid t...

Anyone have experience with ServiceStack or other .Net services framework?

I'm looking for at using ServiceStack for the services part of a web application instead of rolling my own. Anyone have any experience using it? Any C#/.Net alternatives I should consider? ...

What came before web services and SOA?

I'm interested in the history of distributed, collaborative, cross-organisational programming paradigms - web services and SOA are de-facto now, but what came before? What models have been superceded by SOA? Thanks ...

Request/Response pattern in SOA implementation

In some enterprise-like project (.NET, WCF) i saw that all service contracts accept a single Request parameter and always return Response: [DataContract] public class CustomerRequest : RequestBase { [DataMember] public long Id { get; set; } } [DataContract] public class CustomerResponse : ResponseBase { [DataMem...

Can someone explain an Enterprise Service Bus to me in non-buzzspeak?

Some of our partners are telling us that our software needs to interact with an Enterprise Service Bus. After researching this a bit, my instinct is to say that this is just buzz speak for saying that we need to have a platform-indpendent way to pass messages back and forth. I'm just trying to get a feel for what our partners are telli...

User based system

This is my first web application based on SOA and is user-specific. I have three layers; web service database for eaxample, I have a table graph like this: ("<---" = foreign-key) User<---Post<---PostTitle Now my service need to allow web to load PostTitles directly so the user can see it. However, this action must by user-specific...

SOA/Web Service Pagination

In SOA we should not be building or holding state (or designing dependencies) between client and server. This is understood. But what patterns can be followed in the case that a client wants to consume a real-time service that may return an open ended number of 'rows'? Web applications, similar to SOA but allowing for state (sessions) h...

how to expose "Payroll as a Service"

I'm final year student of BE (Comp & Info Sys). My group FYP is Online Payroll System & we want to deliver project "Online Payroll as a Service" (Software as a Service). Kindly guide how to expose services. Regards, Nasir Iqbal ...

What are recommended approaches for migrating from 2-tier NHibernate to 3-tier with SOA (Microsoft CRM)?

Given a (current) project that implements a 2-tier architecture with a well-separated on-tier business layer following the typical generic DAO architecture as pioneered by Bill McCafferty on CodeProject and explained briefly in chapter 10 of NHibernate in Action. This project must be moved to do CRUD operations and business logic throug...

web service reliablility with CXF - MQ

How can I achieve reliability of web service in CXF ? It is used in financial domain and involved in payment system, so requirement is that it must be 100% reliable and secure. for security I have added username/password authentication using ws-security (intercepter). Do I need to use any Middleware (ActiveMQ) for transprot so that MQ ...

Read complex types from wsdl in java

Hi, I'm havving a bit of a trouble finding some way to read the complex types from a wsdl in my Java app. I'm using WSDL4J but it doesn't seem to help me get the complex types. Is there a better lib for this? Thank you in advance ...

Should I use the NetNamedPipe binding in WCF for security reasons?

The WCF documentation says that the "Net Named Pipe" binding can be used for fast interprocess communication on a single machine. It cannot be used for communication across machines. I would like to know if using the Net Named Pipe binding will protect my service from being attacked from outside the network. I've been told that the an...

Pattern for client-side update in SOA

I want to develop a data-driven WPF application, which uses WCF to connect to the server-side, which itself uses NHibernate to persist data. For examle there is a domain-object called "Customer" and there is also a flattened (with Automapper) "CustomerDTO" which is returned by a WCF-operation called "GetCustomer(int customerId)". I don'...

Do I need (Spring) MVC if I have Javascript/CXF?

I am developing a Java web services application that is (mostly) to be used by other SOA clients. Currently I am planning on using CXF to publish my various web services & methods using SOAP/XML. I am now being asked to investigate a thin client web-application for this tool. I have been looking into Javascript libraries such as ExtJS ...

Where to start managing transactions in java SOA application

Hi, i'm starting to work with Services in Java, and i've been googleing for a while but i still have no clue when is need to handle transactions y several services, e.g. if creating a client uses 3 services, and the third service crash, how can i roll back the 2 previous services? any link, or explanation could help ...

building a SOA on Microsoft technology stack

so my open-ended potentially subjective question for the day is; if you were given the opportunity to build up a SOA on Microsoft technologies today; what would you choose from the options below; WCF, WF + AppFabric BizTalk + ESB Toolkit Combination of 1 & 2 Some other packaged solution ...