Xquery mapper for a recursive schema

Hi,
Has anyone tried to map a recursive XML-schema in wlw 8.1.5 using the xquery mapper? I don't now how to do it, I haven't succeded in finding any information about this.
Regards,
Fredrik

Hi Sushant,
Regarding your last post..
As per as I know you can have two option..
1>either you import your wsdl/schemas into OSB Console and then use XQuert mapper over there,you will get the Xquery file.
2>Other wise you can install other XML processor tool(like Altova XML Spy ..etc.) and generate your required XQuery file and then import into your OSB project(@OSB Console).
But one thing I can assure you that what ever you can do in Workshop IDE,you can do same thing in OSB Console as well.
Thanks,
Deba

Similar Messages

  • XQuery Mapper for OSB 11g

    All,
    We have a task of transforming lot of XML payload formats as part of the OSB proxy service to business service calling. I am looking at this link for XQuery Mapper
    http://download.oracle.com/docs/html/E15866_01/mapper.htm#i1385064
    I have downloaded the Oracle Enterprise pack for Eclipse but still don't see XQuery Transformation option.
    The documentation in this link talks about GUI based intuitive mapping mechanism b/w different SOAP or XML or WSDL formats.
    Let me know your thoughts on the same.
    Thanks,

    Hi Sushant,
    Regarding your last post..
    As per as I know you can have two option..
    1>either you import your wsdl/schemas into OSB Console and then use XQuert mapper over there,you will get the Xquery file.
    2>Other wise you can install other XML processor tool(like Altova XML Spy ..etc.) and generate your required XQuery file and then import into your OSB project(@OSB Console).
    But one thing I can assure you that what ever you can do in Workshop IDE,you can do same thing in OSB Console as well.
    Thanks,
    Deba

  • Xquery mapper plugin for eclipse

    Is there any Xquery mapper plugin for eclipse? I dont have OSB OPEE installation in my system.
    With out OSB installation, can i plugin Xquery mapper for developing Xquery tranformation file.

    Amik wrote:
    Thanks Vlad...But I am not able to get the installer from this link.
    can you please share me the exact link..Thanks in advance.You don't "get" the installer... You install from inside eclipse as an eclipse plugin... Just follow the instructions... http://wiki.eclipse.org/XQDT/Installation

  • AquaLogic Service Bus and XQuery Mapper

    Hi all,
    I'm new about using AquaLogic Service Bus and XQuery Mapper. I'm using alsb250_wls920.
    To understand better the details I've developed two very simple EJBs stateless related to a generic CarRental scenario.
    The idea is the following:
    - EJB1 exposes a method for retrieving available cars from company A
    - EJB2 exposes a method for retrieving available cars from company B
    The method signature is the same:
    public CarVO[] getAvailableCars(Category category, Double price)
    the only difference is about the CarVO definition where one exposes more attributes than the second one (and also the package is different).
    The goal is designing a new proxy service called getAvailableCars that calls the two above services and returns a set including all available cars from both companies.
    The returned CarVO is the sum of all attributes from two above CarVOs plus a string company attribute.
    So in AquaLogic I've defined:
    - a JAR resource for importing my CarRental.jar
    - two BusinessService resources related to the two above getAvailableCars services (from company A & B), called getAVISAvailableCars & getHertzAvailableCars;
    - I've exported the two WSDLs from the two above BusinessService resources directly from AquaLogic console;
    - I've written manually the WSDL 'getAvailableCars' that I use in the next proxy service definition
    - a getAvailableCars_1 proxy service resource
    Before completing the proxy service definition, I've decided to use XQuery Mapper for defining my trasformations.
    But I got some errors when I try to import the WSDLs.
    For importing simply I've created a wsdl folder inside my project and copied into it the 3 WSDLs definitions.
    Because there are errors in 2 of these WSDLs (getHertzAvailableCars.wsdl, getAvisAvailableCars.wsdl) when I create a XQuery Transformation, I'm not able to select any source schema.
    But getHertzAvailableCars.wsdl, getAvisAvailableCars.wsdl have been generated directly from AquaLogic console and I don't understand why XQuery Mapper complains about them.
    If needed I can post also the CarRental.zip eclipse prj (that contains the above two EJBs) and CarRentalAqualogicPrj.jar AquaLogic prj (passphrase is aqualogic).
    I thank you in advance for any suggestion.
    Regards
    Patrizio

    Could you send me the WSDLS?
    My email address [email protected]

  • Recursive Schema and searching

    I require advanced searching for a recursive schema, each element having 0 to n recursive children. What should I consider when designing the schema to allow for the most robust searching capabilities? Are there any 'gotchas' that I should be aware of?
    A couple small variations, I am unsure of the differences:
    <element type="StoreType" />
    <complexType name="StoreType" xdb:SQLType="PRJ_STORE_T">
            <sequence>
                <element name="store" type="StoreType" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
    </complexType>Using 'ref' inplace of 'type' and/or a shared defaultTable, is there a difference?
    <element type="StoreType" xdb:defaultTable="REC_STORE" />
    <complexType name="StoreType" xdb:SQLType="PRJ_STORE_T">
            <sequence>
                <element name="store" ref="StoreType" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
    </complexType>Any insight is greatly appreciated.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production                          
    CORE     10.2.0.4.0     Production                                      
    TNS for Linux: Version 10.2.0.4.0 - Production                  
    NLSRTL Version 10.2.0.4.0 - Production      Edited by: jstretch on Sep 13, 2011 7:09 AM

    ...is a 11.x database an option?
    ...have you seen the whitepapers mentioned here http://www.liberidu.com/blog/?p=2140
    ...in your specific question / need, following the Forum Rules wouldn't hurt regarding example setup, xml and xml schema

  • Xquery Mapper

    Hi,
    I am done with the Xquery Mapper and have got an .xq file as an output.
    This .xq file takes an .xml as an input converts as defined in the Xquery tool. I have gone ahead and loaded this .xq file in the Aqualogic, which has provided with the functionality of loading xquery files.
    Now, how do i use this .xq file; any samples with BEA for using the .xq file with Aqualogic ?
    Can anyone suggest as how do I pass parameters and get the output and how do I get this output, which is an input to another Business Service.
    Thanks in advance,
    shankar

    I think you're getting the right files. I get the same set when doing this. When opening the XQuery Transform dialog I see all the available source types.
    On this screen, does anything happen when you select XML, Simple, or Non-XML radio buttons?
    Note, I'm using it from a WLI 9.2 install, but it should be the same mapper.
    Also, you might get faster response on the ALSB or WLI newsgroups since people there will be more familiar with it.
    ALSB: http://forums.bea.com/bea/category.jspa?categoryID=600000003
    WLI: http://forums.bea.com/bea/forum.jspa?forumID=2048
    -Chris

  • Using Password_verify_function for EBS Application Schemas

    HI,
    As you all know, EBS Application Schemas (ex: AP, AR, GL, HR, etc) are associated with the DEFAULT profile and DEFAULT profile PASSWORD_VERIFY_FUNCTION is set to NULL. If I alter DEFAULT profile and set PASSWORD_VERIFY_FUNCTION to make use of a complex password function as below or create a custom profile with a custom password function, I am not able to change the Schemas password using FNDCPASS.. it throws the below error:
    APP-FND-02704: Unable to alter user PRP to change password.
    APP-FND-01564: ORACLE error 1403 in changepassword
    Cause: changepassword failed due to ORA-01403: no data found.
    The SQL statement being executed at the time of the error was: and was executed from the file &ERRFILE.
    According to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.
    Please suggest
    Thanks & Regards
    Adarsha

    According to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.If the solution in this doc does not help then please log a SR.
    Thanks,
    Hussein

  • Changing DB character set for only one schema

    We are interested in changing the characterset of only one user from Western European to AL32UTF8.
    Could you please verify if the following steps will be correct to do the same.
    1. Run CSScan on the one user
    2. Fix any issues
    3. Export that one user (with NLS_LANG set to <your old database character set>)
    4. Create a new database in the AL32UTF8 character set
    5. Import that one user into the new database (with NLS_LANG set to <your old database character set>)

    Actually your title is a little incorrect. You are not changing CS for only one schema in existing DB which is not possible. You are trying to migrate a schema to new CS DB. Which is totally doable and your approach is mostly correct.
    Database Character Set Scanner provide user scan mode
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch12scanner.htm#i1006013
    Mostly the issue could be data truncation, especially if you have column defined using char or varchar2 vs nchar and nvarchar2
    because char/varchar is defined in bytes, AL32UTF8 is multi-bytes char set, some character of your old data could saved more than 1 bytes in new DB and can't fit into the column size.

  • XSLT and XQuery recommendation for BPEL and OSB

    Hi,
    1. Why is XQuery recommeded for OSB and XSLT for BPEL. Are there any specific performance optimization reason behind this.
    2. Apart from OSB and BPEL, both XSLT and XQuery has xml transformation options and creating HTML. What is the difference between these two.
    Thanks in advance!

    you can create the graphical view of Xquery in Eclipse but not for XSLT
    Xquery is much faster than XSLT in OSB.
    Through XSLT however you can achieve more complex transformation.
    OSB has its historic origins in BEA Aqalogic stable and so Xquery was widely used used even though XSLT is supported. It is a matter of choice(your standards in your organization,your developer skillsets,your re-usable libraries etc )
    In Jdeveloper you can develop xslt in graphical mode though and attain complex transformation

  • How to configure the Oracle XSL Mapper for ‘schemaLocation’ attribute?

    In the Transformation_1.xsl I need to have the ‘schemaLocation’ attribute defined as such:
    <inc:CaseIncidentReport xsi:schemaLocation="http://caseincidentreport.com/1.0.4 CaseIncidentReport.xsd">
    This is fine as long as long as I don’t switch to the Design tab. When I switch to the Design tab, Oracle XSL Mapper regenerates the XSL file and renders the root element as
    <inc:CaseIncidentReport>
    Can some one tell me how to configure Oracle XSL Mapper for ‘schemaLocation’ attribute? I am using BPEL Designer/JDeveloper Version 10.1.2.1.0 (Build 1915)
    Thanks,

    What do you mean by normal import? Where can I include the 'schemaLocation' attribute in the Designer? I have no trouble adding the shemaLocation in the source tab but when I switch to the design tab it always stripe it off.
    How do I file an enhancement request? I see the the XSL Mapper needs improvements.
    Thanks,
    Nathan

  • Replacement for Obsolete Payroll schemas 'KARMC' and 'XEDT' in ECC 6.0

    Hi Experts,
    I am working in a upgradation project. In HR Module (Payroll schema). Any one can help me out what are the replacement for obsolete payroll schemas 'KARMC' and 'XEDT' in ECC 6.0. (These two are there in 4.6C but, not in ECC 6.0)
    Thanks in Advance,
    Ramesh.

    Hi Experts,
    I am working in a upgradation project. In HR Module (Payroll schema). Any one can help me out what are the replacement for obsolete payroll schemas 'KARMC' and 'XEDT' in ECC 6.0. (These two are there in 4.6C but, not in ECC 6.0)
    Thanks in Advance,
    Ramesh.

  • A separate work schema for a physical schema ?

    Hi,
    The ODI best practices white paper tells us (p.47/48) to create a separate schema and designate that as the work schema for a physical schema. This, however means that the user with which we connect to the database needs to have powerful system privileges like CREATE ANY TABLE, DROP ANY TABLE depending on what you want to do. Many DBA's will object to this. A simpler solution seems to be to set the work schema to be identical to the physical schema.
    Has anybody done this and experienced drawbacks/issues with it ?
    Can anybody give any good arguments in favor of the best practice advising a separate work schema ?
    thanks, Arjan

    Arjan ,
    I would like to suggest my opinion. The main reason for allocating the work Schema separate to the main schema is to have all the $ tables created separated so that while debugging we can choose to have them and drop them later and also mostly when the CKM is enabled the E$ tables are created and they are not dropped. there are also situation where dynamic $ tables are created so each time you run they $ tables are created and in case of failure or de bugging they remain . On the second attempt we have a new dynamic $ table. Think of a scenario where we have both of them in one place and the amount of unnecessary $ tables we have with our DW tables . Also if such a scenario have to happen in production box. Nobody would like to have such a scenario and then you need to either drop them manually or through another pl/sql codes . Thats the main reason its good to have a separate Work Schema.
    Also we use the Work schema for creating stagging table at run time while ODI processing.
    Secondly regarding permission and using the schema i have seen both the kind of environment where user used in topology is either the Work Schema or the Data Schema. Yes you would need to give certain permission or priviledges like Drop , create as $ tables have to have them but some dont give permission like Delete , truncate target tables .
    Now if you make your DBA understand the architecture , he would surely provide the required permission for the Work schema tables to be created and dropped and i dont see any thing to worry, since $ tables gets created and dropped but yes the permission have to be in such a way the user used in ODI data server dont have the permission to drop the Data schema table , if you want have more restricited permission for truncate and delete too, but in development we would surely need truncate and delete too since we tend to load wrong data and logic . Think about it in a different scenarios and requirement.
    Look at this link Cezar has spoken on this topic. -http://odiexperts.com/?p=672
    hope this helps.

  • Best practices for creating application schema

    All,
    Can anyone recommend best practices (or pointer to a url) for creating application schema. A novice installer created a schema and the tablespace ran out of disk space in 2 days and the system came to a halt at a production site. The tablespace was created with one datafile and with MAXSIZE specified. I am looking for Do's and Dont's on production system.
    Thanks for any help,
    Vissu

    I'm not sure that you can boil this down to a "Do's and Don'ts" list unless you want to get overly general...
    For example, do make sure that you provision space appropriately. "Appropriately" however, is going to be radically different in different environments. Some shops set all their data files to autoextend in production and monitor utilization at the OS level. Other shops specify exact file sizes and monitor utilization at the Oracle level. Each approach has its own advantages and disadvantages, you just need to make sure that your application uses the same approach that every other application in the organization uses.
    Do have an idea about the space utilization of the application, but don't go overboard. Running out of space in 2 days means someone failed to do a basic analysis. On the other hand, I've seen people spend way more time than they should making 5 year projections based on some relatively soft assumptions and getting worried about internal overheads that were much smaller than the error bars in their baseline estimates. Of course, the precision necessary also depends on the implications-- a 20% error in a multi-TB data warehouse is going to have a lot more impact than a 20% error in a 20 GB OLTP application.
    Justin

  • Java API - Editor class for an XML schema

    Hi,
    i am very interesting in Java API. I would like to make an editor class for an XML schema. (I will create XML files in the current project based on this XML schema.) What step's are require for this editor class?
    Regards
    Gabor

    DavidThi808 wrote:
    jtahlborn wrote:
    you can provide a schema when parsing an xml document in order to check for schema conformance, but that isn't going to affect your XPath queries at all. DOM content is never anything but strings.In the case of both dom4j/jaxen and the .NET runtime the values returned from XPath queries when a schema is provided are typed. So you get back numbers, dates, and booleans as well as strings. And for numbers you get correct comparisons so 20 > 1.i guess it's possible. i use schemas when parsing xml, and i've used xpath (infrequently), but i'm not sure that i've ever used them together in a way that i would see functionality like that.
    FYI, you use http://docs.oracle.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilderFactory.html#setSchema%28javax.xml.validation.Schema%29 to specify a schema while parsing with a DocumentBuilder.

  • Can we relink the executables for a particular schema using adadmin utility

    Is it possible to do the following tasks for a particular schema (say inv):
    1. Relink the executables for INV schema using adadmin utility.
    2. Regenerate the forms for INV schema using adadmin utility.
    3. Check if there are any invalid objects in the database where the issue is replicated INV schema.
    Thanks,
    Vijay

    Hi,
    Is it possible to do the following tasks for a particular schema (say inv):
    1. Relink the executables for INV schema using adadmin utility.
    2. Regenerate the forms for INV schema using adadmin utility.Yes, it is possible for specific schema -- See (Note: 141118.1 - How To Relink Forms Library Files Using Adadmin) for details.
    3. Check if there are any invalid objects in the database where the issue is replicated INV schema.Through adadmin, it is not possible for specific schema. To check the list of invalid objects under the INV schema, you need to run this query:
    SQL> select object_name, object_type
    from dba_objects
    where status = 'INVALID' and owner = 'INV';Regards,
    Hussein

Maybe you are looking for