DVM with OSB

Hi All,
Wanted to implement DVM with OSB.
Follwed the below URL and tried to implement as is.
https://blogs.oracle.com/christomkins/entry/domain_value_maps_in_oracle_se
Created project, created XQuery with DVM information, created XQuery to get those values from DVM.
But when i run iam getting the following error message
Error Message:
<error>Error occurred while executing XQuery: line 10, column 9: {err}FORG0005: expected exactly one item, got 0 items. Either the XQuery is invalid or it contains custom XQuery functions. Try using the web test console to test this XQuery (Right click on the XQuery file and select Run As ->Run On Server) </error>
The below line is creating problem:
*$dvm/ns0:rows/ns0:row[ns0:cell[1]=$airportName]/ns0:cell[2]* - This xpath is throwing the exception.
Thanks,
Vijay

Thanks Vlad for your response, I have pasted below the DVM file.
+<dvm name="airportCodes" xmlns="http://xmlns.oracle.com/dvm">+
+<description>This is description</description>+
+<columns>+
+<column name="Airport Name"/>+
+<column name="Airport Code"/>+
+</columns>+
+<rows>+
+<row>+
+<cell>London Heathrow</cell>+
+<cell>LHR</cell>+
+</row>+
+<row>+
+<cell>Dublin</cell>+
+<cell>DUB</cell>+
+</row>+
+<row>+
+<cell>Liverpool</cell>+
+<cell>LIV</cell>+
+</row>+
+</rows>+
+</dvm>+
and i have the standard dvm.xsd file as schema file.
This below Xquery is used, to get the value from above DVM file.
+(:: pragma bea:global-element-parameter parameter="$dvm" element="ns0:dvm" location="dvm.xsd" ::)+
declare namespace ns2 = "";
declare namespace ns0 = "http://xmlns.oracle.com/dvm";
declare namespace xf = "http://tempuri.org/SimpleOSBv1/SimpleDVM/";
declare function xf:SimpleDVM($dvm as element(ns0:dvm),
+$airportName as xs:string)+
+as xs:string {+
+$dvm/ns0:rows/ns0:row/ns0:cell[1]+
+};+
declare variable $dvm as element(ns0:dvm) external;
declare variable $airportName as xs:string external;
xf:SimpleDVM($dvm,
+$airportName)+
Thanks,
Vijay

