Proxy Business service http request to webapp

I have a webapp deployed to my appserver and have coupled that up to a Business service in my OSB
In the Business service Test panel I can verify that my http request to my webapp operates correctly
I need to configure several Proxy services which will translate into HTTP requests being issued by my Business service
Can someone point me to an example of how this might be setup
Thanks

Hi
No matter what I try I can't seem to get my outbound variable modified so that the right info is sent to my busiiness service
my Proxy service is an inbound HTTP request, so I read/process the
$inbound/ctx:transport/ctx:request/http:query-string
to suit my business service
my Business service is another HTTP interface
I can't seem to modify the $outbound variable so that it includes a ctx:transport/ctx:request/http:query-string
any help greatly appreciated

Similar Messages

  • Need some clarification in WSDL based Proxy & Business Services

    Hi,
    Whenever we configure a Proxy service or Business service based on a WSDL, we use to select Port option instead of Binding when selecting our WSDL for the proxy/business service. Now my ques is why we go for a port instead of binding? what is the difference between them?
    My ques may seem very basic but i have this doubt for long time so i am postin this.
    Thanks,
    Arun

    Hi Arun,
    In my opinion that is not such a big deal, and in most of the cases you can choose any of the options...
    I usually prefer port because it keeps the service name... If you are proxying someone else's service it is better to keep it in a way that the service consumer doesn't notice the difference...
    I'm guessing there are cases out there where the service consumer client requires that the binding operations be unchanged... But I've never came across with one of them...
    Hope that clarifies...
    Cheers,
    Vlad

  • Retry count and retry Interval fields in Business service (Http protocol)

    Is retry count and retry Interval in OSB business services(Http protocol) defined for retrying the application errors or for communication errors?
    Also even if my connection timeout is 0 I get an error response due to communcation issue in abt 2.5 mins.
    Please explain.

    - There is an explicit configuration on business service called "Retry Application Errors", if enabled application errors will also be retried.
    - If timeout is not set on business service then domain level timeout configuration comes into effect which is by default of 180 sec i.e 3 mins.
    Hope this helps.

  • 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,
    Rahul

    How 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.

  • How to get specific OSB business service HTTP endpoint failover?

    I am trying to get the following behavior in an HTTP Business Service in OSB, and I'm not finding the answer (if it exists) in the docs.
    I have two backend endpoints, "production" and "backup." I want all request to go to the "production" endpoint unless it becomes unavailable. At which time all requests should go to the backup endpoint - without manual intervention. Automatic failback would be nice but not absolutely necessary. This is what the service provider is recommending for their operational concerns.
    Is there some way to accomplish this?
    The backup is available at most times, so we can't use round-robin load balancing to get this behavior.
    Is this what having a load balancing algorithm of "none" accomplishes? The docs state the order in this case is significant, but not why?
    Random-weighted does not work, as it does not allow a zero weight, which means some requests (even if small in proportion) may go to that backup even if the primary is available.

    I'm now seeing this in real operation, and I'm seeing something that puzzles me based on the discussion above, and also a behavior I'd like to change if I can.....
    First, the puzzlement - of about 6700 invocations over the space of a few hours, I see in the console 9 errors in the primary as configured above, and 9 messages handled successfully by the secondary. So, since the messages are coming on a fairly regular basis (a few per minute, spread over 3 OSB instances), and I have a 10 min retry interval, I would have expected to see a lot more messages handled by the secondary endpoint while OSB instance was waiting 10 min to retry the primary. What's going on here? Does this class of "failure" not take an endpoint "offline?"
    Second, behavior I want to change: the errors are apparently intermittent SSL HANDSHAKE_FAILUREs reported by the backend. Is there anyway to get the primary retried first, since we only want traffic to go to the backup if the primary is really offline?
    /Steve Elkind
    ####<Dec 22, 2009 10:45:14 PM EST> <Warning> <Security> <njxymh0099> <SS_ESB_mgd2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1261539914730> <BEA-090497> <HANDSHAKE_FAILURE alert received from fobar-web02.inex.com - 207.235.231.231. Check both sides of the SSL configuration for mismatches in supported ciphers, supported protocol versions, trusted CAs, and hostname verification settings.>

  • Proxy & business Services creation using XML

    Hi,
    can we create a proxy service & business service in OSB using an xml? usually we use to create using a WSDL defined by a webservice. can we create it using XML ? If so can anyone provide the doc or link for that.
    thanks

    You may create XSD from XML and then create WSDL from XSD using JDev. Using that WSDL you may create proxy or business service in OSB.
    Regards,
    Anuj

  • Proxy/Business Service SOAPFault Handling

    When a SOAP Fault is thrown from a service endpoint, the OSB appears to swallow that SOAP Fault and send the client invoking the service through the OSB an OSB specific SOAP Fault instead of the one from the service endpoint.
    Is it pretty much standard practice to have to create a Pipeline and Error Handler where you always have to do an If/Else to test the business service response to determine if a SOAP Fault exists and if so then to reply with an error.
    Is this true?
    Is there a better Error Handler location for passing the original Fault to the service client?
    Thanks,
    Jay

    The control will enter into route error handler if the business service is returning a fault. Note, if the business serivce is not returning a fault, instead returning the error as a message payload ( in this case http response code will be 200 , in case of fault it will be 500) then the flow will enter into the response actions part of the route node and not the error handler.
    So if the flow is entering into route error handler, you can safely assume that either the service has returned a fault or there was a transport exception in which osb was not able to communicate to the remote service due to some fault. Depening upon your case it may not be desired to separate these , so the best thing you can do is put a reply with action in the route error handler.

  • Version Control for OSB Proxy/Business Services ?

    Dear all
    I've used the browser-based osb console to expose a legacy web-service as follows :
    1. Create a Session
    2. Create a BusinessService based on the legacy web-service WSDL
    3. Create a ProxyService based on the BusinessService WSDL
    4. Activate the Session
    I now have two further questions :
    1. How do we version control the OSB "code" ? (we use Subversion for other code)
    2. How do we implement it in other environments (TEST, PROD, etc.)
    Thanks,
    Peter.

    >
    Are there other reasons why you say it's not the most ideal way of development ?
    >
    Versioning binary files is always a pain. You can't compare them, you can't merge them ... Another point, if you put your jar archive with OSB artifacts under version control, you will most probably face issue related to end of line styles (mac, unix, windows).
    However, the most important point is usability. I want to version .proxy and .biz services to see right in IDE that I changed something and I should check that in for the others. I don't want to risk that I forget something. And I also want to see what other users committed, what sources they work on ... You loose all of that by versioning jar file. I would never go this way.

  • Correlation Exception - BPEL - Proxy Service and Business Service

    Hi All ,
    Correlation exception
    Flow - BPEL - Proxy - Business service
    We are invoking a proxy service from a bpel process with a correlation set(property set as Yes)) and it works absolutely fine when the service is available But the problem occurs when the service is down or a remote fault occurs.
    In the fault policy we had an action saying that retry three times but when it retries three times with the same correlation set
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>2</retryInterval>
    <exponentialBackoff/>
    <retryFailureAction ref="ora-human-intervention"/>
    <retrySuccessAction ref="ora-terminate"/>
    </retry>
    </Action>
    It was throwing an correleation exception.
    since it was hitting the service wth same correletion set it was throwing an error. Is there any way i can retry for the same service with out exception
    Thanks,
    Raja
    Edited by: user12893766 on Oct 1, 2010 3:30 AM

    1. No it can be any kind of request: binary, text, xml...
    2. ALSB support a lot of different transport/protocols:
    EMAIL, FTP, FILE, HTTP, JMS, EJB, TUXEDO. In ALSB 3.0 we will add support for ERPs: SAP, SIEBL ..., MQ native and SFTP
    3. It depends on the transport. For example for file, the client drops a file in the file system, for http it opens a http connection to the URL http://host:port/address etc...
    4. TCP/Socket transport is provided as a sample transport in ALSB 2.5 and 2.6. You can look in the weblogic92/samples/servicebus folder. You can also write your own transport if you like. There is a public SDK.

  • Dynamic timeout for OSB proxy or business services

    The scenario we got here is that we will have multiple synchronous webservices implemented as OSB proxy services. These proxies will then invoke a common "routing" proxy that will determine which other OSB proxy or business services (JMS Request/Response) to call and does the dynamic routing.
    I understand that you can set a timeout at the business service level how long to wait for a response (at least when using the JMS transport). The problem is we got the requirement that the timeout value would be dependent on the role of the caller invoking the frontend webservice (this is done via some kind of lookup to determine the appropriate timeout setting for the invocation).
    Is this possible? I can't seem to find anything exposed in the transport header that allows me to set a timeout value during runtime. This means that the frontend proxy will be waiting for a response depending on the business service timeout setting. Can we implement a timeout in this frontend proxy somehow?
    Stumped right now over this. Thanks in advance for helping out.

    >
    Are there other reasons why you say it's not the most ideal way of development ?
    >
    Versioning binary files is always a pain. You can't compare them, you can't merge them ... Another point, if you put your jar archive with OSB artifacts under version control, you will most probably face issue related to end of line styles (mac, unix, windows).
    However, the most important point is usability. I want to version .proxy and .biz services to see right in IDE that I changed something and I should check that in for the others. I don't want to risk that I forget something. And I also want to see what other users committed, what sources they work on ... You loose all of that by versioning jar file. I would never go this way.

  • Is Response Required in Proxy Service and Business Service

    Hi All,
    I have made proxy service that is putting message on the Queue through a Business Service. Now I wanted to know what is the use of "Is Response Required" configuration parameter in Business as well Proxy Service. Also what is the significance of the JMSCorrelationID and JMSMessageID.
    Thanks,
    Anuj

    Hi Anuj,
    You can refer to the documentation for the information on "Is Response Required" in
    Proxy Service @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html#wp1096236
    Business Service @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/transport.html#wp1097863
    And for the significance of JMSCorrelationID and JMSMessageID please refer to link @ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/MsgIDPatternforJMS.html
    Please do reach out to me in case you need specific information.
    Thanks,
    Patrick

  • Features to isolate OSB services from just one slow business service.

    Hi,
    Here is a OSB question around a quick business service that suddenly turn to be a slow one and the impact on the overall OSB performance.
    Suppose you have a critical OSB cluster in production with many proxy and business services.
    Because of requirements, you have a specific sync http business service (web service) that has an acceptable response time around 1 secs. But suddenly the response time goes to 30 secs or even more due to some problem, generating a great impact on thread and resource consumption on OSB side.
    Suppose a http time out configuration of 2 secs on the business service is just not enough. OSB continues to crash.
    You can use OSB throttling feature but doing that you have to fix a maximum concurrency.
    If the service implementation is down, OSB can handle that using "Offline Endpoint URIs" in the operational settings of sbconsole. But in this situation the service is online accepting requests. It's just slow to respond.
    This is a hypothetical situation just to stress the problem.
    Besides business service time-out configuration and throttling and dispatch-policies on proxy/business services are there any other features that can be used ?

    Wesley,
    Ok, once the business service request is sent, the thread is freed. When the response comes, a new thread is picked up to handle the business service response. So in the mean time there's no blocking thread. Yes. It is correct.
    Just to make sure, what about the waiting synchronous http client calling the proxy service ?
    I mean, this fire-and-forget feature works only on the business service side or entirely for the proxy/business service (That separation would not make sense I suppose) ? The same case with http proxy. The request thread will be used till the BS is invoked in the route node or end-of the request pipeline. After this thread is released. Once the response comes from the http bs on a different thread, that thread will be used till the end of the responsepipeline
    eg
    Client---->Http Proxy---->Thread1{Request Pipeline--->Routenode---->End of Request actions in the Routenode--->Call BS Request} ----->Thread2{BS gets response--->Response Pipeline --->send response back to the client}
    For example, a http client is waiting for the proxy service response, but while the business service does not respond, there is no blocking thread at all in the proxy service side too ?Yes. That is true
    So, there could be many waiting http clients calling this proxy service, all http business service requests sent, and no blocking threads ?Yes.
    What would be the drawbacks of this feature ?Nothing I can think off. Therotically we will be forced to do extra over head when BS latencies are low which might of little practical impact. In that case you can change QOS=Exactly once. BS request and response will be on the same thread , but proxy response thread will be always different from that of proxy request thread no matter what the QOS is set
    Cheers
    Manoj

  • Business Service in Computers View

    Hello all,
    I would like to prepare one view where i will show all Computers which have related business service.
    It is easy to create view where Business service is empty or when containst to one Service but i would like to show service as a separate column. I always have a one service to one computer so this is relationship "one to one".
    Do you know how to connect this classes in one MP?
    Please help as soon as possible :)
    Agnieszka

    It should be covered in this blogpost http://codebeaver.blogspot.dk/2014/04/nested-type-projections-in-scsm-review.html - The example
    is with service requests and activites, but the same principles apply to computers and business services.
    http://codebeaver.blogspot.dk/

  • How to use security certificate with Business service

    Hi,
    Information:
    I need to use a security certificate for connection from Business service to legacy system.
    I have created PKI mapper in WebLogic console, deployed keystore on server and Service Key Provider in OSB.
    I can see can connect the certificate in OSB console through the Service Key Provider.
    I have done Authentication setting in the Business service "HTTP Transport Configuration" as "Client Certificate".
    Problem:
    Now whenever I try to invoke BS, the username, password and security key provider is asked at the prompt. Should not the BS collect security certificate automatically? Again,
    when i put username and password as that of WebLogic sbconsole; the error pops up with following message :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header />
         <env:Body>
              <env:Fault>
                   <faultcode>env:Server</faultcode>
                   <faultstring>Failed to process signature.null</faultstring>
              </env:Fault>
         </env:Body>
    </env:Envelope>
    If I don't supply username password and certificate at the time of invoking the message pops up as : "The service requires a digital signature, you must specify a service key provider which has a digital signature credential."
    I think some mistake is done in the above steps, could anybody please clarify?

    The problem was resolved with upgrade to version 10.1.3.4.

  • HTTP request failed. Error code: "500". Error message

    Hi ,
    When we are trying to test webservices (exposed webservice in PI)  scenarios in PI box we are getting error related Adapter framework service
    HTTP request failed. Error code: "500". Error message: "Internal Server Error [http://xxxx:xxxx/AdapterFramework/rtc]"
    in the RWB it is showing that
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 01d76ce0-972e-11e0-c652-b25394b91e0c(INBOUND) expired
    Can any body help .
    Edited by: subhaniABAP on Jun 15, 2011 11:30 AM

    Hi,
    If you want to resolve this error when dealing with the messages, please try the cache refresh with the link:
    http://host:j2eeport/CPACache/refresh?mode=full
    And also go thorugh:
    - In Integration Repository/Directory go to menu Environment ->
    Clear SLD Data Cache
    - In R/3 go to transaction SXI_CACHE -> menu XI Runtime Cache -> Start
    Complete Cache Refresh
    MESSAGE EXPIRED:
    Increase the value of the timeout parameter 'xiadapter.inbound.timeout.default' under Services -> 'XPI Adapter:XI'
    to a higher value say '600000'.
    Regards,
    Caio Cagnani

Maybe you are looking for

  • Internet only works on one machine at a time

    I have three linux machines on my local network - my server running mandrake,one running gentoo and the other running a new install of Arch Trouble is, that whenever the arch box acceses the internet, the gentoo box has real trouble with doing so - a

  • How to judge the size of a playlist to burn to disc?

    does anyone know how to judge the size of a playlist to burn to disc?

  • Missing keyword error

    Hi all, I am getting missing keyword error when trying to execute the below function,it doesn't give an error while compiling though.Tried to debug but to vain,can't understand what i am missing.    FUNCTION reprint_file (p_format          VARCHAR2,

  • Slow motion

    Not sure if this is an fcp issue or an aftereffects' issue? I'm making a stop from animation. I have used after effects to assemble all the images and scale them and position them, as I would like. I imported them as a movie sequence. I've exported t

  • PO $ for each movement

    Hi , I have been asked to modify our existing Inventory solution to add the PO $ value for each movement. I am at the early stages of analysis; however, I know the inventory solution is complicated and very sensitive to change. So I am not sure if it