soa

traversing a BPEL array

99封情书 提交于 2020-01-05 17:22:26
问题 I need to traverse an array (input to BPEL) in java embed activity and need to generate a response (output variable) of BPEL process. I am using Jdeveloper and SOA 11g following is my xsd <?xml version="1.0" encoding="UTF-8"?> <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/BPELInpuandOutPutArray_jws/Project1/BPEL_input_output_array" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="process"> <complexType> <sequence>

traversing a BPEL array

我们两清 提交于 2020-01-05 17:19:46
问题 I need to traverse an array (input to BPEL) in java embed activity and need to generate a response (output variable) of BPEL process. I am using Jdeveloper and SOA 11g following is my xsd <?xml version="1.0" encoding="UTF-8"?> <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/BPELInpuandOutPutArray_jws/Project1/BPEL_input_output_array" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="process"> <complexType> <sequence>

traversing a BPEL array

我们两清 提交于 2020-01-05 17:19:14
问题 I need to traverse an array (input to BPEL) in java embed activity and need to generate a response (output variable) of BPEL process. I am using Jdeveloper and SOA 11g following is my xsd <?xml version="1.0" encoding="UTF-8"?> <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/BPELInpuandOutPutArray_jws/Project1/BPEL_input_output_array" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="process"> <complexType> <sequence>

SOA architecture data access

我们两清 提交于 2020-01-03 14:55:48
问题 In my SOA architecture, I have several WCF services . All of my services need to access the database. Should I create a specialized WCF service in charge of all the database access ? Or is it ok if each of my services have their own database access ? In one version, I have just one Entity layer instanced in one service, and all the other services depend on this service. In the other one the Entity layer is duplicated in each of my services. The main drawback of the first version is the

SOA architecture data access

余生长醉 提交于 2020-01-03 14:55:06
问题 In my SOA architecture, I have several WCF services . All of my services need to access the database. Should I create a specialized WCF service in charge of all the database access ? Or is it ok if each of my services have their own database access ? In one version, I have just one Entity layer instanced in one service, and all the other services depend on this service. In the other one the Entity layer is duplicated in each of my services. The main drawback of the first version is the

Defining SLAs for WCF Services

北慕城南 提交于 2020-01-02 19:26:12
问题 I have to performance/load test a bunch of interdependant services. They all use net.tcp and most use duplex contracts and internal queueing. [handrolled POCO queue class using lock(syncRoot) { if(queue.Empty) Thread.Wait(); }] Here's the approach I've come up with: Identify WCF Services to be performance tested Identify the relavant Performance counters for each of the Services Identify the logical startpoint that would take the execution through the services being tested Auto Generate Unit

Model-Service decoupling: what if my model needs a service?

余生长醉 提交于 2020-01-02 12:46:08
问题 The Service layer is supposed to be on top of the Model layer. As such, models are not supposed to call services. However, I'm facing a situation where I need to, for example: interface Component { getResult(); } class Number implements Component { private value; public getResult() { return value; } } class Addition implements Component { private component1; private component2; public getResult() { return component1->getResult() + component2->getResult(); } } class ConstantFromExternalSource

How to: Responsive available Wcf duplex communication

余生颓废 提交于 2020-01-02 09:27:31
问题 I'm working on an application that uses WCF to communicate between server and clients Server has changing number of services, along with one master service that clients can query for information about other services, and then subscribe to those they want using information from master service. Master service sends notifications to subscribed clients, when sub-services change (added, removed, etc) Also sub-services send notifications every few seconds. This sounds like a great opportunity for

Spring Integration as embedded alternative to standalone ESB

大憨熊 提交于 2020-01-02 04:35:10
问题 Does anybody has an experience with Spring Integration project as embedded ESB? I'm highly interesting in such use cases as: Reading files from directory on schedule basis Getting data from JDBC data source Modularity and possibility to start/stop/redeploy module on the fly (e.g. one module can scan directory on schedule basis, another call query from jdbc data source etc.) repeat/retry policy UPDATE: I found answers on all my questions except "Getting data from JDBC data source". Is it

Is it appropriate to use message queues for synchronous rpc calls via ajax

为君一笑 提交于 2020-01-02 01:21:46
问题 I have a web application that uses the jquery autocomplete plugin, which essentially sends via ajax a request containing text that has been typed into a textbox to our web server, once the web server receives this request, it is then handed off to rabbitmq. I know that we do get benefits from using messaging, but it seems like using it for blocking rpc calls is a misuse and that something like WCF is far more appropriate in this instance, is this the case or is it considered acceptable