Using a schema from a different Logical Data Service

Is it possible to use a schema from a different Logical Data Service in a new Logical Data Service? I want to maintain just one version of the schema.

when I try and associate a schema type the 'Select Schema Type' dialog appears. On there the scope is set to project. Next to it is 'All projects', is there a way I can get that ungreyed?I don't think so. I assume that is a remnant from ALDSP 2.x when we had the notion of an ALDSP application that contained multiple ALDSP projects and there was visibility across projects (actually just folders) in the same application.
can I use a schema associated with another dataspace projectNo. The contents of a dataspace are not accessible from outside the the dataspace other than what is provided by the APIs. And although the schemas could be accessed via catalogservices, this isn't a standard protocol (like http://) and therefore schema processors wont' be able to use them.
You could host your schemas in a web-application and expose them via http. Create a Dynamic Web Project and put your schemas where the content gets served from (i.e. alongside index.html), and then they would be accessible via http://<yourserver>:<port>/yourWebApp/yourSchema.xsd. All the schemaLocation in the imports would need to be relative. It would probably be easier to create your schema-hosting application first, then build your dataservices.

Similar Messages

  • HT4528 Is it possible to buy an iphone for yourself at the apple store when you're using an upgrade from a different phone number on your plan?

    I broke my old phone a few days ago, and my phone number doesn't have an upgrade until the summer of next year. My dad offered me his upgrade, since he doesn't need a new phone and it would save me a few hundred dollars. Is it possible for me to go into the Apple store and purchase a new iPhone when I'm using an upgrade from a different phone number? I already cleared it over with the people at Verizon, who told me I could switch the upgrade over online.

    There are 2 issues here.
    Some carriers REQUIRE a data plan in order to use an iPhone on their network. This requirement will vary from carrier to carrier. The iPhone is designed to be constantly connected. If you do not manually go in and turn off cellular data (not just 3G) The phone will attempt to connect to the Internet over the cellular data network. If you have your carrier specifically block these requests, you shouldn't be charged for them. If not, it could end up costing you lots of money you didn't expect. The other thing that will happen is things like visual voicemail will not work (if the carrier supports it to begin with) and you will get lots of messages about not being able to connect to cellular data if you're not in range of WiFi you can connect to. MMS messaging also will not work.
    The second issue surrounds the statement: "use the iphone 4 with a standard cdma phone plan".
    It is NOT possible to purchase an unlocked CDMA iPhone. ALL CDMA iPhones are locked to Verizon.

  • I used an upgrade from a different phone to purchase a new iPhone.  How do I assign that phone its original number (not the one that it was upgraded from)?

    I used an upgrade from a different phone to purchase a new iPhone.  How do I assign that phone its original number (not the one that it was upgraded from)?

    Phone number of the device is assigned by the carrier.
    Ask the carrier.

  • Using XML extraction from Oracle and XSLT data transformation

    Hi
    How can transfer data ie: Using XML extraction from Oracle and XSLT data transformation with java application?
    usually i use to do querying sql, getting data from table assinging to model class then send it to UI. how can i go for XML extraction form oracle?
    thanks

    Sorry, I don't understand what exactly you want to do. And I'm under the impression that you might not know exactly what you want to do as well. Could you explain a bit more detailed what you want to achieve?

  • Can i use App schema from another Oracle database.

    Hi everyone,
    can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
    Regards,
    Kashif.

    user10485983 wrote:
    Please update your forum profile with a real handle instead of "user10485983".
    can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
    You can (using database links), but this will generally result in even poorer performance (unless by "another Oracle database" you mean using RAC?)
    It sounds more like you either need to upgrade your systems, or refactor your applications to have a smaller performance footprint.

  • Newbie question about Logical Data services

    Lets say we want to create a Logical Data Service that will retrieve data from several web-services and aggregate the results. When a client requests data from the logical data service, a number of webservices will get invoked. Response time of these webservices can be different. We do not want to keep the client app waiting for long.. so is it possible to define a cut-off time in data service after which client gets results obtained till that point? Alternatively, does ALDSP provide support for clients that could poll a data-service to check for results of a previously submitted query?
    Will appreciate your help in understanding capabilities of ALDSP and approach taken by you in similar situations.

    to define a cut-off time in data service after which client gets results obtained till that point?See the fn-bea:timeout() function in the ALDSP documentation. It will do exactly what you want for web-services. Note that adding the function to a query will of course alter the query plan - which will have little/no effect for web-services - but for database access, may prevent some optimizations.
    In DSP 3.0, you will be able to use the hasNext()/next() form of the mediator api and the client will only block while the first and subsequent items are being retrieved.
    If you want to call DSP asynchronously - I believe ALSB allows you to create an asynchronous proxy service (JMS, for instance)

  • User Defined Transaction in Logical Data Service

    Hi
    I have few physical data services created from database store procedures. I've corresponding logical services for each of the physical data services.
    Now I've created a logical data service that calls 2 store procedures & trying to update this 2 store procs in a single transaction.
    Also I dont have a read operation in my logical data services. In this case both store proc. should take part in a single transaction & should commit or rollback as per success/failure.
    I tried testing this scenario & it fails. ALDSP was able to update first store proc. but there was an error in second store proc. so it should have rollback the entire transaction.
    Is there any way that we can have user defined transaction in logical data service?
    My Scenario:
    InsertData(RequestA,RequestB) as response
    res1 := call First Store Proc (RequestA) ;
    res2 := call Second Store Proc (RequestB);
    response := res1 + res2
    So my question was is it possible to define user transaction before making calls & have commit/rollback define around it.
    Apprecaite for your help!
    Thanks
    Pash

    I have assumed that you realize you need XA drivers for this. What is the exception you see? Something about "mixed outcome"?
    But in the case of store procedure, we cant drag & drop physical ds into logical ds. Why?Since your stored procedure updates, it should be defined in the physical ds as a "procedure" not a "function" - it sounds like it is. (procedure means it will update, function means it will not - not that it is a "stored procedure"). Because it updates it cannot be called by an xquery function because xquery is by definition read-only. It can only be called directly from the client, or from another procedure (which is XQSE, not Xquery). If you created a logical ds with a "procedure" - you could drop your procedure into that.
    created a new library procedure in which i am calling 2 physical ds assuming it will be executed in a single transaction. But it does not. Please verify.
    But it does not. Please verify.I won't verify it because it is not correct. It should be treated as though it is one transaction. And barring the bugs with JNDI/data source names and multi-data sources, I do not know how how it would not be. So either there is a misunderstanding or a new bug.
    Either way you need to open a case with customer support to resolve this. When you open your case, the more information you provide them with (i.e the smallest possible dataspace that will reproduce the problem along with DML to create the stored procedures and the tables that they use, and also any/all exceptions/stack traces and server logs).
    - Mike
    ps. there are no means to explicitly create a transaction in ODSI.

  • Error while executing logical data service:XP0006

    Hi,
    <br><br>
    I have one physical dataservice which is caps.ds based on oracle database. I created one method in caps.ds by name gatCap(String param). basically this method will fetch the data from the database based on input parameter. This method is working fine in physical data service.<br>. Now I created one logical dataservice named as Test.ds from this physical dataservice. I added one method getCaps(string param) method in Test.ds. Noe if i try to test this method in workshop I am getting the following error.<br><br>.System error
    weblogic.xml.query.exceptions.XQueryTypeException: ld:NewDSProj/Test.ds, line 26, column 5: {err}XP0006: "element {ld:NewDSProj/Caps}Caps { {http://www.w3.org/2001/XMLSchema}anyType }": bad value for type element {ld:NewDSProj/Test}Test { {http://www.w3.org/2001/XMLSchema}anyType }*<br><br>
    Even in Query Plan also it is showing TypeError in red color.
    <br><br>
    I am attaching the capa.ds, Test.ds and required .xsd file and server log file for your reference.
    <br>Any suggestiins please...
    <br><br>
    Regards,
    Suresh Varma.

    Hi<br>I changed the return type in Test.ds to caps.xsd. It is working fine. Thank you.<br><br>
    Now I have the following data services.<br>
    1.MRM_RESPONSE.ds--which is created from java method.This java method will read the data from xml.<br>
    2.Caps.ds--which is created for Oracle data base.<br>
    Now I created one logical data service named as Test.ds with function newFunction(String param).My intention is i want consolidated output from both physical data services based on join condition. I have the state field in both physical data services. So the output of newFunction() in Test.ds should be combination of caps and MRM_RESPONSE.<br> In Query plan for newFunction() I am not getting any error. But if I try to test I am getting the following error.<br>System error
    weblogic.xml.query.exceptions.XQueryTypeException: {bea-err}TYPE003 [{bea-err}TYPE003a]: Runtime Type Mismatch: got an xdt:untypedAtomic value<br>.
    I am attaching latest code and server log file for your reference. In the attached zip file NewSchemas is the schemain schemas project.JavaClient contains java method.
    <br>
    Thanks& Regards,
    Suresh Varma.

  • Problems with logical data service

    This is related to thread 837141 (Problems creating physical data service to relational table)
    I have been able to create the logical data service that uses the physical service (mentioned above).
    However when I try to create a library function to update (shown below)
    declare function lper:update($new as element(per:Persistance2)) as xs:boolean {*
    * let $changed :=*
    * for $n in $new*
    * let $old := lper:read($new/Project, $ew/Property)*
    * return*
    * fn-bea:replace-value(fn-bea:changed-element($old), "Value", $n/Value)*
    _let $return := {color:#ff0000}pper:update{color}($changed)_*
    * return fn:true()*
    WorkSpace Studio gives the following error (for the line underlined above, and the function in red)
    *{bea-err}FUNC002: Illegal use of side-effect procedure {ld:Physical/Persistance2}update with arity 1. Side-effect procedures cannot be invoked from a side-effect free context*
    Any idea why?

    functions, by definition, do not have side-effects. So calling something that had a side-effect (procedure) is not allowed.
    You need to create a library procedure.
    Your
    declare function lper:update($new as element(per:Persistance2)) as xs:boolean {*
    needs to be
    declare procedure lper:update($new as element(per:Persistance2)) as xs:boolean {*
    - mike
    Edited by: mikereiche on Dec 12, 2008 5:10 PM

  • Logical Data Service

    Hi all,
    I´m trying to create a phsysical data service that uses two physical data services (one Store procuredure and one table).
    I what two create a join clause between my strore procedure and my table, but i got this error message:
    +"cannot create relationship from/to any Data service other than entity data service.+
    +One or both of the data services chosen are not and entity Data SErvice"+
    What I need to do is:
    I have A AND B values as input to my logical data service.
    I need to use A and B value to get another value C in my physical data service( type: Relational Table).
    C will be physical data service (type Store Procedure) input data. The return of this procedure will be mapped in (XSD) file that represents my entity.
    Does anybody can help me?

    If I understand correctly, your need to satisfy conditions on parameters A and B with your table, so you can extract C as a result from the table and use it as a parameter in your stored procedure to return the result of the stored procedure.
    In XQuery this kind of join looks loosely like this:
    for $t in ns1:TABLE()
    where $t/column1 eq $A
    where $t/column2 eq $B
    return
    for $s in ns2:STOREDPROC($t/C)
    return
    &lt;myresulttype&gt;
    &lt;field1&gt;{fn:data($s/column1)}&lt;/field1&gt;
    &lt;/myresulttype&gt;
    The error message you have indicates that you are trying to create a relationship function. While it is possible to express joins through relationships, you can also do joins using the Query Map editor.
    The chapter "[Create Your First Data Services|http://download.oracle.com/docs/cd/E13162_01/odsi/docs10gr3/datasrvc/Create%20Your%20First%20Data%20Services.html#CreateYourFirstDataServices-CreatingaLogicalDataService]" describes how to create a join graphically using the Query Map. The only difference in your case is that you would map your join line (Explained in "Setting up a Join Condition" in the docs) would be mapped to the parameter of the stored procedure.
    Edited by: alexkotopoulis on Jan 16, 2009 1:56 PM
    Edited by: alexkotopoulis on Jan 16, 2009 1:57 PM

  • Aging report from a different base date

    Hi,
    There is a requirement in Aging report. The report should show the the 30, 30-60, 60-90 etc with a different base date/(reference date (OPEN DATE) in stead of the current date. In this case current date should be shown as RUNDATE and there should be one more date field as OPEN DATE  in the page footer.
    Please help me to solve this. Thanks in advance.
    BABASHARI

    Add a parameter for the date that you want to age by.  Use the datediff() function to determine the age of each item in a formula field that uses that age to group items by the range of dates desired (basic syntax):
    dim days as number
    days = datediff("d",{due date}, {?date parameter})
    if days < 31
      formula = "  0 to  30"
    elseif days < 61
      formula = " 31 to  60"
    elseif days < 91
      formula = " 61 to  90"
    elseif days < 121
      formula = " 91 to 120"
    else
      formula = "Over 120"
    end if
    HTH,
    Carl

  • WHY SUCH AN INJUSTICE THAT BBM CANNOT BE USED ON MY CURVE 9300 OVER NORMAL DATA SERVICE AND OTHER PLATFORMS CAN USE!

    Hello,
    I am using Blackberry Curve 9300. I purchased this phone for Rs. 17,250 before some 3 years, I considered RIM to be a Company providing premium services which is unique in itself and which worth spending on them and the most important thing is those are not available to non-blackberry users! Especially in case of Blackberry Messenger, which is such a service connecting all the blackberry users around the world, making a mark of precious symbol of the users of BBM.
     Before few days I came to know about BBM being available on Android and Windows phones, my question is why this injustice with your own customers, you provide the app which they will use with their normal data plan and we people who are your real customers, who trusted in you have to spend not less than Rs.129 for just BBM!I must say RIM is the most back-stabbing company I have had ever dealt with! People are laughing at us as they are using the same service for almost free and we have to spend a huge sum for availing the same service, my question is are these non blackberry people your customers or we people who contributed in your success with hopes of trust?
    My question is not why you made available BBM usage to non-blackberry users with such flexibility but my question is why can't you be loyal to your own customers?
    I hope that RIM would have a pleasing justification.

    Thanks with the signature but I already removed it from my profile too.
    I was never under a rock when it comes to technology I know that in India before few months yoru Blackberry Z10 was Rs.44,000 and now it is Rs.21,000. I understand the ploy of making BBM cross platform to generate revenue, first in a technical sense and another by creating it advrtisement in the marker.
    Do you think that taking an undue advantage of our loyaty and enduring the mockery of your own customer would take you anywhere? Don't you think that abusing your own customer's prestige would even affect you negatively? While your customer is paying Rs.129 for just BBM the Android person sitting next to him is lauging at him for he paid you and call him fool! Profits doesn't starts only by making huge business decisions but from the loyal and satisfied customers. You may always find customers all around always complaining but deep down if you have touched their needs they will bless you with good words at your back, maybe in such a way that you will never come to kow but it will grow you more. I am not here to deliver you a marketing lecture as i am in corporate law field but let me tell you what I read during my graduation, it said something like one disatisfied customer can discourage ten potential customers from buying your product and I have started feeling the same in case of online shopping but I do not know when the company giant blackberry would come to know! 
    When you said about expanding customer base, think about a company who is expanding its base of customers by disatisfing their current customers who always took pride in you by providing them services at harsh terms and in front of their eyes others are getting benefits at a very low cost.
    Our family business is textile manufacturing, not as big as blackberry but we always knew that if we will start selling our goods by describing them as really premium goods and start charging out of lips and bounds, of course my product could be premium worth the price but one thing I could be missing would be a point of finance, there could be cheaper alternatives in market which could be selling at lower price which same usage. My concern is just to keep our eyes open.
    Now consider a phone on which I can use Whatsapp which satisfies my messaging needs, gtalk and yahoo messengers for my im needs, push mails for emails, browsing and downloading for just Rs.99 and on the other hand Blackberry services for Rs.389, it is indeed clear the reason of downfall, though it is labelled as premium service and indeed it could be, permium service as I said earlier.
    When you feel that your boat is sinking, you do not have only have to pull out the waters but on the priority basis you have to cover the hole too! Blackberry is just pulling out the water leaving the hole as it is!
    If you say that legacy mode in BBOS could bother you  from providing BBM for BB device, you know that it cannot be and even I know that, any technical person can know that as it is a little secret that I can use BB browser without BIS and many other apps are example of the same (to be a bit informal). See, I never asked this thing from last three years but now when you are making it cross platform why not to give a little benefits to those who paid you till now, if you can give it to those who are nothign to you?
    My question is that why can't you provide BBM to be used on the normal data paln for your own old and loyal customers who paid you such a handsome amount from many years for your services as how you provide on other platform, just for BBM not email and rest of your services?

  • ALDSP , Logical Data service to PhysicalData service mapping

    Hi ,
    Need help to find out the way how to find the mapping between the Logical Dataservice to physical service using config file .
    I have requirement like depend on the Region ( Parameter) need to connect to the database . How do we achive this using an xml file ( means dynamic which out a code change ) .
    for ex:
    Think we have 3 regions names ( DAO ,APJ ,CCC). I have created 3 Physical data services for each region (which will point to 3 diff databases).
    then In the logical service I have logic like this
    If( region =='DAO')
    call the DAO Physical Srvice
    If(region == 'APJ')
    call the APJ Physical Srvice
    If(region == 'CC')
    call the CCC Physical Srvice
    So if I have to point the region 'DAO' to the APJ physical service then it required a code change . how we can avoid this hard coded mapping . Is there any way to define the region and the physical service mapping in the xml file so that if any change is required it will be a change in xml file itself with out a code change .
    Please help me . This is little bit urgent .
    Thanks in advance .
    Thanks & Regards
    Sarath

    It seems that if you are adding more regions and physical data services you will need to modify your dataspace anyway to add the new physical data services.
    Please post your ODSI/ALDSP questions on the ODSI forum - Data Service Integrator

  • Use imported attribute to reference different meta data for export

    our HR system only provides the three letter country code and i would like to export to AD the two letter country code and the spelled out country name. 
    maybe someone can provide the best way to do this. some questions i have had around trying to solve this are
    can you have a connector space object joined to multiple metaverse objects? a one to many relationship?
    could i create a new object_type country and have the person reference the country metaverse object? 
    i'm trying to avoid adding more code, let me know if there is a way to configure what i am trying to do either in the sync engine or the fim portal.
    Thank You!
    edit: if it is helpful i have no problem importing the ISO-3166 data from a source like http://opengeocode.org/download/countrynames.txt into
    fim.

    You could project country objects into the MV from your file, but personally I would just create a new SQL table based on the country code file then join it to the HR table (assuming this is a DB feed - if not import your HR file into a SQL table
    first via SSIS). Then the countryName will be an attribute on the incoming person from HR. Something like
    create view vwImportNew
    SELECT tblHR.employeeID, tblHR.firstName, tblHR.lastName, tblCountryCode.countryCode, tblCountryCode.countryName
    from tblHR
    INNER JOIN tblCountryCode
    ON tblHR.countryCode = tblCountryCode.countryCode
    Then repoint your HR MA at vwImportNew and refresh the schema and the countryName will appear as an attribute ready for import flow
    Cheers,
    Dave

  • How to use Boolean values from 2 different sources to stop a while loop?

    I am working on a program for homework that states E5.4) Using a single Whil eLoop, construct a VI that executes a loop N times or until the user presses a stop button. Be sure to include the Time Delay Exress Vi so the user has time to press the stop botton. 
    I am doing this right now but it seems as though I can only connect one thing to the stop sign on th while loop. It won't let me connect a comparision of N and the iterations as well as the stop button to the stop sign on the while loop. So how would I be able to structure it so that it stops if it receives a true Boolean value from either of the 2 sources (whichever comes first)? 
    Basically, I cannot wire the output of the comparison of N and iterations as well as the stop button to the stop button on the whlie loop to end it. Is there a solution?
    Thanks!
    Solved!
    Go to Solution.

    Rajster16 wrote:
    Using a single Whil eLoop, construct a VI that executes a loop N times or until the user presses a stop button. 
    Look in the boolean palette for something similar to the word hightlighted in red above.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • Application Translation Not Working - Primary Key Error

    I had created an application translation to Spanish but it wasn't displaying my Spanish translation. I was going to try and redo it so I tried creating a new mapping and then seeding the translatable text. I got a primary key error "ORA-20001: Seed i

  • Need to find the source code for java.util.LinkedList

    Hello all, I'm new to the forums and I actually need the LinkedList source file as well as all the source files for all Java packages and libraries. Please post a link here if you can, or email me at [email protected] Thanks again! copter_man

  • Using Skype with the Mini

    I have a late-2009 mini and would like to use Skype video with it. Anyone have any experience with this? As much as I can tell since there is no camera or microphone and very poor audio capabilities I would have to purchase a webcam with camera & mic

  • Does db_verify modify a database?

    I'm trying to understand how db_verify uses the databases. We have a backup process that runs every night and copies the database to a different machine (using scp). While the copy is going on, we run db_verify on the database to do a health check on

  • Problems with dependencies in SDM

    Hi all, I have some problems with the dependencies check in SDM. Some time ago we have created several custom PAR files for our internal Portal. As it takes some time to upload all these PAR files manually we created EAR files out of these PAR files