Can a business service call a proxy service in OSB

In Oracle service bus, can a business service call a proxy service and if yes , what is the scenario?
Thanks in advance
Priya

Yes a business service can call a proxy service......for example set your PS as http proxy service and set the endpoint url of PS in the business service..... Lets say when you have three service callouts to be done...the third service callout needs to retried in case of any failures, then you may move the third service callout to a new proxy service and use the buisness service for calling it,,, use the BS retry settings for retyring..

Similar Messages

  • Osb proxy service calling other proxy services

    hi
    I'm new to the oracle service bus and i need some help
    i created 3 proxy services and i need to create one proxy service that call the other proxy services and return the output of these proxy services in one response message
    please help me in that problem. it'll be helpful to show me example
    thanks in advanced

    bear in mind that all exchanges amongst services are done by writing /reading the $body variable.
    The easiest way to produce a valid $body is to start from the preexisting $body and use the action
    replace <yourPayloadHere/> in variable $body
    using the option "replace node content"
    If you want to store a response from a service for later reuse:
    assign $body/* to myvariable

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Service Account in Proxy Service

    I have two Proxy Services A and B.
    B is password protected and I have created a Service account in OSB.
    Now, A accesses B.
    So, where to configure the Service Account so that A can access B successfully.
    Thank You!

    You must configure it in the business service that would point to service B.
    For proxy service to proxy service calls you might not be able to use service accounts.
    See here - http://svgonugu.wordpress.com/2011/03/28/using-the-service-accounts-in-osb/

  • Error while calling ejb service call from BPM service

    Hi,
    We are using the Oracle 11.1.1.5.0
    We are calling ejb service call from BPM service to update the data to Oracle database.
    We are getting the below error when we executing the ejb service call from BPM Service.
    <Error> <EJB> <BEA-010026> <Exception occurred du
    ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
    yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
    ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
    transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
    articipant in two-phase commit. To force this participation, set the GlobalTrans
    actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
    eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
    hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
    base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
    signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
    o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
    nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
    oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
    red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
    logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
    ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
    ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
    eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
    OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
    server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
    /activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
    oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
    mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
    WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
    nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
    eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
    ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
    OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
    rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
    gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
    Connection@EBSConnection_base_domain
    JDBC driver does not support XA, hence cannot be a participant in two-phase comm
    it. To force this participation, set the GlobalTransactionsProtocol attribute to
    LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
    = EBSConnection
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
    TransactionImpl.java:1881)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
    rverTransactionImpl.java:345)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
    sactionImpl.java:239)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
    Object.java:622)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
    y(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
    ionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
    LocalBeanImpl.handleCallback(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
    sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
    nce cannot be a participant in two-phase commit. To force this participation, se
    t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
    or EmulateTwoPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .>
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <failed to handle message
    javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
    be a participant in two-phase commit. To force this participation, set the Globa
    lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
    woPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:207)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    >
    Could any body help on this issue.It is little bit urgent for us to resolve.
    Thanks in advance.

    Thanks Sudipto Desmukh,
    The link is helpful me to resolve this issue.
    Thanks,
    Narasimha E

  • Can we call Endpoint URI as service url in proxy service

    Hi folks,
    Can we call the web service url as the endpoint uri while configuring proxy service ?
    eg: 10.16.220.144/ABCD as the endpoint uri in proxy service ?
    If yes...then plese give me the steps.
    thanks,
    salil

    The endpoint URI is the endpoint relative to the OSB managed server, to call it from external you use http://hostname:7002/my/path/myService as endpoint...
    You can see the WSDL by typing http://hostname:7002/my/path/myService?wsdl in a browser...
    hostname = your hostname
    7001 = port where the OSB managed server is listening
    /my/path/myService is whatever is configured as endpoint URI of your proxy service
    Cheers,
    Vlad

  • OSB -11g - Calling JMS Proxy Service in a stage

    Hi,
    When we createa JMS based proxy service, the proxy service keeps on polling the JMS Queue for any new messages arriving in the queue. But I do not want the proxy service to keep on polling the Queue. Instead I want to call the JMS Proxy Service in any stage (of any other Proxy Service) using a service callout. It means that I do not want the Queue to be polled always, instead the queue should be polled only when this JMS Proxy Service is invoked.
    Is it possible to do? If so, how?
    Thanks,
    Sanjay

    Hi Anuj,
    Following is my requirement:
    The producer wants to interact with us using Web Services. The input payload has some more values (username and password) apart from the HL7 data (base64 encoded) itself. I have to receive the input payload, authenticate the call and convert the HL7 encoded message into an XML and send it to the consumer.
    What have I done till now:
    1) I have created two Proxy Services PS1 and PS2
    2) Proxy Service (PS1) will be invoked by the producer.
    3) Then I get the username, password and data from the payload
    4) Populate the username and password in the SOAP Header and HL7 data in SOAP Body
    5) Call PS2 from PS1
    6) In PS2 I have configured Message Level Security to authenticate with the username and password
    7) After authentication I make a Java Callout to decode the base64 encoded HL7 data
    8) I now have written my own HL7 sender (Java code) which wraps the decoded HL7 data with MLLP requirements and then send it to the B2B server using a Socket (TCP connection). I do a Java Callout to this Java class.
    9) In B2B I have configured a RTP (Remote Trading Partner) which has a MLLP channel.
    10) I created a ADT message document and a ACK document
    11) I created two agreements between HTP and RTP (one agreement receives the HL7 data from the TRP using MLLP and another which sends the ACK to the RTP using MLLP channel)
    12) In the receiveing agreement I have configured a JMS channel (on the HTP side) becuase of which B2B receives the HL7 Pipe delimited data and translates it and then pushes the XML data into the JMS queue (which needs to be transformed to producer XML)
    13) I have also configured a JMS channel for the RTP which I am using in second agreement to get the acknowledgement. Because of this the ACK is placed in a JMS queue.
    I need to poll this JMS queue in order to send the ACK back to the producer (which I have to do in the response pipeline of PS2). Hence I wanted to pop the message from the JMS queue in the response pipeline and then send that message.
    Please advice if my approach is correct.
    Thanks,
    Sanjay
    Edited by: Sanjay Bharatiya on 17-Mar-2011 12:06 PM

  • Calling multiple businnes services with one proxy service

    hi all,
    I have a scenario where a XML msg from JMS queue needs to be send or publish using ALSB to 4 different businness services with different operations.
    I have created a dummy proxy service and configures the message flow using two pipeline pair as i need to validate the schema also, but it would be one time effort as the same msg needs to be send to all the services.And added 4 stages to add publish feature to indiviual business services.
    I am not sure that this the best way with dealing with the scenario.
    some help would be highly appriatiated

    This way seems fine. There is only small overhead with having multiple stages. Like your namespaces needing to be re-declared in each stage. Or if you need to do any if-else routing which may be duplicated. But it sounds like you always want to send to the 4 services.
    It does seem like overkill to have a separate pipeline pair for the schema validate, where it could just be a separate stage. Unless you are doing it for error handling reasons.

  • Can a web dynpro call a web service that calls a jsp?

    I'm trying to connect a web dynpro java [2004s] calling a web service that calls a jsp page. then a jsp page that calls a web service that goes to the web dynpro. is this possible?
    Thanks!

    Have you checked out the following J2EE tutorial:
    http://www.netbeans.org/download/docs/41/j2ee-tutorial/CMP2.html#wp90149
    ...The Roster module maintains the team rosters for players in sports leagues. The example has five components. The RosterClient component is an application client that accesses the RosterBean session bean through the bean's remote interfaces. RosterBean accesses three entity beans--PlayerBean, TeamBean, and LeagueBean--through their local interfaces....
    Also: http://www.netbeans.org/download/docs/41/j2ee-tutorial/Session4.html#wp82980
    Passing an Enterprise Bean's Object Reference

  • Proxy-Service without a proxy-service.xml

    HI all,
    I'm trying to use the BlazeDS proxy-service to proxy my Web Service calls through so I can avoid the security issues of directly speaking to a remote SOAP Service.
    I am using Spring-Actionscript on the client now so I can externalize all of the server config into config files instead of code. I've been really frustrated at trying to do this for the SOAP Proxy-service. No matter what destination, channelset or remote url I set, the runtime insists on loading the destination channel information from the ServerConfig class.
    Is there no way around this hardcoded implementation? I've thought of exposing the services-config.xml and me downloading the file as the first thing I do in my flex app, or of bypassing the proxy service altogether and use RemoteObjects for Flex - Remote communication and let the RemoteObject deal with talking to the Web Service.
    Has anyone ever solved this problem? I'm wondering if Adobe will solve this in BlazeDS 4....
    Thanks for your help!!
    Ronak Patel

    Alex,
    I've been able to do this for RemoteObjects based on what Spring-Actionscript allows me to do.
    However from what I've seen in the stack trace from Flex...
    [MessagingError message='Destination 'point.service' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
    at mx.messaging.config::ServerConfig$/internalGetChannelSet()[C:\autobuild\3.5.0\frameworks\ projects\rpc\src\mx\messaging\config\ServerConfig.as:661]
    at mx.messaging.config::ServerConfig$/getChannelSet()[C:\autobuild\3.5.0\frameworks\projects \rpc\src\mx\messaging\config\ServerConfig.as:265]
    at mx.messaging::MessageAgent/initChannelSet()[C:\autobuild\3.5.0\frameworks\projects\rpc\sr c\mx\messaging\MessageAgent.as:1165]
    at mx.messaging::MessageAgent/internalSend()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\ mx\messaging\MessageAgent.as:1106]
    at mx.messaging::Producer/internalSend()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\m essaging\Producer.as:147]
    at mx.messaging::AbstractProducer/send()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\m essaging\AbstractProducer.as:507]
    at mx.rpc::AsyncRequest/invoke()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\Async Request.as:133]
    at services.pointclouddelivery::BasePointCloudDeliveryService/call()[E:\eclipse\workspace\li dar\lidar.client\src\main\flex\services\clouddelivery\BaseCloudDeliveryService.as:290]
    It is not even checking the channelSet that the Service class maintains...the code is generated by Flex Builder 3 to go directly to the services-config.xml.
    How can I break that dependency in the generated code?
    I know Flex 4 does some other stuff for Web Services with the RDS Servlet. Would this be better suited for XML configuration?

  • Making 'local' service calls from within services

    WARNING! I realise that this will seem a strange set of conditions, but if people
    could bear
    with it that would be great.
    We are integrating a number of existing 'legacy' systems. A number of these systems
    are
    Tuxedo based, with existing services available. We are required to 'orchestrate'
    a number of
    calls to these services. Therefore we are to write a 'Top Level' service which
    will co-ordinate the
    calls to the existing services. Ideally we would like to reduce the number of
    server-to-server calls made by this new service and make direct/inline calls to
    the existing services. We could make changes to the existing services and get
    them to expose a 'local' interface (i.e. a sidedoor into the application). But
    . . . we could do a direct call to the 'tpservice' API for each service. However,
    we do perceive one problem here, in that the service we call will eventually call
    tpreturn, and this will 'shoot' straight past out 'Top Level' service, not allowing
    us to see and handle the response buffer.
    The question arising form the strange setup is - Can the jump performed by tpreturn
    be 'interrupted? Can we catch the tpreturn before it gets back to the Tuxedo runtime?
    Can we use TRY/CATCH somehow to CATCH all tpreturn within the block?(I have had
    a quick look at this, but was a tad confued by it)?
    Or does anyone have any thoughts on what we are doing - with the obvious ideal
    of minimal if not NO impact on existing services?
    By the way the existing services are 'C' based, generated by a third party toolset.
    The 'Top Level' would be in-house 'C'.
    Thanks
    Simon

    What if the output buffer used by the service is the input buffer?
    "Simon McDonald" <[email protected]> wrote:
    Anthony
    In the function which 'catches' the tpreturn, after it has done its
    processing and before tpreturn-ing itself, it will free the return buffer
    that it was given. It is just a normal Tux buffer and tpfree works fine
    (even though the app run within the tpservice routine tpalloc-ed the
    buffer)
    Thanks for the interest - if you have any more thoughts, let me know.
    Simon
    "Anthony Fryer" <[email protected]> wrote in message
    news:[email protected]...
    How do you deal with memory management of tuxedo buffers? I mean thetuxedo tpreturn
    will automatically free the output buffer. If you're overridding tpreturnwhat
    happens to the output buffer? Just curious.
    "Simon McDonald" <[email protected]> wrote:
    Scott,
    Thanks for the reply. Since jotting the memo I have been having a
    play.
    I have created a shared library (we are on UNIX boxes), with a function
    called tpreturn in it. This tpreturn checks to see it there has been
    a
    current jump point created by us - if not, it gets (and retains) ahandle
    to
    the Tuxedo tpreturn (using shload/dlopen etc), and calls that. Ifa jump
    point has been created by us then it longjumps to that (retainingthe
    info
    supplied in the call).
    To force our tpreturn to be invoked in preference, we have/can either
    archive the objects for our version into the main executable or linked
    our
    shared in such a position that the loader finds it before Tuxedoswhen
    looking for the symbol.
    Therefore, before we call the tpservice routine locally/inline, weset
    a
    jump point, and when this existing service calls tpreturn, it returns
    to our
    jump point (based on the above), we then do our extra processing.And
    when
    we call tpreturn, there is no current jump point and so it calls the
    real
    tpreturn.
    A bit convoluted maybe!!, but at the moment it seems to hang together
    not
    too bad.
    Thanks for any input
    Simon
    "Scott Orshan" <[email protected]> wrote in message
    news:[email protected]...
    The tpreturn is done with longjmp, so I don't think you'd be able
    to
    intercept it.
    For now, you'll have to change the existing service code so thatit
    knows whether it should 'return' or 'tpreturn'.
    Scott
    Simon wrote:
    WARNING! I realise that this will seem a strange set of conditions,
    but
    if people
    could bear
    with it that would be great.
    We are integrating a number of existing 'legacy' systems. A numberof
    these systems
    are
    Tuxedo based, with existing services available. We are required
    to
    'orchestrate'
    a number of
    calls to these services. Therefore we are to write a 'Top Level'service
    which
    will co-ordinate the
    calls to the existing services. Ideally we would like to reduce
    the
    number of
    server-to-server calls made by this new service and make
    direct/inline
    calls to
    the existing services. We could make changes to the existing servicesand get
    them to expose a 'local' interface (i.e. a sidedoor into theapplication). But
    . . we could do a direct call to the 'tpservice' API for each
    service.
    However,
    we do perceive one problem here, in that the service we call willeventually call
    tpreturn, and this will 'shoot' straight past out 'Top Level'
    service,
    not allowing
    us to see and handle the response buffer.
    The question arising form the strange setup is - Can the jump
    performed
    by tpreturn
    be 'interrupted? Can we catch the tpreturn before it gets back
    to
    the
    Tuxedo runtime?
    Can we use TRY/CATCH somehow to CATCH all tpreturn within the
    block?(I
    have had
    a quick look at this, but was a tad confued by it)?
    Or does anyone have any thoughts on what we are doing - with theobvious
    ideal
    of minimal if not NO impact on existing services?
    By the way the existing services are 'C' based, generated by a
    third
    party toolset.
    The 'Top Level' would be in-house 'C'.
    Thanks
    Simon

  • How to get info about web service caller inside Web Service

    Hi..
    I want to know that can we get info about Web Service Caller inside called web service..
    Info Like IP Address, User Id, User Name
    Regards,
    Ajay Sharma

    Hi,
    I tested following code using JDevloper 11g
    @Resource 
        WebServiceContext wsc;
        @WebMethod
        public String webMethod() {
                    MessageContext msgCtxt = wsCtxt.getMessageContext();
            HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
            System.out.println("Client IP = " + req.getRemoteAddr());
            return req.getRemoteAddr();
        }It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
    What is wrong in my code ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM

  • Local transport proxy service vs http proxy service

    Hi,
    Can anybody tell me why it is better to use Local transport proxy service in OSB than http for modularity?

    Hi Atheek,
    Thanks for you reply.
    My doubt is where local transport proxy service is deployed?
    Like if we invoke a http based proxy service which is deployed at certain Endpoint and jms based proxy service is deployed as MDB which kepps listening to a queue.
    Similarly, when i invoke local transport proxy service where and how OSB runtime looks for it?
    Edited by: user12883209 on Jan 10, 2012 6:58 AM

  • Web Service Call From Proxy Client in ABAP: View SOAP Request

    Hello All,
    We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, we receive an error message "Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.". We suspect that this is a problem with the SOAP Header, which might be missing some tags, which are required by the Web Service. Problem is, we can not trace the Web Service SOAP Header. We can not see it in SOAMANAGER, or any other transaction as such. Does any body have an idea where to look for the complete SOAP Request, in case of a Client Proxy call?
    Thanks and Regards,
    Sid

    Hello Sebastian,
    Thanks for replying. We are using a higher support pack level, and hence we do not use LPCONFIG; rather we use SOAMANAGER to manage the web service logical ports. Further, SMICM would display us ICM Logs, where as we need the exact SOAP request that has been generated. We tried ST11 with no luck.
    Finally, I feel this is a wrong forum to ask such an application related question. I will close this thread and open a new thread in either PI or ABAP Forum.
    Thanks and Regards,
    Sid

  • OSB Business Service calling an HTTPS service

    Hi
    I am using 11.1.1.5 SOA Suite and have a Business Service mapped to an https service.
    When I test it I get
    "The invocation resulted in an error: [Security:090477]Certificate chain received from servername was not trusted causing SSL handshake failure"
    My target https service (during dev) is a soapui mock service set up to provide an https interface for which I have create a certificate using Java's keytool.
    I don't want to have top buy a verisign (or similar) certificate for dev purposes, so my question is how do I get Weblogic to trust my self generated certificate?
    Any help would be much appreciated.
    Cheers
    Matt

    I managed to sort it out myslef.
    Create a certificate in a keystore using keytool.
    Export the certificate from the keystore
    keytool -export -alias mydomain -file mydomain.crt -keystore keystore.jks
    Import the certificate to the weblogic keystore
    keytool -import -trustcacerts -alias mydomain -file mydomain.crt -keystore cacerts
    It will ask you if trust this certificate, respond yes, restart SSL through the admin console - weblogic will now trust this certificate.
    Cheers
    Matt

Maybe you are looking for

  • How to protect read-only data in Swing app from tampering?

    First off I am new to cryptography and trying to find the best approach for a problem. We have a Swing application that uses xml-based template files to display complex forms and validate data entry. Based on the size and complexity of the forms it w

  • What will be the best strategy for encoding performance ?

    Hi to all. As I am a rooky with Premier Element 11, I comes to you all to get your feedback with your configuration choice. My PC is a self made choice: CPU is Intel Core i7 3770K - 3.5Ghz GPU is a GeForce GTX 660 OC 2Go or ATI HD 5870 RAM is 16 Go (

  • There is no "Archive" option under my file tap

    Hi all,         I remembered that there is a "archive" option under the File tab in Outlook 2007, but i couldn't find it in my outlook 2007 now. Is it connected to Exchange Server or some setting options Thank you Anthony

  • Missing shipping point/receiving pt

    Hello, I have a problem with shipping determination. I have created my shipping conditions assigned in customer record, assigned loading grp in material record, did customizations like sales doc type/shipping condition, replaced LF with my delivery t

  • Mac Mail & Address Book - Capacity & Storage

    Hi all - I have a question regarding the maximum capacities for MacMail & Address Book. MacMail Is there a maximum number of messages that can be housed in any given folder? I know it's a good idea to move messages from say, the Inbox, to a sub folde