How to refresh business service in OSB
Hi,
I created business & proxy service (consume URI) in OSB. Now service is changed. Is there possibility to simply refresh/renew business/proxy service in Eclipse or I have to delete it and create it again?
What do you mean by "service is changed"?
If you mean that the osb project name has changed and you want to reuse the same resources, then you can try the Move option on the resource or use the Clone resource option.
There might be some conflicts that you will have to resolve if you use the clone with proxies and ws-ploicy files.
Thanks,
Patrick
Similar Messages
-
How to call business service from xquery transformation in OSB ??
Hi All,
How to call business service from xquery transformation in OSB ??
I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
It's urgent.
Regards,
Jyoti NayakTransformation is to mapping the source and target of 2 different schemas.
In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
Thanks,
Vijay -
How to keep data integrity with the two business service in OSB 10.3.1.0
How to keep data integrity with the two business service in OSB 10.3.1.0
In our customer system, customer want to keep data integerity between two businness service. I thinks this is XA transaction issue.
Basing customer requirment, I created a testcase but I can't keep data integerity, For detail information, please refer the attached docs.Can you please explain what you meant my data integrity in your use case?
Manoj -
How to configure proxy services in OSB for Rest based services?
how to configure proxy services in OSB for Rest based services implemented using Jersey (Rest).
The Client need to contact OSB proxy servies by posting application/xml using jersey client and OSB proxy service will call the OSB business service.
i would like to know how to get this request in OSB proxy service and send it to the business service and get the response back.I would suggest you refer to the below links:
https://blogs.oracle.com/jeffdavies/entry/restful_services_with_oracle_s_1
https://blogs.oracle.com/jamesbayer/entry/using_rest_with_oracle_service
Hope this helps.
Thanks,
Patrick -
Using a uddi key to create a business service in OSB
I want to be able to use a service registry key when creating a business service in OSB. I've found documentation on how to do this in Oracle ESB, but not in OSB.
From the documentation for OSB, I can only find a way to synchronize the business services imported from the service registry (when i search through the imported services there is no mention of the uddi key that i can see). I can choose to auto-import when setting up the registry, but I'm not sure exactly what this behavior does.
From the console documentation (http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/uddi.html)
"You can use the Auto-Import Status page to synchronize changes to a service with those present in the registry. Upon any changes to a service in the registry, Oracle Service Bus provides notification of the change on the Auto-Import Status page which lists all out-of-sync services. You can then synchronize the service in the Oracle Service Bus Console with the corresponding service in the UDDI registry."
This setting seems to automatically update the endpoint of the business service wihtout that administrator having to do anything, but what is actually being done? Is the service bus updating the endpoint as soon as it has been notified of a change or when i view/call the service is the endpoint being looked up?
Am I missing something??
Edited by: user498458 on Apr 27, 2009 11:30 AMI took your advice and re factored the Receive class so it had all the functionality I needed except two methods which would then be overridden in the derived classes. What I had a hard time understanding is once an object of class say SpecialReceive extends Receive it can be referred to as Receive yet still maintain that it's a SpecialReceive.
What I mean is if I give a Receive object to some method and this method has no idea that this object is actually SpecialReceive and it calls a method say run() which gets overridden by the SpecialReceive. I thought that since this method has no idea what type of Receive this object is it will execute Receive's run(). But it actually does know what type of class it is and it executes the right run() method (the one that SpecialReceive overrides).
After I realized this there is no more need for casting.
Thanks everyone for your contributions. -
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 -
How to develop web services in OSB using Eclipse OEPE
Hello,
We have some live web services developed in SOA ESB using JDeveloper.
We are now forced to migrate to OSB because of the reason that sometime next year ESB will be de-supported by Oracle.
I am looking for some good documentation which explains how to create web services in OSB using Eclipse. Please help.
I am installed Web logic + OEPE + OSB in my local machine already. All I need is to know how to start development.
Thanks,Hi,
You can start with this:
http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
Cheers,
Vlad -
Provide authenticated username as parameter to a business service in OSB 12c
Dear OSB/OSB experts,
I have the following issue:
1. I have a web service that would accept username as a parameter in the SOAP request in order to do some internal authorization checks (filtering database rows, tables, etc.)
2. I want to connect that web service as business service in OSB 12c
3. The proxy service should NOT accept username as parameter
4. The proxy service should be protected via OWSM policy for authentication (either against the WLS authentication providers or through SAML tokens validation)
Based on the above is there any mechanism in the implementation of the proxy service to get the authenticated username from the security context and provide it as a parameter to the business service?
The authentication policy could use SAML tokens between two WLS domains - one will be running the WLS where proxy service clients will be running and the other - for the SOA 12c.
Many thanks in advance,
AnatoliHI,
u can use Conditional Branching
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1061670
Split join would be used in case u need to split your request and call your Business Service in Serial/parallel & then gather resposnes from multiple callouts to have single response
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/splitjoin.html#wp1137258
Abhinav -
Problem in creating JMS business service in OSB
Hi all
I am creating a JMS business service in osb:request /response is TEXT
It write to "*QueueSend*"-which is my URI endpoint
I have a MDB which read from "*QueueSend*" and write to "*QueueReceive*"
i have given the *"Response Endpoint*" in jms business service to point to "*QueueReceive*"
When i send the msg, it write to QueueSend and mdb writes it to QueueReceive but JMS business service doesn't read from QueueReceive,it just wait a long .......
What is the problem??
Thanks
RohanHi Rohan,
Are you able to see consumers on "QueueReceive"?
If no, then your BS is not listening on this queue. Check the end-point again. Check server logs to know if any error occured while BS tried to connect with Queue. Restart your server which has this queue and then the OSB, and try again.
Regards,
Anuj -
Having multiple Stored procedure in a single Business Service in OSB
Hi,
Please let me know is it possible to have multiple Stored Procedure inside one business service in OSB.
Regards,
AbdulHello Abdul,
It is not possible to serve multiple stored procedures/functions with one business service because one business service can be based on one adapter only and one DB adapter can interface one DB component only. You may have one stored procedure which internally makes call to all other procedures as per your requirement and from OSB, call this single stored procedure using one business service.
Regards,
Anuj -
How to refresh Java service facade from entities tables
Hi Everyone,
somebody of you guys know how How to refresh Java service facade from entities tables. from oracle jdeveloper 11g.
my tools are:
Toplink
Adf
Java Service Facade.
thanxHi,
sounds what you want is to wag the dog with the tail. What is the use case you want to implement? Do you want to refresh a collection in response to RDBMS changes ? If so then Active Data Services is an option. However, your question is not well asked and I am already spending more time in answering your question than you spent writing it
Frank -
How to call https service from OSB
hi
I need to call thirt party https service. Its a secured service with authentication.
I have Imported ssl certificate in keystore.
It's one way ssl with authentication and I need to pass wsse token (username/password) from Business service to invoke third party service.
What steps do I need to follow to call this service?
I have gone through all other
Thanks
VibhorBelow note gives the high level steps to be performed for implementing different security requirements with OSB
OSB - Proxy Service HTTPS one way
Configure Identity & Trust Keystore
OSB - Proxy Service HTTPS 2 way
Configure Identity Assertion Provider to support X509
Configure user mapper class for default identity assertion provider
Change 2 way Client Cert behaviour from default
('Client Certificate Not requested”) to “Client Certificate requested but not enforced”
OSB - Business Service HTTPS one way
Add root & intermediate CA certificates of the server to the trust keystore
OSB - Business Service HTTPS 2 way
Add root & intermediate CA certificates of the server to the trust keystore
Configure PKI Credential Provider containing the client certificate
Configure a Service Key provider with SSL Client Authentication key
Associate the service key provider to the proxy service which invokes the business service
OSB - Proxy Service WS-Security User Name Token
Configure Auth.xml or custom username token WS-Security Policy
OSB - Proxy Service WS-Security X509 Token
Configure Auth.xml and Sign.xml Policy
Change UseX509ForIdentity attribute in domain → WS Security → Inbound Mbean Token handlers Page to true
Ensure Certificate passed by client is present in certificate registry or the root CA in trust keystore depending upon weblogic certification path provider configuration
Configure Identity Assertion Provider and Username mapper class.
OSB - Business Service WS-Security User Name Token
Configure Auth or custom username token WS-Security Policy
Configure Service account for username provider
OSB - Business Service WS-Security X509 Token
Configure Sign.xml and Auth.xml policy ( or custom signing and username token policies) in the business service
Configure a PKI credential provider and service key provider containing the certificate to be used for signing and authentication
Associate the service key provider to the proxy service which invokes the business service.
*OSB - Proxy Service Digital Signature [ Request Only]*
Configure Sign.xml or a custom signing policy to the proxy service
Ensure Certificate passed by client is present in certificate registry or the root CA in trust keystore depending upon weblogic certification path provider configuration
*OSB – Business Service Digital Signature [ Request Only]*
Configure Sign.xml policy ( or custom signing policy) in the business service
Configure a PKI credential provider and service key provider containing the certificate to be used for signing
Associate the service key provider to the proxy service which invokes the business service.
Edited by: atheek1 on Aug 26, 2010 5:17 AM
Edited by: atheek1 on Aug 26, 2010 8:20 AM -
Dynamic csf-key to Business service of OSB?
We have created single Business Service which is getting called from one proxy service to execute different Web Service end points.
For different end point execution I want to pass different authentication parameters.
Currently we have configured User Id and Password through single csf-key through policy.
Since csf-key is secured option to pass authentication parameters to end point, is it possible to configure dynamic csf-key to Business service of OSB?Create a business service using file transport and type "Text".
Obtain the file name and assign to $body in ur proxy service stage and publish to the business service u just created. -
How to publish to different Business service in OSB
Hi,
I have a xml,based on the RecordType I need to send to two Business services.
If 00020=Then i publish to LOSS BS
if 00030=Then to Gain Business service.
Then XML is as below.
+<body>+
+<CSSiteAndMeter>+
+<Header>+
+...+
+</Header>+
+<Detail>+
+<RecordType>00010</RecordType>+
+<RecordTypeLiteral>METERID</RecordTypeLiteral>+
+</Detail>+
+<Detail>+
+<RecordType>00020</RecordType>+
+<RecordTypeLiteral>LOSS</RecordTypeLiteral>+
+</Detail>+
+<Detail>+
+<RecordType>00010</RecordType>+
+<RecordTypeLiteral>METERID</RecordTypeLiteral>+
+</Detail>+
+<Detail>+
+<RecordType>00030</RecordType>+
+<RecordTypeLiteral>GAIN</RecordTypeLiteral>+
+</Detail>+
+<Trailer>+
+...+
+</Trailer>+
+</CSSiteAndMeter>+
+</body>+
How do i do in OSB,though there is a IF condition in OSB which i can do by cheking the Record Type='00020',but i need the Record Type =00010 also while publishing, like below
+<Detail>+
+<RecordType>00010</RecordType>+
+<RecordTypeLiteral>METERID</RecordTypeLiteral>+
+</Detail>+
+<Detail>+
+<RecordType>00020</RecordType>+
+<RecordTypeLiteral>LOSS</RecordTypeLiteral>+
+</Detail>+HI,
u can use Conditional Branching
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1061670
Split join would be used in case u need to split your request and call your Business Service in Serial/parallel & then gather resposnes from multiple callouts to have single response
http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/splitjoin.html#wp1137258
Abhinav -
Proxy business services in osb
In osb if i want to get data from a client then what is the procedure
I am using a business service whose endpointuri is a proxy service (protocol http)
And this business service is inturn called by my local proxy service
Is this procedure correct ?
if not then what is the correct procedure how many proxy and business services do i need to get data from my client
Thanks,
RahulHow many Proxy Services and Business Services to use depends on the use case.
For example, if your client will initiate a transaction when it has some data to send to another system then you will have to configure following flow:
First system (wants to send some data)--> Proxy Service(to receive data from Client) --> Business Service (to call the second system) --> second system web service API
Another scenario in which you need to get some data from the second system when requested by the first system (query scenario) the above flow would still remain the same.
Addition of another Proxy service depends on specific use case and scope of re-usability etc. For example if you want to fetch data from a system and that query can be reused in various processes or can also be called from various client applications then you can create a wrapper Proxy above the Business service and call this Proxy Service instead of calling the business service from your Proxy.
Domain structure also is a deciding factor, for example if you want to call a Proxy in one domain from another domain you can use a Business Service in the requesting domain.
Maybe you are looking for
-
Seeing jagged lines on external monitor in 720P project???
I just a purchased a Panasonic BTLH1700 to use as a braodcast monitor with Final Cut Pro 6 and even though the monitor and my FCP project are 720p mode, I'm still seeing jagged lines. I thought that was usually a 480i issue. When you're working in a
-
I just got a dutch Photo Mag that compared Lightroom 2 to Capture One 4. I was amazed at the conclusion Capture One won the contest, based upon image quality results. I immediately downloaded a 30 day trial and compared LR, PS cS3 and CO side by side
-
I have problem with url on JEditPane. I load page like this: www.setPage("http://www.????.com"); www is JEditorPane and i have wwwHyperlinkUpdate: private void wwwHyperlinkUpdate(javax.swing.event.HyperlinkEvent evt) { if (evt.getEventTy
-
Why can't I open .zip files?
The archive utility runs and runs and then it just stops. Why is that?
-
Capturing SSIS Error line in a mail
Hi, Can i capture an error message line in a mail instead of whole error message.