Similar Messages

  • XREF and DVM in OSB 11g

    Hi everybody,
    I'm trying to find out if domain-value maps (DVM) and cross-reference tables (XREF) are supported for OSB 11g. We have only OSB licensed, not SOA Suite.
    OSB statement of direction states that these features will be supported.
    This blog post explains how to develop custom DVM-like functionality in OSB 10R3 - http://guidoschmutz.wordpress.com/2009/12/25/implement-domain-value-maps-dvm-with-oracle-service-bus-osb-10r3/
    Is there any custom implementations of XREF-like functionality?
    Regards,
    Dmitry

    domain-value maps (DVM) and cross-reference tables (XREF) are not yet supported for OSB 11GR1.
    It is still on road map and you can expect out of box support for these in coming releases of OSB. Talk to your Oracle sales representative to get accurate picture of release dates etc.
    Thanks
    Manoj

  • DVM  in OSB

    Dear team,
    Does OSB supprots DVM feature.
    Please suggest the workaround for using DVM in OSB11g.
    Thanks in advance

    DVM isn't supported by OSB.
    But enough blogs which explain how to implement it yourself.
    See :
    https://blogs.oracle.com/christomkins/entry/domain_value_maps_in_oracle_se
    http://beatechnologies.wordpress.com/tag/domain-value-maps-in-osb/
    https://forums.oracle.com/message/10331523
    http://guidoschmutz.wordpress.com/2009/12/25/implement-domain-value-maps-dvm-with-oracle-service-bus-osb-10r3/

  • Can I use a tape autoloader device with OSB Express?

    Hi,
    The Express version of OSB allows me to backup one server to one attached tape drive.
    The DataSheet also mentions that OSB XE supports a maximum of one tape drive within a robotic library.
    Does this allow me to use a tape autoloader (namely the SL24 LTO4) with OSB Express? The device is listed in the tape device compatibility matrix, but does not say of restrictions between the fully licensed and the Express version.
    Thank you,
    Adrian

    Yes, OSB-XE could be used with the tape autoloader listed on the device...as long as it has only one tape drive.
    Donna

  • Integrating BAM with OSB in Oracle 11g

    Hi,
    Can any one provide me the examples or any helpfull links to integrate BAM with OSb ?
    Thanks in advance.

    Check
    http://www.oracle.com/technetwork/middleware/bam/osb-bam.pdf
    and
    Integration of OSB 11g and BAM
    hth,
    Peter Paul

  • Guarranteed Message Delivery with OSB 11g

    Hi,
    I'm currently working on a scenario with OSB that requires me to set up guaranteed message delivery. The business scenario is that on one end I have a flat file polling service and I have to transform this data into XML and store it to DB. Concisely, this is the scenario: Flat File -> Proxy -> Business -> JMS Queue -> Proxy -> Business -> DB. The entire process works fine till the time I turn the DB off. In that case, I get a load of erro in the log, and the message in the Queue sits there indefinitely, Even after the DB has been restarted. The only way the message gets stored into DB is by performing a complete server restart, which, needless to say is not acceptable. Stopping and starting the proxy and business services do not work, either.
    I'm using an XA data source for the DB connection pool and the default XA Connection Factory for OSB JMS transport. After delivery failure the message sits in the queue with "receiving transaction" state string. On inspection of the server logs I found that WebLogic can't connect with the datasource even when the database is completely restarted. It requires a server restart for the connection pool to work properly again.
    Could anybody please provide some insight as to what I'm doing wrong?

    Jms:///CF/QName works when we OSB clusterOSB JMS transport is implemented as Weblogic MDB's under the hood. From weblogic 9x onwards , mdbs bind to co-hosted destinations by default.
    So if you have a distributed destination and mdb's are deployed to the same cluster ( happens when jms proxy service is deployed to the cluster) , then it is guaranteed behaviour that the mdb on ms1 binds to dd member on ms1 and mdb on ms2 binds to dd member on ms2. So you will end up seeing 16 consumers ( by default, if you have not configured any work manager to restrict concurrent threads) on each of the dd member.
    we have both BPEL and OSB cluster so when BPEL posting a message how to avoid the racing condition in OSB . as both will look for same QUEUE..Make sure the connection factory used by bpel has load balancing turned on and server affinity turned off. This will ensure a pretty load balanced distribution of the messages to the dd members in the cluster which will be then processed by the proxy service hosted on the same managed server instance.

  • Can I configure WS-Sec authentication via Active Directory with OSB or OWSM

    Hi
    I'm planning a project where I need to add security to a group of proxy services in OSB. I need to authenticate them via WS-Security using Active Directory. Is this possible with OSB or adding OWSM?
    Regards,
    Néstor Boscán

    Hi.
    OSB http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/model.htm#i1088877
    OWSM
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/owsm.htm
    and
    http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm
    hope this helps
    best
    rolando

  • JCA Adapter Postprocessing with OSB

    Hi,
    I am using JCA file adapter with OSB to generate flatfile output from xml (nxsd). I would like to know if it is possible to use JCA adapter post processing with OSB. (JCA pipeline and valves). Please let me know if you have tried this.
    Thank you
    Matt

    Pre and post processing is not supporting in JCA Adapter for File/FTP certified on OSB. Check section 25.2.2.3 Oracle JCA Adapters for Files/FTP Limitations in below link.
    http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jca.htm#OSBDV910
    However, according to below link it does work nonetheless. I havnt tried it, may be you can try it out as given in the link below and let us know.
    Jca adapter Valves in OSB
    Edited by: AbhishekJ on Feb 26, 2013 10:26 PM

  • Integration Oracle Advance Queue with OSB

    We are doing integration for Oracle Advance Queue with OSB.
    I created an AQ adapter in Jdev and generate the WSDL and XSD.
    I imported both WSDL and XSD in OSB Project.
    When i am configuring the business service and selecting the WSDl i am not able to select Binding and ports, is it due to any issue in WSDL?
    Please help.
    Thanks,
    Mihir Panda

    Hi again,
    I made some adjustments to your wsdl. I added the binding part and its reference to the appropriate port.
    Now I reckon, you should be able to do your thing:
    <wsdl:definitions
    name="enq"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS"
    xmlns:ph="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <plt:partnerLinkType name="Enqueue_plt" >
    <plt:role name="Enqueue_role" >
    <plt:portType name="tns:Enqueue_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <!-- Define AQ Headers = Payload Headers -->
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS" >
    <import namespace="http://xmlns.oracle.com/xdb/APPS" schemaLocation="xsd/APPS_WF_EVENT_T.xsd"/>
    <complexType name="enqHeaderCType" >
    <sequence>
    <!-- payload header -->
    <element name="PayloadHeader" type="xs:string" />
    </sequence>
    </complexType>
    <element name="enqHeader" type="ph:enqHeaderCType" />
    </schema>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns="http://www.w3.org/2001/XMLSchema" >
    <element name="opaqueElement" type="base64Binary" />
    </schema>
    </wsdl:types>
    <wsdl:message name="Enqueue_msg">
    <wsdl:part name="opaque" element="opaque:opaqueElement"/>
    </wsdl:message>
    <wsdl:message name="Header_msg">
    <wsdl:part name="Header" element="ph:enqHeader"/>
    </wsdl:message>
    <wsdl:portType name="Enqueue_ptt">
    <wsdl:operation name="Enqueue">
    <wsdl:input message="tns:Enqueue_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="Enqueue_Binding" type="tns:Enqueue_ptt">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="Enqueue">
                   <soap:operation soapAction="put_your_own_URI_here"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
              </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="EnqueueService">
         <wsdl:port name="Enqueue_ptt" binding="tns:Enqueue_Binding">
              <soap:address location="No Target Adress"/>
         </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Good luck.
    Regards,
    Ronald

  • Cannot integrate BPM Standalone 10g with OSB 10g

    I integrate the BPM 10g with OSB 10g following the steps of integrating BPM and ALSB - BPM 10.3 Configuration Guide(http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/config_guide/index.html)
    I can create Process Registration Configuration and Management Host.
    I select the item name created by me in the dropdownlist of Registration Configuration.
    However, when I click the button of Register, it shows error: You must select at least one item from the list.
    But in the OSB, I can find the folders which are created with the managment host.
    Where is the list?

    Hi Daniel Atwood:
    I use BPM standalone 10g and BPM studio 10g. I also extend the weblogic domain to include the OSB, ADF, and workshop lib.
    I check all projects in BPM standalone and they are completely deployed. I set the steps are publishing projects after it is deployed. I redeploy and republish projects which are created in BPM studio. But the Service registration status table is still blank.
    In BPM studio 10g, I create the osb management host, osb process registration, and osb proxy server configurations under the external resources. The osb struct (project, wsdl, xsd, business service) can be created in studio.
    Then, I click the icon of OSB registration. In the dialogue, after I click the button of register or update, it shows that: Operation ignored since no services have been selected
    What server should I create ? Should I create a proxy server in OSB first?
    Thanks
    Edited by: YE on Apr 13, 2009 3:15 PM
    Edited by: YE on Apr 13, 2009 4:48 PM

  • JMS messaging with OSB

    Hi Forum, So far I have not been able to find any useful information hence the question:
    1. Is OSB an implementation of JMS?
    2. To use JMS with OSB do I need to install separate JMS? If not does JMS install by itself when installing OSB?
    Thanks!

    JMS (Java Messaging Service) is a transport protocol (like File, FTP, email, HTTP etc.) which is supported by OSB (Oracle Service Bus - which is a service bus product used for transport protocol mediation).
    Once you have installed OSB, you may use it to configure services which use JMS transport. Please refer to know more -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/jms.htm#i1051082
    http://en.wikipedia.org/wiki/Java_Message_Service
    Regards,
    Anuj

  • Fault reporting with OSB

    Hi All,
    I have a SOA composite service which receives feed from external party using one-way with fault messaging pattern. It works as expected, sends fault back to client on its own. However, I now abstract the service with OSB for SLA alert purpose. On doing that I find the faults are no longer sent back to the client. How to make OSB send back faults to client in one-way messaging with fault pattern. Any working example will be really good.
    Thanks
    Edited by: user5108636 on Sep 26, 2012 6:57 PM

    Hi Eric,
    For more about the messaging pattern. I have SOA Suite Composite service receiving messages using one-way returns faults communication pattern. It works fine. However, introducing OSB to abstract this service creates issues with this pattern and the client no longer seems to receive the faults back. How do I workaround this.
    This mediator pattern does not work with OSB. Refer 23.1.1 for details of the mediator pattern. Please suggest.
    Thanks

  • Facing problems in Registering AIA Components with OSB

    Hi all,
    I am trying to implement AIA on OSB for that as an initial step I am trying to Register AIA Components with OSB.
    In this step I am facing problems getting 705 conflicts removing these conflicts manually is a huge task .
    Can anyone suggest me good approach or if any one has removed AIA components jar please share with me.
    Thanks
    Phani

    Hi Madhavi,
    You said:
    OMB+> OMBALTER LOCATION 'TEST_LOCATION' SET PROPERTIES ( HOST, PORT, SERVICE_NAME , SCHEMA, CONNECT_AS_USER,PASSWORD, VERSION, UOID,DATABASE_NAME) \
    VALUES ( '$HOST', $PORT,'$SERVICE', '$TgtDBUser', '$TgtDBUser', 'TgtDBPWD','$
    dbversion','true','$SERVICE');
    Did you leave out the "$"-character for the TgtDBPWD variable in purpose? Could this be the source of your problem?
    Regards,
    Ed

  • OES with OSB

    Can any one please tell me how OES authorization policies works with OSB? How can I invoke OES from OSB or how they are related? Thanks !

    Hi,
    OES 10g is certified with OSB 11g. BTW, you should rely on official information from OES Certification matrix.
    You can find this in section "Supported Configurations" in document "Oracle Entitlements Server 10g (10.1.4.3) Release Notes"
    http://download.oracle.com/docs/cd/E12890_01/ales/docs32/relnotes/relnotes.html#wp1095982
    OES intercepts requests at OSB proxy layer. This model allows you to enforce OES authorization policies on most OSB connections.
    Bye,
    Subbu Devulapalli
    *My Blog: [url http://accessmanagement.wordpress.com/]Authorization for the Real World*
    *Follow me on [url https://twitter.com/#!/BloggerSubbu]Twitter*

  • Extending SOA domain with OSB classpath problem

    Trying to extend SOA 11.1.1.3 domain with OSB but getting classpath errors on start-up of admin server. I can see that class com.bea.wli.timer.JndiAccess is in modules/com.bea.alsb.timer_1.2.0.0.jar but I have no idea how to get the domain wizard to add this to the classpath? It doesn't appear as a library in the 'Manage Deployments' screen
    <01-Jul-2010 16:28:25 o'clock BST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'ALSB Framework Starter Application' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
    at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:157)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:371)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: com.bea.wli.timer.JndiAccess
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    >
    <01-Jul-2010 16:28:30 o'clock BST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'XBus Kernel' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
    at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:157)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:371)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: com.bea.wli.config.spi.ConfigUpgrader
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoad
              r.java:253)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace
    >
    <01-Jul-2010 16:28:31 o'clock BST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'ALSB UDDI Manager' due to error java.lang.NullPointerException.
    java.lang.NullPointerException
    at com.bea.wli.sb.uddi.init.UDDIAppListener$2.run(UDDIAppListener.java:107)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.Security.runAs(Security.java:61)
    at com.bea.wli.sb.uddi.init.UDDIAppListener.preStart(UDDIAppListener.java:102)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at com.bea.wli.sb.uddi.init.UDDIAppListener$2.run(UDDIAppListener.java:107)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.security.Security.runAs(Security.java:61)
    at com.bea.wli.sb.uddi.init.UDDIAppListener.preStart(UDDIAppListener.java:102)
    Truncated. see log file for complete stacktrace
    >
    <01-Jul-2010 16:28:38 o'clock BST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'EJB Transport Provider' due to error java.lang.ClassNotFoundException: com.bea.wli.config.derivedcache.DerivedTypeDef.
    java.lang.ClassNotFoundException: com.bea.wli.config.derivedcache.DerivedTypeDef
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: com.bea.wli.config.derivedcache.DerivedTypeDef
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace

    Thanks for the response mr. Taylor.
    As I said, I extended my domain with single server topology and noticed that none of the osb modules were deployed on weblogic. So, although the domain is extended now It seems as if nothing happened since none of the osb features are working. This includes its console http://host:port/sbconsole which does not work, and also enterprise manager /em . I think there is something strange because when I tried to create a new domain, instead of extending, everything worked normal: Lots of OSB modules deployed on Weblogic and the /sbconsole and /em consoles working just fine. But I simple can't recreate the domain because of the multitude of configurations that would need to be redone.
    Any help will be appretiated !
    Thanks

Maybe you are looking for