OSB : Endpoint URI problem in business service

I have to invoke a http service from OSB where endpoint uri is http://<ip>:<port>/Resource.
At invocation time OSB is adding "?" to the end of URI, in that case http message is becoming like following:
POST /Resource? HTTP/1.1
External service is considering it as a bad request and giving 500 response code with following comments:
Error occured: 500, Cannot find local resource: /Resource?
But I am getting proper response when I am calling from java program with http message POST /Resource HTTP/1.1
It is not possible to change the external system, now how can I solve the problem??
Please help.
Thanks
Afzal
Edited by: uttam on May 2, 2012 9:49 PM

Open your business service and navigate to HTTP Transport configuration page and check what is the http type is enabled.
Look to me its with GET method, change it to POST and re-try.
If the above solution is not helping, try to check the Follow HTTP redirects check box below the Advanced Setting in same page.
Thanks,
Vijay

Similar Messages

  • Log endpoint URI of  a Business Service OSB

    Hi,
    I want to log the endpoint URI of a business service (OSB) that I'm calling from a proxy service. Can anybody tell me how to do this?
    Thanks in advance!
    Martín.-
    Edited by: 876766 on Aug 16, 2011 7:31 AM

    In the response (pipeline) you have this attribute: $outbound/ctx:transport/ctx:uri.

  • OSB best practices to run business service on two different environments

    Hi.
    I am using Service Bus 11gR1
    Oracle Service Bus Version: [Oracle Service Bus L10N Dependencies 11.1 Fri Dec 4 17:43:22 EST 2009 ]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 ]
    I deploy my OSB services on two different environments (development, production).
    How to setup business service to run on two different environments without changing source (business service transport Endpoint URI)?
    Thanks in advance.

    I am not sure of any tutorial.
    For your case if you just have one URI and you want to change the URI for the business service you can simply use the OSB Customization file.This is straight forward.
    If you have complex routing logic based on inputs fields ,you can follow the below steps,
    Create a simple table with Business Service Name,Env and URI as columns.
    Create a select DBAdapter to return the URI
    Create a business svc out the DBAdapter files
    Use the business service to fetch the URI and finally
    Use the URI override( ref - http://www.oracle.com/technetwork/middleware/service-bus/learnmore/index.html)
    Edited by: Prabu on Feb 21, 2012 8:10 PM

  • End Point URI change in Business service?

    Hi all,
    We had done all our osb code development and moving from one environment to other(Eg. E2E testing to UAT, Then UAT to Production). When we move the codes from one server to the other we need to change the End Point URI in the business service for almost all the OSB services which calls external systems else Calling BPEL services. SO is there any other way to make the end point URI's in some other file and read that file to get the end point URI and set in BS. Or did any one have any other suggestions?? Because each and every time we need to make the code change when we move on from one server to other.
    Regards,
    Prabhu

    Why don't you use customization file -
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15867/customization.htm#CACJCAGD
    Regards,
    Anuj

  • Setting an endpoint dynamically for a business service

    I need to set an endpoint for a business service dynamically in the message flow of a proxy service. I'm basically doing what it says in this article(page 9 under heading - Registry per Individual Domain):
    http://e-docs.bea.com/alsb/docs26/pdf/deploybestprac.pdf
    I've gone to the link to the User guide that it gives in there for "Using Dynamic Routing". And I've pieced together most of what I need to do. I have a dummy business service with a dummy URL. I'm making a service callout and getting and endpoint back and saving that endpoint address to a variable. (that's all in a stage in a pipeline node.) Then I dynamically route it to dummy business service. The part I don't know how/where to do is reassign the dummy business service's endpoint to the endpoint I got back from my service callout.
    Can anyone help me with this?
    Thanks,
    Brittany

    Try with a 'Dynamic publish to service' action with:
    <ctx:route isProxy="false">
    <ctx:service>{ $yourBusinessService }</ctx:service>
    </ctx:route>
    where $yourBusinessService is the variable hosting the uri of your business service.
    Regards
    ferp

  • What is the endpoint URI of a proxy service?

    Hello, I want to create a SOAP client that will access an ALSB-hosted proxy service, but I don't know the URL needed to get to the web service.
    Within ALSB's console, I can easily test the proxy web service but don't know how to access it externally.
    On the Proxy Service's configuration page, in the Transport section, the endpoint URI is given as "/default/DoubleItExternalProxy", but when I try to access the wsdl at that uri via:
    http://localhost:7001/default/DoubleItExternalProxy?wsdl, I get this message:
    Error 500--Internal Server Error
    This service is not associated to a wsdl
    Although I believe the service must be associated to a WSDL--I have it based on a business service that has its own WSDL. Does anyone know what the browser URL needs to be to get to the WSDL? Using JAX-WS, I need the WSDL to generate the JAX-WS/JAXB artifacts for my SOAP client.
    Thanks,
    Glen

    Hi Glen
    You will need to associate your proxy service with a WSDL when you create it (Unfortunetly it can't be changed from Any SOAP to WSDL afterwards).
    The proxy does not use the wsdl from the any business services it calls in case there are multiple.
    Ryan

  • OSB 11.1.1.6 - Business Service IIS6.0 2way SSL Null Pointer Exception JSSE

    We must use JSSE because of SHA256RSA sign algorithm.
    Business Service calls a remote webservice over two way ssl. Client-cert configured, Key Provider is correctly set, PKI Provider Mapping is fine. Everything is tested with SoapUI 2way SSL and worked like a charm.
    But not with IIS 6.0. Renegotation is enabled (with parameter sun.security.ssl.allowUnsafeRenegotiation) and Chunked Streaming Mode is also set.
    The invocation resulted in an error: [WliSbTransports:381304]Exception in HttpOutboundMessageContext.RetrieveHttpResponseWork.run: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:101)
    at weblogic.socket.JSSEFilterImpl.handleResultsCommonly(JSSEFilterImpl.java:659)
    at weblogic.socket.JSSEFilterImpl.handleUnwrapResults(JSSEFilterImpl.java:550)
    at weblogic.socket.JSSEFilterImpl.unwrapAndHandleResults(JSSEFilterImpl.java:456)
    at weblogic.socket.JSSEFilterImpl.read(JSSEFilterImpl.java:370)
    at weblogic.socket.JSSESocket$JSSEInputStream.read(JSSESocket.java:58)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at java.io.SequenceInputStream.read(SequenceInputStream.java:149)
    at java.io.SequenceInputStream.read(SequenceInputStream.java:152)
    at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:151)
    at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:468)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:401)
    at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
    at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1005)
    at com.bea.wli.sb.transports.http.HttpOutboundMessageContext.getResponse(HttpOutboundMessageContext.java:679)
    at com.bea.wli.sb.transports.http.wls.HttpOutboundMessageContextWls.access$100(HttpOutboundMessageContextWls.java:26)
    at com.bea.wli.sb.transports.http.wls.HttpOutboundMessageContextWls$RetrieveHttpResponseWork.handleResponse(HttpOutboundMessageContextWls.java:96)
    at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse$RunnableCallback.run(AsyncResponseHandler.java:535)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Hi, I have the same problem but with Weblogic 12.1.1 (12c):
    at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:114)
         at weblogic.socket.JSSEFilterImpl.handleResultsCommonly(JSSEFilterImpl.java:739)
         at weblogic.socket.JSSEFilterImpl.handleUnwrapResults(JSSEFilterImpl.java:630)
         at weblogic.socket.JSSEFilterImpl.unwrapAndHandleResults(JSSEFilterImpl.java:498)
         at weblogic.socket.JSSEFilterImpl.read(JSSEFilterImpl.java:414)
         at weblogic.socket.JSSESocket$JSSEInputStream.read(JSSESocket.java:58)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
         at weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:224)
         at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:148)
         at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:469)
         at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:401)
         at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37
    Is there a patch for this version?
    Thanks in advance

  • OSB with request response MQ business service

    Hi,
    We have OSB webservice whice interacts with MQ via business service. We need to send the request to MQ request queue and get the response from the response queue.
    For this, we have configured a business with MQ transport, request-response is enabled, message id is set for the correlation, auto generate correlation value is chosen.
    The business service sends the message but unable receive the response from the response queue. Failing with the error message like
    The invocation resulted in an error: [WliSbTransports:381918]Failed to receive response, within the configured timeout, for request message with id 42454BD3E5F7647914544E793F9F0000013EC9DF03918057 and correlation id 42454BD3E5F7647914544E793F9F0000013EC9DF03918057.
    But we checked with the end system, the response is sent tot he response queue in no time. We also increased the time out but still same issue.
    We noticed that if we dont send the message id, we are getting the response but not response of the request sent but some other response.
    Please suggest what needs to be done to fix the issue.

    Open your business service and navigate to HTTP Transport configuration page and check what is the http type is enabled.
    Look to me its with GET method, change it to POST and re-try.
    If the above solution is not helping, try to check the Follow HTTP redirects check box below the Advanced Setting in same page.
    Thanks,
    Vijay

  • Problem in business service

    hai,
    i have created a simple idoc to file application.
    i have got a problem in technical routing and the error category is "outbinding", error ID id "CO_TXT_OUTBINDING_NOT_FOUND"
    the sender service is not one which i 've created.  it is displaying the previous sender service for my idoc.
    how to delete the previous business service?
    hope i have stated my problem clearly.
    please help me

    Hi Ramya,
    For removing ur bussiness service from ur scenario just "Right click on ur bussiness service->and select
    option remove from the scenario".
    And now add ur respective Bservice by right clicking on it->Add to scenario.
    Remaining steps as usual.
    For this problem "CO_TXT_OUTBINDING_NOT_FOUND":
    check weather receiver determination and interface determination objects are referenced to the same namespace or not. Sender and receiver interface objects should always refer to the same Namespace.
    Check determination and interface determination objects are active in change lists tab. If they are not active, activate the objects.
    And also:
    1.Check out the Receiver Determination and Receiver Agreement . try to reactivate again.
    2.check out the sender service, sender message interface, receiver service and receiver message interface in the SXMB_MONI
    3.refresh the cache in SXI_CACHE and also integration builder>Administration>Cache Overview do the cache refresh for all IR, ID, and Runtime
    Go thru this blog:
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Regards,
    Vinod.

  • Problems with Business Services using Email

    Hi,
    I'm trying to create a business service to use an email protocol.
    In ALSB Console, I go to the "Create Business Service" page and select the "Messaging Service" Service Type. When I get to the Transport Configuration, and select the protocol dropdown, I only see HTTP, HTTPS, JMS and Tuxedo. The documentation says email should be only of the supported protocols here, so whats wrong ?

    When creating the business service you specify the service type of your service. If the service type you select is not supported by the email transport it won't show up in the drop-down list. If you selected MIXED type, you can't specify a response, you can't select WSDL based service either or any soap based service.

  • OSB: Call two methods from business service in same session

    I create sequence of service callout but they work separately. How add session maintain on service calls.

    by "session" do you mean "transaction"? There is not a concept of "session" in OSB...

  • Oracle Service Bus - Business Service Endpoint URI - Dynamic

    Hi,
    I'm trying to find a way to avoid hard-coding the endpoint URI in a business service. The reason I need to achieve this is because for the different environments (development, testing, production, etc...) the URI will be different.
    I have spent the past 2 days searching the oracle forum and documentation but have come up with nothing. Is there a way to achieve this?
    Preferably, is there a way to store the endpoint URIs in a configuration/properties file which can be changed when needed?
    Any help is much appreciated!
    Best Regards,
    Adel Haider

    Hi Adel,
    Customization file will be the best solution for your problem. You may generate a environment specific customization file. To know more, please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/customization.html#wp1129087
    Simplest solution would be to generate a customization file and replace the existing URI's with the required one's using replace all option of textpad. Run this customization file at target environment, after importing the OSB configuration.
    Regards,
    Anuj

  • Oracle Service Bus - Business Service Endpoint URI - Change at runtime

    Hi,
    Is there a way of changing/passing the endpoint URI to a Business Service at runtime? The reason for my question is that depending on the content of the message in a Proxy Service that calls this Business Service I may need to change the URI.
    Kind Regards,
    Adel

    Adel,
    Is there some use-case limitation that would stop us from using Dynamic routing ?
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1100135.
    DynamicRouting /Dynamic publish can be considered depending on the use-case.
    Other option is to use Routing options: Modify any or all of the following properties in the outbound request: URI, Quality of Service, Mode, Retry parameters, Message Priority.
    Manoj

  • OSB Business Service jms target

    Dear all,
    I have a business service in OSB, accepting messages, and putting them in a jms queue in j2ee.
    My question is, if it is possible somehow to declare as Endpoint URI the cluster address, so that the messages are balanced between the jms servers deployed in each j2ee managed server. If I set the cluster address, which is the comma separated addresses of the members, the messages all end up to the jms server of the first address declared in the endpoint URI.
    The JMS connection factory accepting the messages from OSB has default targeting and is targeted to the J2EE cluster.
    The endpoint URI of the business service when set to the cluster address looks like so:
    jms://172.16.217.134:7701,172.16.217.135:7701/myJMSConnectionFactory/MyJMSQueue
    We also use an external load balancer IP, which does not work as expected. At times messages are processed only by one consumer and at times the balancing works properly. This is why we are looking for alternatives.
    Environment is 10.3.6. OSB and J2EE cluster have two managed servers each.
    Thank you
    Edited by: 926252 on Dec 5, 2012 4:24 AM

    Suppose if the source or the endsystem is in maintenance and is not availabel for the whole day.Now a days, it should be really a very rare scenario where a system goes down for an entire day for maintenance. 2-3 hours maintenance window is normal. If in your case, long maintenance windows are normal and frequent then I would suggest to change the design. Instead of polling remote system, let remote system push the files to OSB server (may be on JMS or any other persistent destination) and then even if remote system goes down it won't affect OSB.
    As far enabling and disabling proxy services are concerned, you may handle it through scripts or java API's -
    https://blogs.oracle.com/ateamsoab2b/entry/automatic_disabling_proxy_service_when
    http://orasoa.blogspot.in/2011/05/disable-and-enable-osb-proxy-services.html
    still no other choice?If most of the maintenance windows are scheduled then it is easy to handle the scenario with manual enable/disable of proxy services, but if mostly it is unscheduled then changing the solution design seems better option.
    Regards,
    Anuj

  • OSB 10gR3 - Create load balanced endpoint URI with WLST

    Hi,
    I need to create load balanced endpoint URIs for a Business Service listening to a JMQ queue. The configuration can be done through the console as shown below:
    Protocol: JMS
    Load Balancing Algorithm: round-robin
    URI 1 - jms://localhost:7001/loggingXACF/loggingQueue
    URI 2 - jms://localhost:7002/loggingXACF/loggingQueue
    I would like to do the same using ALSB customization API in WLST. Any pointers on this would be helpful
    Regards
    Vikas

    Any one have any idea what a CLUSTER-BROADCAST message is? And where it would be coming from?Cluster broadcast message is one of the way by using which WebLogic Server instances in a cluster communicate with one another. Details are here -
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13709/features.htm#i1021836
    Having little idea about this, I may not comment on the exact reason behind 21.4 million CLUSTER-BROADCAST messages in 70 minutes, but you may get better and faster response in Weblogic clustering forum -
    WebLogic Server - Clustering
    If you have Oracle Support, then I will suggest you to track this throgh a SR.
    Regards,
    Anuj

