Deployment of the Service Proxy in OSB

Hello

I have a requirement where I want to deploy the same Proxy services with deferential versions. I won't be reflected in the name of my service. So what I do is
creating folders deferential as v1, v2 and deploy the same service in the records of thse bothe having selected URI endpoint in v1, v2.

I'm just curious to know if there is any impact to run time instances proxy as bothe of them are the same. I just want to confirm before hand that there are no conflicts in the runtime behavior of the Proxy service.

all suggestions and answers appreciated.

Thanks in advance
m.

Hi Sir,

I don't think you'll be able to do this in the same instance of the OSB, although I could be wrong. If both proxy services have the same name, then OSB will try to export the two of them with the same name and there is no way to distinguish between them. The interface is the same between versions? What do you expect the behavior must be, that is, what service is called when Tuxedo calls the service?

Kind regards
Todd little
Chief Architect of Oracle Tuxedo

Tags: Fusion Middleware

Similar Questions

  • Identify the time spent on each step of the Service Proxy?

    Hello world

    Is anyway to determine how long it takes each step of the proxy service?

    I use OSB 10.3.1

    Thanks and greetings
    Himanshu

    Yes it is.
    Open Sbconsole.
    Go to the operations on your proxy service tab, select control, activate it by checking the box.
    Then in the alerts section, you will see a with three values - service level, Pipeline level, level of intervention (or perhaps activity level, have forgotten). Select the level of Action.
    Run your service proxy to the desired length.
    In the sbconsole dashboard, you should be able to see the parameters of each action within the proxy service. It is probably in the last tab of page within the OSB monitoring dashboard.

    I hope this helps.

  • A business service will have a service proxy in OSB

    In the Oracle service bus, a business service call a proxy service and if so, what is the scenario?

    Thanks in advance

    Priya

    BPEL can Proxy on the SOAP/HTTP or a liaison service direct adpater (Protocol SB.) Reference http://biemond.blogspot.com/2009/03/calling-osb-services-from-bpel.html

  • How to use "Routing Table" option in the Proxy in OSB service?

    Hello

    I created business services and Proxy in my console of OSB. I used the "Custom Query" option when creating the database adapter and I am passing a parameter to the query. My input parameter is 'name '.

    Based on the input for this parameter values, I spend a values corresponding to the query. By example, if I pass the following values to the input parameter "Name" (India) I need to spend "Value1" to my request.

    The India-> value1
    China-> value2
    America-> value3

    To achieve this requirement, I used option "Routing Table". I specified the values as follows: -.

    Expression - $body / fet:FetchCustDataInput / fet:Name
    Operator - '='
    Compare the value - India
    Service - "my Webservice.
    Operaton-"my Service operation.

    In the "application of Actions:" I added the 'add an Action-> processing e-mail-> replace' and provided the following values.

    Replace < XPath > = $body / fet:FetchCustDataInput / fet:Name
    Variable = 'name '.
    with the Expression = xs:string('Value1')
    and the "Replace the content of the node" option selected.

    No validation error I encountered. I created the routing table in the Proxy service. But when I try to run the service proxy in my Test Console, I get the following error
    «The call resulted in an error: an unknown error during the processing of the message of service ProxyService OSBQueryService/FetchByCustomQuery/FetchByCustomQueryPS.»

    I even activated "Direct call" and 'Include Tracing' options as well. The message in "Tracing" give "(echo request)
    Routed service. No Service has been invoked, echoed the demand. ».

    Can someone please help me solve this problem.

    Thanks in advance,
    Udaya

    Hi Marion,.

    Replace = $body / fet:FetchCustDataInput / fet:Name
    Variable = 'name '.
    with the Expression = xs:string('Value1')
    and the "Replace the content of the node" option selected.

    Above replace the action is wrong. It should be like -

    Replace = $body / fet:FetchCustDataInput / fet:Name
    Variable = body
    with the Expression = xs:string('Value1')
    and the "Replace the content of the node" option selected.

    Kind regards
    Anuj

  • Singleton: OSB services proxy?

    Are OSB services singleton proxy in nature! This means that if 10 requests are triggered for the proxy, is that a single instance of the service proxy one by one process or multiple instances will process requests in parallel?

    From the point of view treatment OSB is multi-threaded by default however for some transports, pollers are singleton. You can consult the section "3.2.2.1 Singleton resources" to the.

    http://docs.Oracle.com/CD/E21764_01/doc.1111/e15022/cluster.htm#i1387638

    Kind regards
    Anuj

  • Error during the deployment of the dbadapter polling stations in the proxy in the console of the osb service

    Hi all

    I created a db adapter in Jdeveloper and it imported EPCO. I create a proxy of the service. I just deployed to check in so doing, I make the following execption.

    < internal error occurred in OSBConsole: null

    java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    Caused by: java.lang.NoClassDefFoundError: oracle/tip/adapter/api/NeedRARClassLoader

    at oracle.tip.adapter.sa.impl.meta.JCABindingEndpointMetadataHelper.validateJCAOperationSpecProperties(JCABindingEndpointMetadataHelper.java:272)

    I have admin server and other servers not managed. I have configured the Dbadapter and redeployed the adapter. I tested the connection using a sample BPEL and it works fine. Any suggestions...

    Thank you

    Hello

    I solved. The reason for which use different versions of the suite osb and soa. Install all the soa components of the suite to version 11.1.1.7 fixed. All thanks to funds for aid

    Thank you

    Raj.M

  • Pots to deploy a standalone JAR of the Web Service Proxy?

    I followed the link as a guide to invoke PurchaseOrderService Version 2 - as a Web Proxy in JDeveloper below.

    Calling an Oracle Forms 11g Web service

    When I run the main method inside of JDeveloper, it works as expected.

    When I deploy and call the Web Proxy, it throws an error:

    java.lang.Exception: java.lang.NoClassDefFoundError: weblogic/wsee/jws/jaxws/owsm/SecurityPolicyFeature
    
    

    He has a problem with other Classes as well.

    1. when the downloaded WSDL document classes Java for JDeveloper, one / some of the Classes use SecurityPolicyFeature and other Classes who report an error. Because these classes are necessary, they do not appear when I deploy my project as a JAR in JDeveloper?

    2. why it works using JDeveloper inside, but not outside of JDeveloper?

    3. I'm the JDeveloper Web Proxy as a JAR project deployment. How can I solve the NoClassDefFoundError deploy?

    Thank you for your support. I almost have it!

    Arie

    Sorry JCS (Service of Cloud Java) the platform target for my test, not related to your case. So in order for your case work 2 libraries must be available on the target system. I'm not familiar with the forms so not sure what is involved in packaging and deployment. Looking at the link you provided it looks like a simple to add to the classpath variable jar file. So I think you have 2 choices; the dependent jar files must be included explicitly in the classpath or the jar file you create must include the. I think that the first would be easier; This is the step where you setup the CLASSPATH for forms add the dependent libraries also.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • Message access control in the OSB proxy service when the Service Type is the Any SOAP Service

    Hello

    We have a proxy OSB service where the Service Type is 'no matter what SOAP Service'. We use Auth.xml to authenticate messages to achieve this proxy service.

    It is, ca we apply Message this proxy access control so that only user A is allowed to sent message has and only user B is allowed to message sent B?

    Us know if the proxy OSB service is based on a wsdl, then we can apply access control message for each operation in the Security tab - and thus specify which user can access the operation. But unfortunately, we have not a wsdl, because this service proxy is a proxy gateway and must accept any SOAP message reaches.

    For example, if the user name in the SOAP header is msgAUser, get is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgAUser< / wsse:Username >

    < wsse:Password >msgApwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <Get>

    ...

    < /Get>

    < / soapenv:Body >

    < / soapenv:Envelope >

    If the user name in the SOAP header is msgBUser, then MessageB is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgBUser< / wsse:Username >

    < wsse:Password >msgBpwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <MessageB>

    ...

    < /MessageB>

    < / soapenv:Body >

    < / soapenv:Envelope >

    Any suggestions please?

    Understood.

    My current client, we have faced the same problem and implemented a similar design which nevertheless has important benefits.

    The problem with proxy input all SOAP is not only in the complexities of authentication. Most important, resources fine grain (thread) management becomes impossible: proxy entry has a workmanager, one constraint of son max. If any single service behind entered proxy knows an influx of requests (because of a peak or a misconfigured customer), he eats the workmanager dry and the rest of the services become too inadmissible.

    In this spirit, we have implemented the following diagram. It's a little more complicated, but it serves us well for a few years already:

    EntryProxy 1-> Interceptor entering Proxy-> Proxy 1

    EntryProxy 2-> Interceptor entering Proxy-> Proxy 2

    ...

    Enter proxy doesn't do Nothing but shall forward the request for interception of incoming traffic. Power of Attorney of the entry, however, has its own WSDL, authentication and the workmanager which allows precise control.

    Another important aspect of a proxy of the entry, it is that it passes a custom header containing the name of the destination of the interceptor, e.g. TargetURI = "ProxyService/Paypal/Paypal.

    Incoming Interceptor Proxy performs all recording, the error handling and other common tasks.

    Then, according to the last header, the proxy of the interceptor makes a dynamic call to route to the specified destination.

    Yes, this design has an additional moving part - a proxy entry - but he a) works b) guard control all in our hands. The entry proxy is a very small point; When I need to make a new one, I just copy an existing one and replace the WSDL file and the value of the TargetURI - 30 seconds of work.

    Hope that helps.

    Vlad

    http://vladimirdyuzhev.com

  • Expose the service as a Web service proxy using the sb Protocol

    Hello world.

    My team and I worked on a project of integration between multiple applications. So we created all the OSB projects necessary to connect applications and now I'm working on a web application that reads several newspapers who leave these integrations in the database in order to watch what happens when they are executed. Right now, I need my web application to be able to reprocess or retry messages that present a problem or are in an error state.

    To this end, we have developed a proxy with a sb protocol that allow us to communicate with other services dynamic proxy just in him passing the name of the proxy, its functioning and the message of the body. And finally, here's my question for you guys.

    How do I expose this last proxy (with the sb Protocol) as a web service so I can consume it for action to reprocess/try again?

    Thank you.

    Don't think that you need a Proxy service with SB Protocol at all. As I understand it, your process will be like this:

    1 web app bed DB logs to see what documents need to be submitted again

    2. web App must call OSB to resubmit the log message to correct the proxy.

    What you can do is create a WSDL based proxy HTTP to OSB for a new presentation, Web application must call this proxy and passes the body, the name of the target (full path) service, target service type HTTP (Proxy or Business), target the operation name (optional, like e-mail or type XML services everything will not associated with surgery). You can add a dynamic routing node in the HTTP proxy that calls the proxy target based on information coming from the Web App.

    SB Protocol should be used in a Proxy service if you want to call a Proxy deployed in a single domain of OSB on another area of OSB or composites Oracle SOA. Here, the consumer will be the Web application, so it needs to be a HTTP proxy and not SB.

    P.S.: You should also consider sending transport/custom headers as well, not only the body for your new design be more reusable.

  • Deploy a web service on an old database proxy

    I'm studying on different approaches to call an external web service of PL/SQL and I came across this document pretty old how-to:

    Call a Web Service from the database

    The document explains how to create a proxy web service in Java with JDeveloper and how to deploy it in a database.

    The sample service is relatively simple. The service that I have to call exposes several methods that returns and requires complex objects as parameters, but I found more tips in the next song in the Oracle documentation:

    http://docs.Oracle.com/CD/B19306_01/Java.102/b14187/chsix.htm#BABBEAJI

    So I downloaded and installed the latest JDeveloper and I get a service proxy web work at a glance. When I tried to deploy to my old database (Oracle 10.0.2.5 running Java 1.4) I've got the errors listed in the attached paper (sorry for the names of class in Italian).

    As indicated in the last line, it seems that I have some kind of compatibility issue between the version of Java that I used to generate the proxy and that which is available on my server. If, as suggested, change the JDK 1.7 to 1.4 version, I get an error saying something like "you have used data annotation, but this feature is available from Java 1.5".

    Is there a way to force JDeveloper to generate a web service proxy ' 1.4 friendly '?

    With the provided link, I was able to get all the missing pieces of the software.

    Now I just need to convince our DBA to try this approach

    However, it is a different story

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

  • Mgt session in the Service of Proxy HTTP Oracle Service Bus

    Hi all

    Even if it is not advisable to keep the session in osb Service Proxy.

    We need to keep it. If you are looking for the best option to do if there is.

    My requirement is

    When the user calls PingProxyService - we get the sessionid in the request (I am assumin I can retrieve http request... Qustion1-pls sugest exactly how I need to get this value http req)

    and place this session id in DB with a session as primary key id and a flag indicating session is InProgress.

    There is more a Proxy service that is the connection service

    in this service I get UN/pw and session id of the request and I check with the session id existing in db if it matches I also authentiate the user with us / pw and if the success connection is seccussfull.

    then user calss service - in this proxy executeProxy I again to retrieve the session ID and compare them with entry into DB. If it matches, and its flag is InProgress, I let go the reuest continuation of the procedure. If this is not avaialable or its flag is none other than InProgress I'll by mistake.

    I finally axpose a proxy more for Logut.

    LogoutProxy - when I get home I ask retive sessionid and chek the flag. If its InPrgress I update the indicator wiith Logout.

    Please sugest if I can implement above in osb. I would like to know if there is any apporches do better in osb.

    Thank you.

    Published by: user13839798 on 8 August 2012 06:54

    I'll risk to say that it is probably doable using the OSB... But my mind refuses to think he's further... IMHO, it's like to unscrew a screw tight using a table instead of the proper screwdriver knife... It will probably do the job, but it will take twice as long and it can eventually damage the knife and the screw a little...

  • 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

  • How to change IP address of the web service proxy.

    Hello

    I created an AppModule and expose as a serviceInterface. I deployed this project in the server and then created the Web service proxy by giving the IP address of the server in WSDL.

    Now I have deployed the same application in different server and manually change the IP address of the proxy Web service methods. But he's still point to the previous server.

    I don't want to regenerate the web service proxy. Is it possible to manually change the IP address in the generated Web proxy service method? Or I have to regenerate their?

    Thank you
    Rohit

    chk
    Configure endpoint URL in WebService DataControl and Proxy

  • SOAP header based authentication username/password in OSB 11 g Service Proxy

    Hello

    I implemented in my OSB 11 g Service Proxy-based SOAP header authentication.

    In the security settings of my Proxy HTTP AnySOAP(Soap 1.1) service, I made the following changes:

    1.
    In access control of Transport link, I selected the predicate of the user and provided a user already existing on weblogic server with the following roles (AppTesters, monitors, operators).
    The AuthorizationProvider has been XACMLAuthorizer

    2.
    Under custom authentication, I chose the custom user name and password option and provided the below mentiioned xpaths
    User name XPath:. / * / *: Username / text)
    User password XPath:. / * / *: Password / text)

    3.
    In control of Message link, I chose the predicate of the user with the same user as shown in the connection of access of Transport control.

    Now, when I test this test OSB Console service, I provide the following entry.

    < xmlns:soap: envelope soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:N1 = "http://abcd.com/common/bodcomponents/transactional/model/1.0/" >
    < soap: Header >
    < AuthHeader >
    < N1:Username > userXYZ < / N1:Username >
    < N1:Password > passXYZ < / N1:Password >
    < / AuthHeader >
    < / soap: Header >
    < soap: Body >
    <!-load useful body->
    < / soap: Body >
    < / envelope soap: >


    The answer is "the call resulted in an error:.".
    The OSB logs of the server see the error below:

    # < 9 February 2011 18:05:42 IST > < error > < OSB security > < test.abcd.co.in > < osb_server1 > < ExecuteThread [ASSET]: '9' for queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 5a5769b8025ef997:-2bda316:12def49100a: - 7fff - 0000000000000 c 92 > < 1297254942782 > < BEA-387082 > < Proxy service access denied (proxy: ABCD/Services/Common_HTTP_Proxy) Subject: subject: 0
    ) >
    # < 9 February 2011 18:05:42 IST > < error > < OSB Kernel > < test.abcd.co.in > < osb_server1 > < ExecuteThread [ASSET]: '9' for queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > <>< 5a5769b8025ef997:-2bda316:12def49100a: - 7fff - 0000000000000 c 92 > < 1297254942782 > < BEA-382004 > < cannot process the request message for the ProxyService ABCD/Services/Common_HTTP_Proxy service : com.bea.wli.sb.security.AccessNotAllowedException
    com.bea.wli.sb.security.AccessNotAllowedException
    at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:136)
    at com.bea.wli.sb.pipeline.RouterSecurity.doAccessControl(RouterSecurity.java:117)
    at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:586)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:329)
    to com.bea.wli.sb.test.service.ServiceMessageSender.access$ 000 (ServiceMessageSender.java:76)
    to com.bea.wli.sb.test.service.ServiceMessageSender$ 1.run(ServiceMessageSender.java:134)
    to com.bea.wli.sb.test.service.ServiceMessageSender$ 1.run(ServiceMessageSender.java:132)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
    at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke (unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)



    Please suggest where I'm wrong in this. Cross, I checked the credentials of user/pass with what I give in the entry, and it is perfectly fine.

    You really get confused between Transport political access and Message access policy.

    If you provide a predicate of the user in the access policy Transport then you must provide the user name and password in the Transport header. In this case in HTTP transport.
    If you provide a predicate of the user in the access Message policy, then you must provide the user name and password in the message header. In this case SOAP header.

    If you use Transport level both Message level then you must give the name of user and password in transport and message header header.

    Try it and let us know if still have problems you.

Maybe you are looking for

  • Newbie Macbook Air

    Hello. First of all, I can't speak (or write) English well. I'm sorry for that. We all hope you can understand. I am newbie on Macbook Air and FYI I use Indonesia ID. I want to ask about: I couldn't find some applications on my App Store (e.g. Skype)

  • HP ENVY x 360: drive the power outage status several times a day?

    It seems to be random, and it was only once or twice a month, but now its several times a day. First of all my internet stops working. To the point where it shows the yellow triangle on my symbol of the internet and only wifi it can 'find' is that it

  • How can I get my music on the mp3?

    Hello I tried to organize my music on my Mp3 player to play the way I want to play, but it is difficult... I do it through my laptop with the USB. I'm doing it wrong? Please, is there guidelines, I can follow to a resolution on this issue? Thank you.

  • error code 8000FFFF when you try to install updates from windows update.

    error code 8000FFFF when you try to install updates from windows update.

  • EndProcess.exe lost

    I ran Avast scan yesterday and this file C:\HP\BIN| EndProcess.exe came infected as a win32:killApp - w, I moved it in the quarantine area which means to examine it. However, today I uninstalled Avast program and lost the file.  This is an important