OSB example calling multiple business services using a single proxy service???
Hi,
I have three business services created using http urls i.e.
1. LoginBS
2. GetListBS
3. LogoutBS
My requirement is to get a list of names from GetListBS using a single proxy service and to call GetListBS I have to first call LoginBS then GetListBS i.e. after authentication and then finally logout.
Kindly help with a detailed example for this and I am new to OSB.
Thanks,
Vik
Hi Eric,
Thanks for the response. We figured that it is possible to call multiple services with Split Join. However, we ran into the issue you described. We had a blocking call and had to wait until each of the services returned a response.
However, we needed a Async model for our design and felt that this might not be a right fit.
We are now looking at implementing the publish option with QoS configured as this fits our usecase better. Thanks for the help again.
Rudraksh
Similar Messages
-
Best practices for Calling Multiple Business Services in OSB
Hi All,
I have a requirement where I need to call multiple business services in OSB. We are presently calling them sequentially in a proxy pipeline. I was wondering if we could accomplish the same task in a better way. Each of the business services are mutually exclusive.
Thanks in Advance,
RudrakshHi Eric,
Thanks for the response. We figured that it is possible to call multiple services with Split Join. However, we ran into the issue you described. We had a blocking call and had to wait until each of the services returned a response.
However, we needed a Async model for our design and felt that this might not be a right fit.
We are now looking at implementing the publish option with QoS configured as this fits our usecase better. Thanks for the help again.
Rudraksh -
Custom hostname verifier not used when business services use a http proxy
On OSB 10.3, we have a business services with an https end point. To access this end point, the business service used an http proxy.
The certificate of the business endpoint is a wildcard certificate *.certificate.be . So we have a custom hostname verifier defined in the ssl configuration on the weblogic Server
As we can see with the verbose mode at the jvm, the custom hostname verifier is not used when we use a http proxy in the business service. Osb use a ALSBHostnameVerifier and this one the defaulthostName
<Mar 2, 2011 7:31:11 AM CET> <Debug> <AlsbTransports> <BEA-000000> <*** Connecting via proxy *** HTTP @ my.proxy.be/XXX.XXX.XXX.XXX:8080>
[Loaded com.bea.wli.sb.transports.http.ALSBHostnameVerifier from file:/bea/osb_10.3/lib/sb-transports-main.jar]
[Loaded weblogic.security.utils.SSLWLSHostnameVerifier$DefaultHostnameVerifier from file:/bea/wlserver_10.3/server/lib/weblogic.jar]
Is there any way to force business service to used hostname verfifier defined in weblogic ssl server config?
ThanksThis is a known issue. Raise a case with support and ask a patch for bug#9182604
Regards,
Anuj -
How to use cache on Proxy service in OSB
Hi all,
I need to use cache on proxy service. I am new to OSB, I have searched for this on net but unable to find.
Please come up with some docs or links going through which I can achieve this.
Thanks,
Phani.i assume you already checked the result caching feature which can be used on the business service?
http://docs.oracle.com/cd/E14571_01/doc.1111/e15867/configuringandusingservices.htm#OSBAG170 -
What is the use of creating proxy services using WSDL.
Hi
Am a beginner in ALSB and i have a basic question. Business services are created using WSDL,thats sounds logical as we need to invoke the actual backend services .
Proxy services are connected to business services and what is the need that it can be e created using WSDL.
What is the use of creating proxy services using WSDL.Hi,
I beleive you are confused because of the apparent inclusion of transport information in WSDL (that is the host:port/endpoint where the service is hosted). However, if you refer to the w3c specification of WSDL1.0 ([url http://www.w3.org/TR/wsdl]www.w3.org/TR/wsdl), you will find that WSDL has three separate sections:
1. The schema information that describes data element(s): specified in types
2. The message information ie message and port sections that specify the parameters and the operations
3. The service section that specify the actual protocol and endpoint binding.
Ideally, a WSDL can be broken down into these three separate components. Any WSDL containing the first two is called an abstract WSDL and is used for a top-down approcah for web services, and if the third part is used, then you get a concrete WSDL, containing invocation end-point also.
Comming back to your question one can typically use an Abstract WSDL for creating proxy service. This way, the service requester and integration can go on two separate threads where the common denominator or agreement between these two parties in terms of operation name and data element are imposed using the WSDL.
Thanks and Regards
Vivek Nandey
BEA Certified Developer for Integration Solutions -
Calling multiple script logics from a single package
Team- How do i call multiple script logics from a single DM package...?
I know its possible and have seen a prototype but cant recollect or find it on sdn...
Thanks for your time.
Vishal.Hi,
You can create a master script logic which will include all the other script logics using the *INCLUDE command and call this master script through your DM package.
Another way is to have multiple tasks in the process chain which is calling a script logic. You can pass separate script logics to each of the tasks.
I would prefer the first option
Hope this helps. -
Can I have multiple TFS instances use a single SSRS installation
Can I have multiple TFS instances use a single SSRS installation?
ThanksHi Kim,
According to your description, you have multiple TFS instances using one Reporting Services instance. Right?
For installing TFS, to use a named instance with Team Foundation Server, you must install SQL Server by using a named instance, or move or restore Team Foundation Server data to a named instance, or create a team project collection on a named instance. Please
refer to the link below:
Work with SQL Server Named Instances
Reference:
Understanding SQL Server and SQL Server Reporting Services
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Multiple post requests using a single HttpConnection
Hi,
is it possible to send multiple post requests using a single Http connection.
i am currently trying to simulate the preformance overhead because of creating HttpURLConnection to talk to my servlet. But, that made me wonder, if is there a way to send multiple post requests using a single HttpURLConnection.
can anyone help me with this.
thanks in advanceHi
I found this article through Google. I hope it helps a little
http://www.developer.com/tech/article.php/761521
D -
OSB call multiple Business Services and combine the responses into one
Dear All,
I am new to OSB and I have a use case that I need to solve. I have 3 web services and I imported their WSDLs into OSB and created 3 Business Services that goes with each WSDL. The scenario is like this.
Business Service 1: takes an input value as [Region] and returns a list of employee names.
Business Service 2: takes the list of employee names and returns the list of employee names with their job profile
Business Service 3: takes the list of employee names with their job profile and returns their contact information.
I need to return the result of Business Service 3 to the consumer. The consumer basically need to call the Proxy service with [Region] as the input value and the result should be the output of above Business service 3.
As I mentioned, I have WSDL for all the 3 Business Services, but, I do not have the WSDL for the Proxy Service. The Business Service WSDLs are all different and they do not match.
My question is it possible to achieve the above result without having a concrete WSDL for Proxy Service? Also, how can I go about solving this use case. I have gone through some articles that talk about Split-Join, and am really lost.
I really appreciate your kind reply on this.
Thanks in advance.
Regards,
SyamaYou have multiple options:
1. Create a WSDL which has input similar to input of WS1 (only Region as input) and an output similar to output of WS3.
Create Proxy Service based on this WSDL. Then call all the thee business services one after the other and doing transformations/assigns as needed after each call. Finally map the result of BS3 to the similar output of your new WSDL on which the Proxy service is based.
2. Create an Any XML type of web service. Create a schema which has two elements, one for input and one for output. Input containing only Region and output containing all the details. All consumers need to send request according to input defined in schema and expect output defined in schema. Its similar to creating the WSDL but can be used in case your consumer do not want to call a Web Service but want to call an XML API over HTTP. Rest will be same as option 1.
Split join is needed to make calls in parallel, it wont be usable in your use case unless you expect a list og regions in the same request for each of which you need to gather same information by calling three services. -
Calling an MFL business service from a WSDL proxy service
Hi,
I'm using Service Bus v2.6, and trying to call an MFL business service from a wsdl based proxy service.
I have done the following so far:
- Define an MFL-based business service that writes MFL messages to a JMS queue and reads reply messages off another queue, and it works when I debug this business service by itself.
- Define a wsdl proxy service that routes requests to the MFL business service.
Since the tutorials don't have MFL examples, I'm struggling to get this working. I've tried different ways, but no luck.
Here's my definition of the route node in the Proxy Service at the moment.
1. Call a custom XQuery (.xq file) to convert incoming message to an XML representation of the MFL message, and assign the result to a variable "param1"
2. Use "Service Callout" to call the MFL business service, and set Request Document Variable to "param1" and Response Document Variable to "param2".
When I debug the flow, param2 (reply) comes up as empty, and I don't know how to make it work.
I've turned on the JMS trace etc and the JMS bit is working (i.e messages being written, and read by the business service).
There seems to be something wrong with the way I call it from the proxy service.
Any help would be much appreciated..
ThanksHello,
Can you indicate the classpath that you use to run your client, version of weblogic and the version of jaxrpc api that you are using.
As a quick experiment adding the jaxrpc jar files to your classpath one at a time.
This [url http://www.javaworld.com/javaforums/showflat.php?Cat=&Board=Enterprisejava&Number=3801&page=12&view=collapsed&sb=9&o=&fpart=1]chap seemed to have a similar problem to you and solved it by adding the jaxprc-spi jar file to his class path. It may be that the jaxrpc-impl is causing you greif.
Also see this thread:
http://forums.bea.com/bea/message.jspa?messageID=200612003&tstart=0
Hussein Badakhchani
www.orbism.com -
Mixing multiple audio files using Windows Azure Media Services
Hi,
I'm trying to "mix" multiple audio files on the server, e.g. I have 4 different .wav files for each instrument in my song: vocals, guitar, drums, bass. I want to create a new stereo "mix" from these, but I want to change the relative
volume of one of the tracks, say vocals, or mute it altogether. I can use libraries such as NAudio to achieve this, but I'm wondering if Windows Media Services can do this, and if so, can it do it dynamically, i.e. create a live stereo stream and allow
me to add/drop individual tracks on-the-fly. I've been looking through documentation on Azure Media Services and Expression Encoder, but haven't found the answer.
Thanks,
AlanHi Georgios,
There is support for using audio overlays in our service - see http://azure.microsoft.com/blog/2014/08/21/advanced-encoding-features-in-azure-media-encoder/ for examples. It may be possible to perform pairwise overlays to implement your scenario.
However, it's currently not possible for us to integrate customer-built processor code into our service.
Cheers,
Azure Media Services team -
Multiple weblogic instances using IIS to proxy the requests
I have a need to run multiple weblogic instances using IIS as the web
server.
Does anyone know if this is possible. I am aware and have been able to run
multiple weblogic servers as an nt service,
but in those cases weblogic was being called and IIS was being bypassed.
Now the user base wishes to use IIS to proxy the requests.
I have been able to set IIS to forward using the .jhtml and .jsp file
extensions to the iisproxy.dll, but have not been able to forward these
requests to multiple weblogic instances. When the request is made it is
only looking in the first instance of weblogic for the request.
Is it possible to use weblogic and IIS with two or more weblogic instances,
without weblogic acting as a webserver.
I dont believe this is possible but I need to find out if this really is the
case.
Thanks for any help you can provide.
EdYou need run each IIS web server instance in its own memory space. This can
be set through the Management Console for IIS.
Keith
Mike Kendzierski <[email protected]> wrote in message
news:[email protected]..
We tried to do this & Weblogic doesn't support this config. We opened upa
support call with them regarding this, but there is a problem with the way
that IIS & NT proxies .JSP pages to the weblogic servers. It's very
unstable this way & I wouldn't recommend this config.
We switched to Apache with virtual hosts to do this & it works fine. It's
probably not the answer you want to hear, but it works very well.
If you have any questions, just ask away.
"Ed" <[email protected]> wrote in message
news:3a296c2d$[email protected]..
We are using IIS4 with weblogic 4.5.1 sp11,
I thought I read someplace, their was a problem between wls 4.5.1 sp7
and
wls 5.1 where it didnt look in the folder where the dll was.
I will give it a try on monday.
Peter Mergaerts wrote in message <[email protected]>...
We tried to do the same thing.
We copied iisproxy.dll and iisproxy.ini to server1 and let IIS use this.dll
instance for proxying .jsp etc.
We copied the iisproxy.dll and iisproxy.ini to server 2, renamed
iisproxy.dll to iisproxy2.dll (to make sure another instance was used)
and
let the second iis site use iisproxy2.dll, but that didn't worked. (It
doesn't read the iisproxy.ini file located in the same directory as the.dll
file, altough in the manual it says it checks this first.) Now, I thinkit's
possosible to use several iisproxy.dll's as long as you rename it so
each
get it's own instance, the only problem is that each .dll doesn't readthe
correct iisproxy.ini file. (BEA, is this for SP7?)
Regards,
Peter Mergaerts -
Connect to SharePoint web service using the XML / Web Service connector
Hi experts,
I am currently trying to display my SharePoint list in Crystal Report. Therefore my plan is to use a SharePoint web service to get the data and paste them to the Crystal Report.
Is it possible to use the "XML and Web services" connector of the Crystal Reports database expert?
When I enter the web service URL, for instance:
https://[url]/_vti_bin/lists.asmx?wsdl
and click next... I have to enter the web service credentials.
On the next page I have to enter Service, Port and Method.
Do I have to enter the service URL again here?
What If, there is no port? Can I leave that field empty?
I know the methods, but where can I add the mandatory parameters?
Thanks for any helps and comments!
SebastianHi Ananth,
thank you, but this document does not help at all.
We are using Crystal Reports 2008 SP2.
We want to use the Web Service Connector.
What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
Or must I use the Crystal SDK to carry out a connection?
Best regards,
Sebastian -
OWSM user name token service policy for a proxy service at OSB
Hi Friends,
I am facing an issue while trying for the OWSM user name token service policy Authentication for a proxy service at OSB. I am using the PS4 SOA suite with AIA foundation pack. very first I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security->security provide configuration. Inside the security provide configuration we have to key store section and I expand that and we have a configure button inside the keys tore. I click that button and it open a new page. In that page I got the Java key store (JKS) as the default key store and in the access Attributes I keep the default key store path and fill password and confirm password fields. Then in Identity certificates I fill the signature key and Encryption key with key Alias as 'orakey' and same password which I am mentioned at access Attributes. I got the message like the key store is created successfully. Then I restarted the server and again I am login into the EM console and choose the domain<soaosb_domain> form web logic domain I moved to security. In security I choose the credentials. In credentials we have create key. In the create key I add the key as hari-key and provide the hari as a user and his password.
While trying to test the proxy service i am getting the [OSB Security - OWSM: 387253] Failed to initialize OWSM Credential Manager. Please validate the Key store Configuration.
can anyone please look at this and suggest me how can I proceed for this.
Thanks
Harianyone please respond to the above request.
Thanks
Hari -
Update multiple rows & columns using a single statement
I have the following table with tablename - emp
first_name last_name age
aaa bbb 31
56
78
ggg hhh 36
2nd & 3rd row contain null values (no data) in first_name & last_name column . I want to update those two rows with data using a single statement. How do I do it?
I was thinking may be something like the following:-
UPDATE emp
SET first_name= , last_name=
CASE
WHEN age = 56 THEN 'ccc', 'ddd'
WHEN age = 78 THEN 'eee', 'fff'
ELSE first_name, last_name
END
-----------------------------------------------Can you give an example of a nested decode statement.
test@ora>
test@ora>
test@ora> --
test@ora> drop table t;
Table dropped.
test@ora> create table t as
2 select rownum x, cast(null as varchar2(10)) y from all_objects
3 where rownum <= 10;
Table created.
test@ora>
test@ora> select x, y from t;
X Y
1
2
3
4
5
6
7
8
9
10
10 rows selected.
test@ora>
test@ora> -- You want to change the values of y to 'a' through 'j' for x = 1 through 10
test@ora> -- and y = 'X' otherwise
test@ora> --
test@ora> -- Let's say the limit on the number of components were 12
test@ora> -- Then your decode statement would've been:
test@ora> --
test@ora> update t
2 set y = decode(x,
3 1, 'a',
4 2, 'b',
5 3, 'c',
6 4, 'd',
7 5, 'e',
8 'f');
10 rows updated.
test@ora>
test@ora>
test@ora> select x, y from t;
X Y
1 a
2 b
3 c
4 d
5 e
6 f
7 f
8 f
9 f
10 f
10 rows selected.
test@ora>
test@ora> -- As you can see you are unable to:
test@ora> --
test@ora> -- change y to 'g' if x = 7
test@ora> -- change y to 'h' if x = 8
test@ora> -- change y to 'i' if x = 9
test@ora> -- change y to 'j' if x = 10
test@ora> -- change y to 'X' otherwise
test@ora> --
test@ora>
test@ora> -- What you would do then is -
test@ora> -- (i) Let the 11 components remain as they are and
test@ora> -- (ii) Introduce a nested decode function *AS THE 12TH COMPONENT*
test@ora> --
test@ora>
test@ora> rollback;
Rollback complete.
test@ora>
test@ora> --
test@ora> update t
2 set y = decode(x,
3 1, 'a',
4 2, 'b',
5 3, 'c',
6 4, 'd',
7 5, 'e',
8 decode(x,
9 6, 'f',
10 7, 'g',
11 8, 'h',
12 9, 'i',
13 10, 'j',
14 'X')
15 );
10 rows updated.
test@ora>
test@ora> select x, y from t;
X Y
1 a
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i
10 j
10 rows selected.
test@ora>
test@ora>HTH
isotope
Extrapolate that to 255 components and you get 254 + 255 = 509 components. And so on...
Message was edited by:
isotope
Maybe you are looking for
-
I want to copy email from my mac to my pc. Forwarding one at a time via email works well, but when I try to forward several of them at a time I receive one large email. I want to receive the emails individually on my pc. Any suggestions?
-
Time machine with network drive?
I heard I could use time machine with the hard drive I have connected to my airport extreme. Problem is I can't get the disk to appear in the time machine set up window as an option
-
Sort order for photos synched from Aperture
I have synched photos from Aperture to the Apple TV, but the sort order when shown on Apple TV is not the same as the sort order in Aperture. Does anyone have an idea about which metadata field in Aperture is being used by Apple TV to determine the s
-
Will Family base allow me to see content of text messages?
will Family base allow me to see content of text messages? can app be put on my childs phone without them knowing?
-
I keep getting the following error message, seemingly at random when loading pages in the portal. Usually a refresh is enough to get the page to load, but I cannot find the cause of this problem. Any help is greatly appreciated. <FONT CLASS=PortletTe