Maybe you are looking for

  • Report does not prompt for parameters when SeparatePages=False

    Hi all. We are using CR2008 Basic w/SP1 along with VS2008. Within our application, reports pull up fine and prompt for parameters using the CrystalReportViewer against the web service. SeparatePages is set to True. We want to change SeparatePages to

  • How do I sync my iPhone 4S with a new iTunes library without losing data?

    Hi, I have been using an iPhone 4S for a few months now. Yesterday my PC crashed and I had to reboot the whole system. So, obviously I had to reinstall iTunes. Now, when I am connecting my phone with iTunes, it is informing me that my phone was synce

  • OS 7.1 Error while downloading on Curve 9360?

    I've been trying to download OS7.1 since it was available to me, but whenever it gets to the download stage on Blackberry Desktop Software, I get the message that "An error has occurred while downloading software for your device. Please verify your i

  • Ipod Tough 4th Generation Apps Won't Update

    Hello, Just got the message to update some apps on my ipod.  Now it won't update to IOS 7, which is fine, but I've never had a problem with it not being able to update the apps.  It says it's no longer compatible.  I'm assuming that this is because t

  • Ipod Touch 2nd Gen Video Output to TV

    I have purchased the Apple composite AV cable set and am now able to view my video content on my TV. Unfortunately the Ipod screen stays lit during playback so I am worried about possible screen burn. I have turned the brightness all the way down but