Question about XSL Mapper in BPEL designer

Hi,
I have a question regarding the XSL mapper within JDeveloper BPEL Designer.
Scenario:
Consider
1. Source xsd with 3 attributes
2. Target xsd with 5 attributes
An XSL mapping is defined for 3 source attributes to the corresponding target attributes.
The attributes remaining on the target side (2 attributes) are NOT mapped.
Now test the mapper using the in-built test tool
(by right clicking on the xsl editor screen).
The mapper generates a test-xml on the source side and its corresponding transformed xml on the target side.
Now,
If i click on "Validate" in the source side, it says "XML is Valid"
If i click on "Validate" in the target side, it says "XML is NOT Valid" (because the 2 un-mapped attributes are not apprearing the target xml)
My question is
Is it an expected behaviour that if an attribute is not mapped, an empty tag <attribute/> is not generated for this attribute in the target xml. If so, wouldn't the target xml be invalid with respect to the target xsd.
Thanks
Antony

I believe by default xml validation is set to false for a BPEL Domain. I am not sure whether setting this to true will cause your process to error out after the transformation or if it only validates inbound and outbound messages.

Similar Messages

  • Question about view/controller/nib class design

    Assume you need to make an application with, let's say, 15 different views in total. There are two extreme design choices you can use to implement the app:
    1) Every single view has its own view controller and a nib file. Thus you end up with 15 controller classes and 15 nib files (and possibly a bunch of view classes if any of your views needs to be somehow specialized).
    2) You have only one controller which manages all the views, and one nib file from which they are loaded.
    AFAIK Apple and many books recommend going purely with option #1. However, going with this often results in needless complexity, large amounts of classes (and nib files) to be managed and complicated class dependencies, especially if some of the views (and thus their controllers) interact with each other or share something (something which would be greatly simplified if all these related views were handled by one single controller class).
    Option #2 also usually ends up being very complex. The major problem is that the single controller will often end up being enormous, handling tons of different (and usually unrelated) things (which is just outright bad design). This is seldom a good design, unless your application consists of only a few views which are closely related to each other (and thus it makes sense for one single controller class to handle them).
    (Option #2 also breaks the strictest interpretation of the MVC pattern, but that's not really something I'm concerned about. I'm concerned about simple design, not about following a programming pattern to the letter.)
    A design somewhere in between the two extremes often seems to be the best approach. However, since I don't have decades of Cocoa programming experience, I would like to hear some opinions about this subject matter from people with more experience on that subject. (I do have object-oriented programming experience, but I have only relatively recently started programming for the iPhone and thus Cocoa and its design patterns are relatively new to me, so I'm still learning.)

    Somehow I get the feeling that my question was slightly misunderstood.
    I was not asking "which one of these two designs do you think is better, option #1 or option #2?" I already said in my original post that option #2 is bad design (unless your application consists of just one or two views). That's not the issue.
    The issue is that from my own experience trying to adhere very strictly to the "every single view must have its own view controller and nib file" often results in needless complexity. Of course this is not always the case, but sometimes you end up having controller classes which perform very similar, if not even the exact same actions, resulting in code repetition. (An OO'ish solution to this problem would be to have a common base class for these view controllers where the common functionality has been grouped, but this often just adds to the overall complexity of the class hierarchy rather than alleviating it.)
    As an example, let's assume that you have a set of help screens (for example one help screen for each major feature of the app) and a view where you can select which help view to show. Every one of these views has, for example, a button to immediately exit the help system. If you had one single controller class managing these views, this becomes simpler: The controller can switch between any of the views and the buttons of each view (most of them doing the same things) can call back actions on this controller (eg. to return to the help selection or to exit the help screen completely). These help screens don't necessarily have any functionality of their own, so it's questionable what do they would need view controllers of their own. These view controllers would basically be empty because there's nothing special for them to do.
    View controllers might make it easy to use the navigation controller class, but the navigation controller is suitable mainly for utility apps but often not for things like games. (And if you need animated transitions between views, that can be implemented using the UIView animation features.)
    I also have hard time seeing the advantages of adhering strictly to the MVC pattern. The MVC pattern is useful in things like web servers, where MVC adds flexibility. The controller acts as a mediator between the database and the user interface, and it does so in such an abstract way that either one can be easily changed (eg. the "view", which normally outputs HTML, could be easily changed to a different "view" which outputs a PDF or even plain text, all this without having to touch the controller or the model at all). However, I'm not seeing the advantages of the MVC pattern in an iPhone app. It provides a type of class design, but why is it better than some other class design? It's not like the input and output formats of the app need to be changed on the fly (which is one advantage of a well-designed program using the MVC pattern).

  • Questions about web services and BPEL in ALBPM

    Hi all,
    We are currently evaluating various BPM products in order to decide which one to use. Currently I am evaluating ALBPM Studio 5.7 and I am running my processes on the embedded engine provided with the studio. I have some questions:
    1. We want to be able to use complex types for the web services that are generated for processes. Will this limitation be solved any time in the future?
    2. We want to be able to use the generated web services directly (that is, without calling the startSession method first). Is that possible?
    3. I could not find extensive documentation about developing BPEL processes. There is only one small chapter in the developer documentation about BPEL processes. Is there any more documentation or sample about how BPEL is used in ALBPM?
    4. I have developed a very simple BPEL process, but when I try to deploy it, I get the error "Activity BPEL receive does not have any incoming transitions". How can I resolve this issue? I guess it may be a problem about my PartnerLink definition.
    5. When I try to catalog a wsdl which imports another wsdl (and when the imported wsdl also imports some xsds from another namespace), I get an error which says that a web service xxx with namespace yyy is not found, but actually the thing named xxx is not a web service but a soap fault. What could be the problem?
    6. Is it possible to write a BP method in PBL for a BPEL activity?
    Thanks in advance and best regards..

    look for anwsers in the other newsgroup posting:
    http://forums.bea.com/bea/message.jspa?messageID=600047258
    MAriano
    Benitez/BEA/BPM/Beautiful

  • Question about XSL transformation

    Hi All,
      I have a requirment where I need to convert internal table entries to a xml string. But i can't use the default XSL transformation 'ID' here because of some other requirements. Let me explain what I want to achieve with a simple example.
      I do have an internal table based on the structure as given below,
                  person
                       name
                       age
                       address
                  person
    Let us say now in runtime internal table 'lt_person' will hold few entries for this. Now I want convert this to a xml string in such a way that for the <person> element in the result xml string, concatenation of 'name' and 'age' field should come as an attribute with name let us say  'persondesc'.
              <person persondesc="Name1 25">
                       <name>Name1</name>
                       <age>25</age>
              </person>
    Could you please tell me how to define XML transformation using txn code STRANS inorder to achieve this.
    Thanks&Regards,
    Prajesh

    I believe by default xml validation is set to false for a BPEL Domain. I am not sure whether setting this to true will cause your process to error out after the transformation or if it only validates inbound and outbound messages.

  • I have A question about Adobe creative Suite 3 Design Premium, and what it comes with..

    My boyfriend works for a office furniture company building and tearing down office furniture. Today one of the people who worked at the company he was tearing down told him he could take any of the programs there as they had no use for them. So he took the Adobe Creative Suite 3 Design Premium as well as mac OSX Leopard, thinking I would like to use them. But I have a PC.
    My question is what comes with the Adobe Creative Suite 3 Design Premium? Since I can not use it, I thought I could sell it, but do not want to do so if I do not have everything it comes with or needs. What I have is three disc's, in the case. There is the application, the content, and the video workshop. There is no booklet or anything with it. If anyone could answer my question, I would really appreciate it. I dont want to sell it to someone and get in any trouble for it not having what its supposed to.
    Thank you for your time and help.

    Firstly, the CS3 Design Prem comes with Photoshop Extended CS3, Illustrator CS3, InDesign CS3, Dreamweaver CS3, Acrobat Pro 8 as well as Bridge and and Vesion Cue.
    Secondly, has the packaging been opened? If so, it could still be installed on a PC or rather Macintosh somewhere. If so, this makes it a trickier proposition with regards to installing it yourself or selling it on.
    Don't quote me on this, but if the software is fresh and unopened or has been deactivated, you could upgrade to Design Prem CS4 Mac and then crossgrade to Design Prem Windows. Don't know if it's possible to crossgrade and upgrade in one fell swoop from Mac to Win. I suspect not - but will be happy to be proven wrong.
    Hope this helps.
    Ian

  • Hello question about blown out layout and designer

    hello im a web designer....my format is to slice my layout in fireworks....then I bring things into dreamweaver and then place flash files into placed blank spots...........my problem is I notice things get out of line and blown out.....how can i fix this?
    example:---http://sites4sight.com/Zdara/Lounge.html...this is fine in safari and IE?

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Question about single user licence for design premium cs6

    Heya, I just purchased the student version of design premium cs6 and I am wondering what the rules are in the case that my computer hard drive fails.
    Would I be able to use it on another computer or do I have to buy a new set of software?
    Are there any things I should know about installing like backing up the software files somewhere? If so, I would appreciate if anyone could tell me how to do that.
    Also I would like to know if I can use my serial number for a mac version of the software or if I have to buy a whole new set.
    Many thanks in advance

    You have 2 activations and those can be reset when a computer no longer is accessible, otherwise one simply would use Help-->Deactivate and the like to manage activations. Serial numbers are platform specific, so you cannot use the same license on Mac and Windows.
    Mylenium

  • Question about calculation example with Query Designer

    Hi guys,
    I have to calculate within columns and rows and I am not familiar with the settings in Query Designer that could be done to achieve the results.
    For example:
    Payments----
    Delay -
    Weighted Delay
    1000USD--10 days--
    10000
    2000USD--20 days--
    40000
    3000USD--xxx--
    50000 (this is the sum row)
    The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
    Has anybody an idea how the sum row can be calculated separately?
    Thank you for suggestions!
    Edited by: saplaz on Jul 13, 2010 8:47 AM
    Edited by: saplaz on Jul 13, 2010 9:08 AM

    Hi,
    Assuming you have the Payments Infoobject in the rows and WD Infoobject in the columns; Delay as a formula object.
    > Payments----
    Delay -
    Weighted Delay
    > 1000USD--10 days--
    10000
    > 2000USD--20 days--
    40000
    > 3000USD--xxx--
    50000 (this is the sum row)
    > The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
    You may try this workaround of using
    NODIM( SUMCT(WEIGH_DELAY) / SUMCT(PAYMENTS) )
    on a formula variable. (In this case, the assumption is you have not static type-restricted the rows/cols) If you find any hinderances in the default approach, you may check this out as a formula & insert this at the cell editor level.
    If not, use a simple formula variable; here define the replacement path as 0(N) for your Payments. (N being the # of digits)
    Use a simple calculation:
    SUMGT(WD)/FV
    But you may not get an result o/p in the last row, as the values are not linked (sans relation with Payments). as it will return a X for the delay in the Result row.
    Pls. let me know know if this works or some sample o/p if the initial assumption was wrong.
    Thanks,
    Arun Bala

  • Question about XSL

    Hi
    suppose i have a XML file as below, i want to print only value where id = name. I want to do this using XSL, not java program
    for example once i read throug all the XML file, i should get output as 123 and 456
    <xml>
    <name>abc</name>
    <name>xyz</name>
    <data>
    <id>abc</id>
    <value>123</value>
    </data>
    <data>
    <id>xyz</id>
    <value>456</value>
    </data>
    <data>
    <id>jkl</id>
    <value>998</value>
    </data>
    </xml>This is the XSL i have been trying
    <xsl:for-each  select="/">
    <xsl:for-each  select="data">
    <xsl:if test="name=id " >
    what test condition do i put here
    <xsl:value-of select="value" />
    </xsl:if>
    </xsl:for-each>
    </xsl:for-each>

    Hello
    I solved this problem as below
    <xsl:variable name = "item" select = "name" />
    <xsl:if test="R702CODE=$item" >
    // as test condition
    Ashish

  • Question About Bex wad portfolio chart design

    hi,
    user wants to compare sales and cost value and see where the department is. ie user want to see sales as Xaxis and cost as Yaxis and department has bubbles in portfolio graph . but when i use this graph i am unable to assign the values to axis and graph i am not able dispalyed correctly . can anyone help me out for this example how to use this graph .
    Department       Sales    /    Retail Value /    Cost Value
    BUILDING         1,658     /       100         /      200
    DECORATIVE       9,101    /         171     /          888             
    ELECTRICAL       7,663     /        3,025   /          946
    anyone who has successfully designed portfolio chart pls give me your solution ,thanks very much.points will be rewarded.
    Best regards,
    Jason
    Edited by: jason su on Aug 12, 2008 5:58 PM

    Hello,
    Goto start menu -> Run -> give '%temp%' and execute. This will show the temp folder here, then find the folder BW and delete this folder complately. Now open BEx analyzer for the first time after this & connect with system, so that the right texts are entered to the temp file in the desktop.
    After this the issue should be fixed.
    Best Regards,
    Michael

  • XSL Mapper Extension

    Hi
    I am considering writing a Java extension functions for XSL Mapper in BPEL to do DB read. Is this possible? Also, How can I throw exceptions from this function?
    Thank you.
    Message was edited by:
    user508086

    consider using ora:dbLookup or follow the sample in
    $BPEL_HOME/integration\orabpel\samples\references\CustomXPathFunction
    or $BPEL_HOME\integration\orabpel\samples\demos\XSLMapper\ExtensionFunctions
    hth clemens

  • A question about design of Java Application on java card.

    Hi every one,
    I have a question about design of Java applet on java card,
    There is an application on my card that it is not java card, it include a DF and some EF under DF, I would like to know if I want to have this application on java card ,how can I design DF and EF on java card ,I mean is there any relation between DF,EF with applet and file? for example can I say DF is same as applet and EF is same as file?
    I'll appreciate for any help .
    yours sincerely,
    orchid

    hi
    you can write a java class for DF.
    an instance of DF class have some EF objects.
    for example,
    samples/com/sun/javacard/samples/JavaPurse/CyclicFile.java
    implements ISO 7816 CyclicFile ( EF )
    see also:
    http://forum.java.sun.com/thread.jspa?threadID=673745&messageID=3936272
    best regards,
    siavash

  • In Design CS 5.5 --- Question about Leader Dots ("RIGHT TAB")

    In Design CS 5.5 --- Question about Leader Dots ("RIGHT TAB")
    http://www.youtube.com/watch?v=e4kiyByY4A0
    Can anyone help???

    Apply a Character style to the tab character—don't try and do it from the Paragraph style. You can stay with a period as the leader and manipulate the size and spread of the dots via the character style. So here I've applied the Leader character style to the tab or the right indent tab and changed the point size and tracking of the style to make a leader with smaller dots and more spacing:

  • Export of BPEL process :  ?oracle-xsl-mapper? is missing from XSL file

    Hi,
    I am trying to export a BPEL process from Enterprise Manager 11g console (version:11.1.1.2.0). After exporting, i dont see the tag <?oracle-xsl-mapper?> inside xsl/*.xsl files.Because of this i couldnt open the transformation from Jdeveloper.Is any one faced this issue.Is there any workaround for this.
    thanks,
    ashok

    Most of the deploy files are also BPEL Unix server. Login to BPEL Unix server and looking for deploy files /apps1/u10/BPEL/bpel/domains/default/tmp. Identify the .xsl file and replace in it your Jdevelper work folder.

  • Question about service layer design

    I have a question about the design/architecture of service model layers, specifically the task service layer.
    Could a task service be a small "action", ie an operation that doesn't require composition? So if I have a requirement to allow customers to update their personal info, like address, would I have a task service named ChangeCustomerMailingAddress, that in turn calls the update operation on the Customer entity? Or would it be better to call the entity service directly? Another example would be retrieving data, like RetrieveCustomerBillingHistory, would that be a separate task service, or just a get/read operation on the Customer entity service?
    Any insight is appreciated.
    Thanks

    You seem to be confused what all the different parts of Java do.
    JRE - runtime environment, the minimum needed to run standard java applications
    Java Standard Edition - the standard set of API's that form the base of most java applications. You need the J2SE SDK to compile these applications and the JRE to run them.
    Now talking about "application design", I'm not sure what you mean. Are you talking about graphical user interfaces? In that case you would want to look into Swing, and that is indeed part of the standard edition API set.

Maybe you are looking for