How to configure URL in Oracle Service Bus 12C - osb

How can I configure URL's using Oracle Service Bus 12C. Suppose I have a url http://whatever.com/rest/services and I need this to go through OSB. I went through the documentation but couldn't find anything.
Thanks...

Assuming you are trying to call a service on that URL or simply trying to use some http methods on it (GET/POST).
Simply create a "business service" (which is a component in the OSB) and add your URL in the "endpoint URI" field.

You can do it doing double click in your proxy and select the Transport tab:
In this case the final URL is: http:///elasticsearch-sb/ProxyService

Related

How to remove Report Server Web Service URLs from Reporting Service Configuration Manager

To start with, I am completely new to SSRS reporting. Please excuse me if I miss any basic details here.
I am trying to create a reporting service.
Accidently, I have selected an existing Report Server Web Service Site Identification.
Now I have 2 Web service URLs. HTTP and one HTTPS
I want to remove the HTTPS URL. But I am not getting any option to do that.
To have a clear picture, I am adding the images below.
Kindly help.
try restarting the SSRS service and see if the https url goes away?
An alternative may be to try editing the rsreportserver.config file directly and remove any references to the https url under <URL> </URL> for the following:
<URLReservations>
<Application>
<Name>ReportServerWebService</Name>
<VirtualDirectory>ReportServer</VirtualDirectory>
<URLs>
again, the SSRS service will have to be restarted for changes to take effect.

OSB - Get endpoint from business services to log this endpoint

How can i get in a proxy flow the business service endpoint?. I want to log this endpoint in my log file.
I use OSB 11.1.1.7.
Thanks
Try with $outbound/ctx:transport/ctx:uri from proxy.
This can be achieved with use of "Message Tracing" functionality. Look under "Operational Settings" tab. Make sure to set the detail level to "Full".
Unfortunately there is no OOTB functionality to access service endpoint value inside OSB pipeline. Context variable $outbound/ctx:transport/ctx:uri mentioned before is only used to override default endpoint URI. ctx:uri is never initialized on the outbound variable. This information can be found in chapter "39.4.1.2 transport" of "Fusion Middleware Administrator's Guide for Oracle Service Bus"(https://docs.oracle.com/cd/E28280_01/admin.1111/e15867/context.htm#OSBAG326) .

Connection error with mule salesforce connector

trying to connect to salesforce sandbox with salesforce connector is resulting in following error,
Test connection failed: Check authEndpoint. It must contain '/services/Soap/u/'. authEndpoint specified
the url for connect is https://test.salesforce.com/services/Soap/c/29.0/.
the default connect url that appears on adaptor config is https://login.salesforce.com/services/Soap/u/28.0.
has anyone faced a similar error. if yes is there a workaround.
thanks
Santosh
Use https://test.salesforce.com/services/Soap/u/29.0
the /u/ means partner API
the /c/ means enterprise API
https://ap1.salesforce.com/services/Soap/u/32.0
https://your sfdc instance /services/Soap/u/32.0
will work

Reference a remote site setting URL in Apex class?

I have a webservice class that will be in a managed package and distributed to multiple clients. The class currently has a variable with the hardcoded value of the server it's hitting.
The problem: the server will be different for each client, so a hardcoded value will not work.
I figured since each client will have to add their server to their remote site settings, the easiest way might be to grab the correct URL from their setting. Is this possible? Or is there another "right" way to accomplish this? Thanks
The best way I've found to save configuration values is to use Apex Custom Settings. To set the Remote Site settings programmatically you could use the Metadata API.

SQL reporting services reference

I want to add service reference to SQL reporting services on local machine. In Reporting Service Configuration Manager under Web Service URL tab I have report service URL exposed, I have tried to add web reference to project with that Web Reference URL, but it can not be found.
Please tell me am I missing something or is this right way to to?
Thanks a lot.
Use this:
http://server/reportserver/ReportService2005.asmx?wsdl
ref:
http://msdn.microsoft.com/en-us/library/ms154052.aspx
There are two kind of address in SSRS, (youcan find them on SSRS Configuration Tool)
//localhost:xxxx/Reports
and
//localhost:xxxx/ReportServer
you have to use ReportServer
First of all, you should try this url:
http://localhost/ReportServer/ReportService.asmx?WSDL
WSDL at the end of the url is very important, because only by this querystring web-service will return the Web-Service Definition for the reporting services reference.
Other way, in "Add web-reference" dialog you can choose the "Web services on the local machine" (see the picture), and choose your service there.
alt text http://img706.imageshack.us/img706/2387/solution.png
Additional information about permissions needed is here:
http://msdn.microsoft.com/en-us/library/ms169816.aspx

Resources