Change the uri of the service to business in OSB

Hello

I have a business service who write some files to a directory that I want to replace the directory with a variable path (I gave the directory path in xquery and store it in a variable) can someone me say how can I achieve this?

and I call this service in my proxy service using the legend of service.

Thank you

Published by: 990437 on March 6, 2013 21:07

Hi 990437,

you want to replace the directory by a variable path... and I call this service in my proxy service using the legend of service.

Inside the legend service - ask actions - use routing action Options and assign the variable in the URI expressions

OR if you use the JCA File adapter
Inside the legend of service - request Actions - use action set the Transport headers
NEC Transport header outgoing request and Add Header.Browse jca.file.Directory drop-down list box in header and assign the new location of new directory
(variable) in slot Action - Set - Expression Header

Kind regards
Afonso Gupta

Tags: Fusion Middleware

Similar Questions

  • I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    What do you mean by "port number"? HTTP port (usually 8080), or listening port (normally 1521)?

    To change the name of the service, you can use (as a DBA or SYSDBA)

    SQL > alter system set service_name = '';

  • Change the Service account of vCenter

    Hi all

    I was wondering how easy it is and what it is to change the service account of vCenter Local system as a domain account?

    Thank you

    Chris.

    TallChris wrote:

    Hi all

    I was wondering how easy it is and what it is to change the service account of vCenter Local system as a domain account?

    Thank you

    Chris.

    Hi please follow the steps below

    1. Click Start > run, type services.msc and press ENTER.
    2. Double-click the VMware VirtualCenter Server Service.
    3. Click the log .
    4. Select this account, type the name of the account in the nom_domaine\nom_compte format, or click Browse and find the right account.
    5. Enter the password for the account in the password and Verify password fields.
    6. Click OK.
    7. Start the service.

    Yours,

    Satya

  • How to change the Services Menu.

    Installed WordService to test. Ran very well but I have no reason to keep it. I removed all traces of it except, WordService choices that are listed in the preferences of Services. It does not hurt anything for them to be there, but if someone knows which file needs change or to delete I wouldn't mind if they were gone.

    TIA

    Look in your library in the folder of the User Services:

    ~/Library/services/

    You also can right-click on the item in the preferences of Services (keyboard shortcuts) and choose to Revel in the Finder, and it will open a window to the Services folder.

    If it's there, move it to the Recycle Bin and restart the computer.

  • How to change the status of business published in unprecedented process process?


    Hello

    I had created a new business process and published it.

    But I wanted to change the shape and remove undesirable element of form data.

    Then I changed BP in draft status and made change.

    But again once when I'm changing the status of BP as finished, it is in error "published form contains < element > and is removed from the upper form"

    How to solve this problem?

    Or how can I remove the item published BP form data form and publish it again?

    Hello 1001854,

    Once the BP has been published, you are unable to delete the existing data items. You will need to do is to move the you do not want to see more in a hidden block.

    I hope this helps.

  • Change the views of business Finder

    Hello

    I wonder if we can change views business discoverer to add additional fields to the view. In particular, I need gl_date table ap_invoices, but it is not available in the view invoices apfg. Can I change this view to include this column? What are the future complications, if we do?

    Thank you.

    Hello
    You can refresh the view and then refresh the folder in the admin, but if you upgrade one day or regenerate views then you probabely will seek for this missing element.
    Another way to get the same result is to create a function that will return the gl_date to the AP, and then save it in the EUL
    and create an element calculated in the folder using this feature.
    User, they will now have the gl_date of AP and you change the display side (-):

    Tamir

  • How to change the values of business rule at run time?

    Hello

    I'm using Oracle 11g SOA. I did a BPEL process that uses Business Rule. Now the BPEL process is deployed with business rules so how to change the value of the business @runtime rule. I don't want to change the value @design time and deploy the code again.

    Is there a console or the portal? as Oracle BAM has own url? What is the url of Business Rule Manager?


    Thank you

    Can you check is the deployment of "composer" is in Active state.

    In the weblogic administration console, navigate to Environment--> Servers--> SOA_SERVER1--> Deployments (tab) on the left side of the menu.

    Thank you
    Vijay

  • How to manage the connection failure of network at the service of bussiness on OSB

    Hello everyone.

    Thank you for your attentions. I need help with the error handling in the OSB 11 g. I have a proxy that road to a business service to check the status of the service profile. I use the java client to use the proxy service and return the results to clients. The problem that I am facing manipulation is failure of the network connection.

    I want to get some message (or any useful information) of proxy service to indicate that the connection to the business service is not available when the connection fails. I tried to add the management of errors, but I can't found the action from the list of options.

    Can you review my proxy service and tell me some resolutions?
    Any suggestion is appreciated.

    I thank in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="Test/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/Test/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response">
          <con:stage name="ErrorHandling">
            <con:context/>
            <con:actions/>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>1</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="Test/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>
    P/S:

    When the connection to the business service is failure, I received this SOAP message:
    <soapenv:Envelope       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380002: No route to host</faultstring>
         <detail>
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>No route to host</con:reason>
         <con:location>
         <con:node>RouteToDnICT_BS</con:node>
         <con:path>request-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    Kind regards.
    CUONG Pham

    Published by: Doubt_Man on July 28, 2011 10:26

    You can add an error on the route action handler in your proxy service.

    you could investigate the $fault variable and check example what errorcode BEA... comes back.
    Then, you can decide what to answer in return... for example, create your own SOAP-fault and set your own messages.

    now the default $fault value generated by the OSB will be get back

    http://www.xenta.nl/Blog/2010/07/17/Oracle-service-bus-11g-handling-SOAP-faults/
    Maybe we can help you a bit

  • Questions about the Service of pooling in OSB

    Hi all

    I read the feature of pooling of OSB Service. He said that: "OSB support load balancing service by common technical service endpoints." -> That's mean I can create multiple instances of a service than a supplier presentations and when business have some problems (network maybe,...) where to connect to this service, the OSB will automatically detect the Live service and connect to another instance of this service, I am mistaken?

    And I need to configure to enable this feature when creating a business service?

    Kind regards

    Yes, this is where you use the service pooling, when the same backend service is deployed on multiple servers.

  • How to change the Service Push account data?

    The integration of push for our application service was recorded by one of our previous employees. If his email address has been used in the process.

    I have now tried to get access to the portal of the administration of the push service, but was not able to connect with his credentials, and I don't see an option to reset the password.

    I have already emailed [email protected] about it twice and got no response.

    I would like to have the registration transferred to my account. How is that possible?

    Hello

    I'll have someone to look for it for you.

    Thank you

    Naveen M

  • How to create an individual user to access the service of proxy in osb

    Hi all


    I created a project of the osb. I don't need only one user access to the project with the user name and password. The project should lead to the error when using other credentials.

    The hard part, it must return an error even when the username and password is empty. can someone help me solve this problem?

    You can assign that user to a single group in the field of security WL, and then create a global role, which has a membership in a group of only this group. As long as this user who held role.

    Then in the configuration of proxy of the OSB, simply add go the Security tab of the Proxy, then access control. If you click on the link for your proxy, get you a screen similar to that shown in WL to create roles.

    Add conditions, select role, and then add the name of the role in the name of the Role Argument.

    So to invoke the proxy, you must hold the role (which has only 1 member of the group, which has only 1 user). If only 1 user will have this role and can call the proxy server.

  • Monitoring stops working after changing the SQL Service account

    I have the Foglight for SQL Server cartridge. I recently changed the service account that is running the SQL Server engine and SQL Server Agent from a local account to a domain account. Everything works fine on the SQL Server side.

    No configuration changes have been made on the Foglight end, and none should be necessary Foglight is configured to use a separate service for SQL account both OS level followed. This account has always been in the local "Administrators" Group on the database server, as well as a "sysadmin" on the side of SQL Server server role. If I 'validate connectivity' within Foglight to that server, it shows that the connection is correct. I tried to remove the monitoring officer and recreation, but yet to see errors in the attached screenshot. Has anyone meet a similar problem?

    Although I couldn't find any indication that the agents were locked, I tried to release them anyway. That seemed to do the trick!

    This can be found here:

    Databases-> Dashboard Support-> Support of databases-> release agents

  • How to change the business rule in the runtime

    I create a business rule and add it to a BPEL process. After deployment, this process works very well.
    How to change the rule at run time? I want to say that I did not need to redeploy the process.

    In the case of 11 g,.
    You can use SOA composer to change the rules of business in run mode.
    http://host:soa_server_port/soa/composer

    But the composer will be available only in the Group of hotfixes (11.1.1.2.0) 1. It is not available in 11 GR 1 material SOA (11.1.1.1.0)

    If it is 10g, you can use Ruleauthor UI
    http://host/ruleauthor

  • Update of cases in the structure of the case after having changed the 'Type of case.

    Hello

    After you change the "Type of business" (only one case has been deleted), I discovered that in cases of strcuture cases has become "damaged": case "named" have been changed to digital small (that is, 0, 1, 2, 3).

    Is there a way to den strcuture case?

    Thank you

    Pavel

    Right click on one of the enums greyed out and choose 'review and update of Type Def.  That should allow you to solve problems.

  • Changing the db_unique_name permanently.

    IMS_P - database of Production

    IMS_D - database of first aid

    IMS_H - second database backup

    We plan perform a failover of IMS_P to IMS_D. Then we'll make IMS_D as a production database permanent.

    Here's the modified script

    IMS_D - database of Production

    IMS_P - database of first aid

    IMS_H - second database backup

    To make the IMS_D as a permanent production database I had the following Exchange.

    (1) stop the synchronization process and all databases

    (2) creates the pfile file and changed the settings below.

    db_unique_name / FAL_SERVER / FAL_CLIENT /log_archive_dest1/ log_archive_dest2 / service name

    Earphone 3) edit PR and TNS entries / listener of the Production and TNS entries / edit entries of DR TNS second to change the service names.

    (4) restart the listeners

    (5) creating the spfile from pfile in the mount status.

    (6) start all databases and check the status of synchronization.

    (7) for dataguard monitor I deleted the configuration and recreated the configuration.

    (8) the synchronization state is fine.

    This procedure is correct?

    OK thanks for all your comments.

Maybe you are looking for