JAXB guidance

Can any body give me details of referece (books or online tutorials) on the topic
JAXB(more precisely xml processing) with lots of examples and easy introduction to the subject ?
Thank you

IBM's developerWorks (http://www-130.ibm.com/developerworks) has some JAXB tutorials and articles as well as comparisons between different data binding implementations.
Just search on JAXB or the data binding implementation of your choice.

Similar Messages

  • Marshaling problem in creation of xml thru JAXB

    Hi java gurus,
    I am trying to create an XML which will has the data of database using JAXB. I am able to generate JAXB classes, but its giving some error the stack trace is like this
    java.lang.NoSuchMethodError: com.sun.xml.bind.marshaller.XMLWriter.setXmlDecl(Z)V
         at org.bas.dss.common.vo.bii.impl.runtime.MarshallerImpl.createWriter(MarshallerImpl.java:223)
         at org.bas.dss.common.vo.bii.impl.runtime.MarshallerImpl.createWriter(MarshallerImpl.java:238)
         at org.bas.dss.common.vo.bii.impl.runtime.MarshallerImpl.createWriter(MarshallerImpl.java:233)
         at org.bas.dss.common.vo.bii.impl.runtime.MarshallerImpl.marshal(MarshallerImpl.java:126)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
         at org.bas.dss.common.dao.MetaDAO.createInstInformation(MetaDAO.java:627)
         at org.bas.core.fidownload.DownloadActionHandler.getInstInfoXMLData(DownloadActionHandler.java:163)
         at org.bas.core.fidownload.DownloadActionHandler.performPreDownloadAction(DownloadActionHandler.java:74)
         at org.bas.core.fidownload.DownloadAction.perform(DownloadAction.java:129)
         at org.bas.core.fidownload.DownloadAction.execute(DownloadAction.java:79)
    the method is like this,
    valueObject = getInstInformation (registrationId, appVersionId);
    System.out.println("MetaDAO-->valueObject:"+valueObject); //here i am gettingthe object
    context = JAXBContext.newInstance("org.bas.dss.common.vo.bii");
    System.out.println("MetaDAO-->context:"+context); //here i am getting the context
    sumissionInfoMarshaller = context.createMarshaller();
    System.out.println("MetaDAO-->sumissionInfoMarshaller:"+sumissionInfoMarshaller); //here also i am getting some object type
    sumissionInfoMarshaller.setProperty(
    Marshaller.JAXB_FORMATTED_OUTPUT,Boolean.TRUE);
    System.out.println("MetaDAO-->MetaDAO-->");
    sumissionInfoMarshaller.marshal (valueObject, streamToWrite); // the problem is coming here.
    anyone can suggest what will be the problem, and tell me how can i resolve this issue,
    thanks in advance,
    varma

    Pl post this question to SDK Forum

  • Data Federator - Building Web Services Data Source - Request Guidance

    Hello -
    I am trying to build a web services data source in Data Federator.
    I have:
    1. In ECC, I have created a web service, proxy, port, endpoint, etc. and am testing it with WS Navigator
    2. I have created a Project in Data Federator of the type web service
        a. Here I have assigned the WSDL URL (generated in ECC) as the URL
        b. I have setup web service authentication using the same userid, pwd in the web services definition (note: I have set the
            web services authentication to 'NONE' to avoing authorization issues)\
        c. I am now trying to "Generate Operations"
    I keep getting the error :
    The File Access Parameters are not valid (directory path = <HERE IS THE PATH TO THE WSDL WITH THE HOST/PORT stripped OUT>; file pattern = document
    I believe that it is finding the WSDL, becuase when I change the WSDL from 'Document' to 'RPC', the error changes with the file pattern = rpc.
    What needs to be done to the file access parameter piece.
    PLEASE provide guidance.  Thanks.
    - abhi

    Ananya,
    We are using XI to load data to BI from source system. XI basically uses the same concept as Web Services - Real time data concept via RFC embeded in Proxies.
    I was using web services to test data load - eventually we will use XI.
    KJs blog is pretty good. I was able to get data loaded - after several iterations and several OSS notes. It is still not perfect - there are several manual steps . I am going to pick KJs brain on that.
    We are on SP10 and looks like there are several bugs in RSRDA. Some of these are addressed in SP11 an SP12.
    Some notes to consider are
    0001003963, 0001008276,0001009260 and 001003265.
    Let me know if you have any questions.

  • Sharepoint (Public facing site) Project Guidance

    Hi friends ,
    This is my first sharepoint project (SP 2013) for which I have been asked to develop a public facing internet site.
    I do have a basic idea about certain concepts of sharepoint but still I'm looking for a guidance to how to go about with the project.
    Requirements :
    1. There are many modules. And each module has many courses. 
    ROLES : Anonymous Users : Read and download
        Content Authors : Add, Edit, Delete content.
        Approvers : Publish content
    Need to implement cross-site publishing model (correct me if I'm wrong).
    3. In one of the webpages of the website, there will be a table in the layout displayed as below: in which anonymous users can only read and download
    documents. The brochure icons should allow to download document when clicked. Only authors have the authority to do any editing of the content as mentioned earlier.
    Title                             
    Duration                                              
    Brochure
    --------------------------------------------MODULE 1------------------------------------
    Course 1
    Course 2
    --------------------------------------------MODULE 2------------------------------------
    Course 1
    --------------------------------------------MODULE 3------------------------------------
    Course 1
    Course 2
    Course 3
    4. Authors  should have an interface where they can input the dates for individual courses for the entire year like in a calendar control and
    display to anonymous users (only read) a  set of all the courses scheduled like below:
                Jan       Feb     Mar     
    Apr      May     June    July     Aug     Sep     Oct       Nov      Dec
                --------------------------------------------MODULE 1------------------------------------
    Course1 08-10                         02-04
    Course2                       05-09
    --------------------------------------------MODULE 2------------------------------------
    Course1 08-10                         02-04
    Course2                       05-09
    QUERIES :
    1. Based on my minimal knowledge, I suppose I should use document library for creating courses under specific modules.
    But how do I customize the look and feel of the library based on the layout mentioned.
    2. How to implement the calendar kind of functionality and how to combine all the scheduled courses together to be displayed in a webpage?
    3. should I first design the authoring and publishing sites, then create master pages and then go for creating all list and libraries? What should
    be the protocol for the above project?
    Guys, its my humble request to please help me out :( :( :(.....Thank you in advance. Sorry for such a long description. Spare me on this. Have a good
    day :)

    1. Since I want a column called brochure which should be an icon (for each course record) and which will invoke upload/download( for authors) and only download for anonymous users, is there a datatype that is supported  in custom list...because I couldn't
    find any. Or do I have to implement a document library app?
    Inder: Try Image content type. But on click it will download image and not whole course material. So my suggestion here is to create a calculated column to pull image and link download.
    2. I would be very grateful if you could  provide me with some useful links which might have a step by step procedure for implementing site architechture :
    a)cross site publishing model
    b) how to define the user permissions and content approval workflow for approvers
    c) Customizing style of the custom list through sharepoint designer
    Correct me if I'm wrong :
    The protocol should be :
    1. To plan site architechture which involves implementing cross site publishing model     Inder: Yes, if required
    2. Defining Lists and libraries ( I hope document library app is not required for the above specs..custom list should be fine) Inder : Yes
    3. Customizing the style of custom lists and calendar functionality through sharepoint designer. : Inder: Prefer using CSS and designer.
    4. Applying master pages and page layouts. : Inder Perfect. 3-4 can go together
    If this helped you resolve your issue, please mark it Answered

  • New Indian Turn by Turn Voice Guidance Maps with o...

    Dear Friends,
    MapmyIndia.com offers Sygic mobile maps (http://inav.mapmyindia.com/product/sygic/sygic_mob​ile_maps.html) claims to have intuitive design, easy to read as you drive, crystal-clear spoken voice instructions and route guidance with map coverage of 401 cities all over India. What is also claimed is MapmyIndia Sygic mobile maps, once installed, are stored on your phone/SD card. This means that you do not require a GPRS or data connection to get them working. What's more, there are no subscription or recurring charges. The one time cost is 55 US Dollars which would be a great saving as I often use the map while in Indian roads. This provides me a better option compared to Nokia Maps which I like but is expensive and Google Maps which doesnt yet come with turn by turn voice guidance for Sybian 5 platforms (only available in Android 2).
    The customer care of MapmyIndia mentioned that it is totally compatible with my new Nokia N97. However, I would like to find out if any of you have used this service and if it affects the performance of the phone (speed, memory, crashing etc) in any way. How does Nokia looks at such third party alternatives? 
    Many thanks for your help and for sharing your experience.

    Dear cjlim, Thanks for the input. Well, in terms of updated maps, the google can't be matched. However, Nokia map updates do not necessarily cover all the rapid changes thats taking place all over India. As per your suggestion I had a chat with the customer service rep of mapmyIndia and the response are as following which says the update is every six months and it could be downloaded free.
    team_mapmyindia2 [3:09:09 PM]: Welcome to our real-time support chat. How can I help you today?
    [3:09:16 PM]: good afternoon
    N97 user [3:09:35 PM]: Hello-I am planning to buy the MapmyIndia Sygic mobile maps for Nokia N97
    team_mapmyindia2 [3:09:47 PM]: May I know your name, contact no. and your current location to assist you better ………
    N97 user [3:10:04 PM]: Could you please suggest how often I can download the latest maps and how much additional would the downloading maps would cost
    [3:10:56 PM]: we update every 6 months.
    [3:11:18 PM]: Is it free to download the updates?
    team_mapmyindia2 
    [3:11:41 PM]: yes.
    N97 user [3:11:55 PM]: Thanks for your help
    team_mapmyindia2 [3:11:56 PM]: sygic mobile maps will cost you Rs 2,490/-
    N97 user [3:12:11 PM]: Yes, thats what I found from the web
    team_mapmyindia2 [3:12:12 PM]: so when are you planning to buy?
    N97 user [3:12:31 PM]: Do you get any report of Nokia phones crashing after loading the maps
    team_mapmyindia2 [3:12:41 PM]: nope.
    N97 user [3:12:48 PM]: Thanks

  • How can I connect my MBA 11" 2012  to my Imac 21.5" mid 2010 as a display unit. Connected using a mini display port cable and this did not work. Any guidance welcome. Thanks. John

    I bought a belkin mini display unit cable( new) and connected the thunderbolt port in the MBA ( 11" , mid 2012) to the Imac mini display unit port using this cable. Pressed the CMD & F2 keys on the Imac keyboard as required but this did not work. Should I try with another cable ? Should i try with a thunderbolt cable ( recommended by appple support ) -- but they too were not sure about this. Is the Mid 2010 21.5" Imac not able to function as an display unit? Any guidance would help and will be much appreciated.

    Welcome to Apple Support Communities
    Only the 27-inch iMac and Mid 2011 and newer iMacs can be used as an external screen, so you can't use your Mac as an external screen. See > http://support.apple.com/kb/PH11302
    You can still use your iMac as an external display, using an application like ScreenRecycler

  • Upgrading to JAXB/JWSDP1.3 from JAXB/JWSDP 1.2 -- problems

    I am seeing 2 problems after upgrading to the JAXB found in WSDP 1.3 (from 1.2)
    We are using JAXB in a client/server style app where the server is accessed via a web interface and the client is delivered via Java Web Start (JWS). Both the server and client use JAXB-generated classes.
    We have an ant build.xml file that invokes xjc and this was working for us as expected.
    For the JWS piece, we need to sign the jars we use and for testing purposes we were self-signing them, including the jar files needed for JAXB also self-signed. This is also coordinated through an ant task.
    After replacing the jar files in our lib area with the ones from my recent download of the 1.3 version of JAXB the following happens.
    1. I am seeing compiler deprecation warnings for the generated code -- this did not happen in our use of JAXB from 1.2. For example:
    [javac] /Users/jjs/Projects/SGS-Install-Fixed/sgs/src/com/gestalt/sgs/uobdif/impl/runtime/SAXMarshaller.java:259: warning: ERR_MISSING_OBJECT in com.sun.xml.bind.marshaller.Messages has been deprecated
    [javac] Messages.format(Messages.ERR_MISSING_OBJECT), null,
    [javac] ^
    I am using Java 1.4.1 on Max OS X (I know... not supported but this doesn't seem like a platform dependency) and these warnings go away if I revert back to the JAXB jars from the 1.2 release of WSDP.
    2. These are only warnings, so my build proceeds with ant. But, when I get to the jar signing step I see:
    [signjar] Signing Jar : /Users/jjs/Projects/SGS-Install-Fixed/sgs/lib/jaxb-libs.jar
    [signjar] jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 63854 but got 19845 bytes)
    I looked at the jar file using the jar command and there are entries there:
    4038 Wed Dec 03 22:16:20 EST 2003 META-INF/MANIFEST.MF
    3303 Wed Dec 03 22:16:20 EST 2003 META-INF/SUN_MICR.RSA
    3780 Wed Dec 03 22:16:20 EST 2003 META-INF/SUN_MICR.SF
    0 Wed Dec 03 22:16:20 EST 2003 META-INF/pack.properties
    that suggest to me that perhaps the jar is now sigend by Sun and therefore can't be signed again. If I look at the corresponding jar from the JAXB/1.2, these SUN_MICR entries do not appear.
    Is this assumption correct? Can I deliver my app through web start with my apps own jars self-signed and the JAXB jars signed by Sun? I suppose I can un-jar the JAXB jars, remove the manifest material and then re-jar the files and sign those. I expect this might work.
    I am looking to share migration experiences (1.2 to 1.3) and to see what work-arounds there might be.
    Thanks
    Jim

    Replying to my own post.
    It seems that with the JWSDP 1.3 release, most (if not all) of the included jars are signed by Sun. You can NOT include jars with different signatures in the same web start application -- that's the error I get when I tried to do this.
    This means that if I want to package my jars using a self-signed certificate, I have to first un-jar all of the JAXB lib jars I want to include, get rid of the parts of the manifest that deal with signing, re-jar them and then sign all of the jars in my web start app using my own cert. More work for me, but not a show-stopper.
    I still am not sure why I am getting deprecated warnings from javac though.
    Jim

  • New iPhone user needs guidance setting up 4 iPhones for family - best approach?

    Hi - I'm a new iPhone user tasked with setting up 4 iPhones for family (three 4S, one 3GS). I set up the first 4S using my mother's existing Apple ID (she has an iPad) and I think (hope) hers is fine. When I set up my father's phone, my sister said to enter my mother's Apple ID during setup since they wanted to use a single Apple ID for iTunes purchases. The setup screen I'm referring to the 7th screen into the setup process for a new iPhone 4S (after the Welcome, Language, Country/Region, Location Services, Wi-Fi Networks, and Set Up iPhone screens), where it asks you to "Sign In with an Apple ID" or "Create a Free Apple ID". This screen was where I entered my mother's Apple ID into my father's phone.
    By entering my mother's Apple ID on my father's phone at this point during setup, I seem to have created a "clone" of her phone - their phone numbers are distinct and they can call each other but iMessages sent to either of them initially appeared on BOTH phones. I think I have now fixed that by creating a separate Apple ID for my father after the fact and entering it under Settings>Messages. Thinking I could also enter his new Apple ID under Settings>iCloud, I found I could not change it from my mother's Apple ID (it's greyed out). I saw a recommendation in another post to click on the red "Delete Account" button at the bottom, but will that delete my mother's entire account or only its association with my father's phone?
    Backing up a step or two, I'm worried that at this point I should have entered/created a new Apple ID on screen #7 during initial setup of my father's phone (instead of entering my mother's Apple ID), and that just changing settings in iMessage, iCloud, etc. won't really fix any problem(s) I've created. I hesitate to set up the other two phones before knowing how badly I've already messed things up with this one.
    During the initial set up of my father's iPhone, should I have created/entered his own unique Apple ID on screen #7 instead of entering my mother's Apple ID? (and then on his phone AFTER setup was complete, changing to my mother's Apple ID under Settings>Store so that all purchases are shared)?
    If yes, do I need to restore his phone to factory settings and set it up as a new phone so his phone behaves like his and not a clone of hers?
    Without knowing what might be the best way to set up these 4 new iPhones, I was thinking the four unique users of these new phones would most likely want to share apps (by purchasing them with one Apple ID), backup/synch to one computer, but maintain separate iCloud accounts so everyone's info is private? I've spent time reading other posts and see so many different recommendations for families with multiple devices that my head is spinning. Many include questions from folks migrating from older phones or MobileMe. I think my situation is simpler in that there are 4 new iphones and one existing Apple ID. Have I missed some comprehensive post that clarifies the best way to set things up for families new to iPhones, or do needs vary so much that no single best way exists? Given my situation (and depending on which way I should proceed regarding having set up my father's phone with my mother's Apple ID), should I create/enter a separate Apple ID for each new phone user during initial setup so each phone is distinct from the others, and AFTER setup is complete, changing the iTunes and Store info to the shared Apple Id for purchases? Or can I customize each individual phone after the fact in Settings>Whatever so that even if I've entered the same Apple ID on Screen #7 during initial new phone setup, the 4 phones will ultimately be set up correctly?
    So sorry to have to ask such basic questions. Many thanks, in advance, for any guidance provided to help me not make any (more?) mistakes during setup that will be a real headache to remedy later, once everyone has started using their phones.

    Hi edgefield,sorry you're having so much trouble.
    FIRST CREATE A BACKUP ON YOUR COMPUTER -ALWAYS BEFORE PLAYING WITH THE INFORMATION ON THE PHONES (it prevents losses)
    Now I'll answer your questions)
    During the initial set up of my father's iPhone, should I have created/entered his own unique Apple ID on screen #7 instead of entering my mother's Apple ID? (and then on his phone AFTER setup was complete, changing to my mother's Apple ID under Settings>Store so that all purchases are shared)?
    Yes.  Create his own apple id and sign him in.  then tap settings ->store -> tap on the account name -> sign out.
    Then sign in your fathers apple id.  (create your fathers apple id on the computer, its much easier, trust me).
    If yes, do I need to restore his phone to factory settings and set it up as a new phone so his phone behaves like his and not a clone of hers?##
    No.  Tap settings -> icloud, and turn everything off (keep on the phone option).  Then DELETE ACCOUNT (it's got red around it and at the bottom of the screen if you scroll down).  You cannot sign out of iCloud, you can only delete the account.  Then clean up the contacts and information on the phone. 
    Then you tap settings -> iCloud and sign in.  Put your fathers apple id in the section.  His information will be uploaded to www.icloud.com.  Then go to www.icloud.com and sign in with his apple id.  Make sure his information is uploaded (you'll have to select timezone and such). 
    From that point you are fine except for iMessage.
    For iMessage to function properly, only one apple id can be signed into the iTunes store (settings -> store).  If they are both signed into the same apple id on the iTunes store, than you need to turn off iMessage on one of the phones.  The iMessage may be delievered to either phone when both are signed in under the same apple id in the iTunes store.
    tap settings -> messages -> imessage off 
    This also disables facetime.  If you want them to have iMessage and Facetime, they have to have seperate apple id's signed into the iTunes store.
    Have I missed some comprehensive post that clarifies the best way to set things up for families new to iPhones, or do needs vary so much that no single best way exists?
    Not that I've seen, will consider creating one if I have time.
    Given my situation (and depending on which way I should proceed regarding having set up my father's phone with my mother's Apple ID), should I create/enter a separate Apple ID for each new phone user during initial setup so each phone is distinct from the others, and AFTER setup is complete, changing the iTunes and Store info to the shared Apple Id for purchases?
    Your best bet is to create each apple id on the computer (keyboards are easier to use) and then sign them each in during the creation process.  Then change the iTunes store info to the stored apple id.
    This will allow each person to serpate iClouds without interfering with each others Cloud as you set up new devices.
    Or can I customize each individual phone after the fact in Settings>Whatever so that even if I've entered the same Apple ID on Screen #7 during initial new phone setup, the 4 phones will ultimately be set up correctly?
    Doing it this way can cause problems (or used to, not sure if it still does), initially, when you set it up, it wants to create a backup or upload the blank info to iCloud.  You are better off setting up their own apple id first and signing in with that, and then changing it in the iTunes store.
    I'm off to bed, I'll check this thread tomorrow and see if you have any more questions/problems.  Remember, always create a back-up before you do anything.

  • I've recently started to use Numbers but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use. Looks like I have the same situation on my iphone. Any guidance? Thanks.

    I've recently started to use Numbers on my macbook pro but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use.
    Looks like I have the same situation on my iphone.
    The only option I'm being given is to create an lCloud account.
    Any guidance? Thanks.

    The last thing you want is a second iCloud account. Try logging out and back in in System Preferences. If that doesn't work, I'd get AppleCare on the line.
    Jerry

  • How to read the attribute of the xml file using jaxb

    Thanks,
    Buddy as i have a issue i have to read the xml file using jaxb and xml file contains this data and i have read the attribute like name , desc and action for a particular menu name pls tell the code how to do this it will be a great favour to me
    thanx in advance
    Rasool
    <contextmenu>
    <menu name='Lead' >
    <menuitem name='newlead' desc='New Lead' action='/leads.do?dispatch=insert' />
    <menuitem name='editlead' desc='Edit Lead' action='' />
    <menuitem name='leadinfo' desc='Lead Information' action='' />
    </menu>
    <menu name='Cases' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    <menu name='Contact' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    </contextmenu>

    What my program do is to get the encoding of XML files and convert them to UTF-8 encoding files, while I need this "encoding" information of the original XML document thus I can convert...
    After reading specifications and JDOM docs, the truth turns to be disappointed, no function is provided to get this information in JDOM level 2(the current released one), while it's promissed that this function will be provided in JDOM level API....
    Thanx all for your help and attention!!!

  • Error while running simple JAXB test class

    I am new to JAXB and trying to run simple tutorial code.
    I created Java project and added required jar files in a classpath.
    But I get error as
    "com.jaxbtest" doesnt contain ObjectFactory.class or jaxb.index
    I am using Eclipse and I have added these external jars in build path as well as in "Open Run Dialog" classpath.
    Thank you in advance.
    YB

    Hi Timo,
    Im using JDev version 11.1.1.6.0.
    I checked the class path on the jdev console. All the library references are mentioned in the manifest.mf classpath of the test project like below:
    Manifest-Version: 1.0
    Class-Path: lib/identitystore.jar
    lib/adfm.jar
    lib/groovy-all-1.6.3.jar
    lib/adftransactionsdt.jar
    lib/adf-dt-at-rt.jar
    lib/adfdt_common.jar
    lib/adflibrary.jar
    lib/xmlparserv2.jar
    lib/db-ca.jar
    lib/jdev-cm.jar
    lib/ojmisc.jar
    lib/commons-el.jar
    lib/jsp-el-api.jar
    etc...
    So I expect the library references should be resolved looking at the manifest file.
    Another set of entries that I see in the jdev classpath are related to the Model project which is under test.
    -classpath
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\.adf;
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\Model\classes;
    How do I put these entries into my class path? Will it be sufficient if I add the Model.jar into my test project classpath?
    Thanks,
    Sapna

  • WSIF calling EJB 3.0 beans, with JAXB 2.0.2 as the JavaSerializer

    I'm working with SOA suite (10.1.3.1.0 [build #0 ]), and I am trying to allow my BPEL processes to call my EJB 3.0 stateless session beans via WSIF.
    This works fine when I am passing primitives (strings, dates and so-forth) between BPEL and my EJB's using WSIF.
    However I want to be able to pass my 'business objects" across the BPEL/EJB boundary directly. I started off by following the BPEL cookbook article "Using WSIF for Integration" which was usefull in showing how to use JAXB 1.x generated classes across the BPEL/EJB boundary.
    However in the project I am working on we want to use JAXB 2.0 as it allows us to create an XML schmea binding directly from our existing "business objects".
    So I am using the knowlege gained in the article mentioned above to implement a custom JavaSerializer for my bpel process that will use JAXB 2.0. My custom JavaSerilizer is being invoked correctly, when I invoke my BPEL process, but it is unable to load the correct JAXB (2.0.2) classes - it keeps getting the JAXB 1.0 classes that come standard with oracle.
    My debug code that prints out the classloaders for my serializers (and parent classloaders) reports the following:
    06/09/05 11:18:18 CustomSerializer.serialize
    06/09/05 11:18:18 Classloader =oracle.bpel.common:10.1.3
    06/09/05 11:18:18 Classloader =api:1.4.0
    06/09/05 11:18:18 Classloader =jre.extension:0.0.0
    06/09/05 11:18:18 Classloader =jre.bootstrap:1.5.0_06
    The Jaxb classes it is loading a coming from classloader:
    06/09/05 11:18:18 JAXBContext classloader =oracle.xml:10.1.0_2
    My question is how do I get the JAXB 2.0 classes in my classpath?
    Thanks,
    Dave Oram

    Hello,
    About WSIF, we are currently working on a WSIF-EJB30 binding that will allow you to direclty annotate the session ben and get the EJB exposed as SOAP and WSIF binding out of the box.
    This will be available in OracleAS 10.1.3.1 production.
    Regards
    Tugdual Grall

  • JAXB Problem: xjc gives an error

    Hello everyone,
    I would like to use JAXB to extract various information from a class of XML documents that conform to a schema. After tweaking the schema so that I avoid namespace conflicts with xjc, I settled the namespace conflicts, but I got the following error. Even if you don't have an answer, could you give me some pointers so that I can at least begin tackling the problem?
    Thank you very much!
    Here is the output of the command I ran:
    C:\Documents and Settings\Berk Kapicioglu\Desktop>xjc -p test.jaxb ownership4ADocument.xsd.xml -d work
    parsing a schema...
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.util.MissingResourceException: Can't find resource for bundle ja
    va.util.PropertyResourceBundle, key parser.cc.8
    at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
    at java.util.ResourceBundle.getString(ResourceBundle.java:274)
    at com.sun.msv.datatype.xsd.regex.RegexParser.ex(RegexParser.java:138)
    at com.sun.msv.datatype.xsd.regex.ParserForXMLSchema.parseCharacterClass
    (ParserForXMLSchema.java:291)
    at com.sun.msv.datatype.xsd.regex.RegexParser.parseAtom(RegexParser.java
    :736)
    at com.sun.msv.datatype.xsd.regex.RegexParser.parseFactor(RegexParser.ja
    va:638)
    at com.sun.msv.datatype.xsd.regex.RegexParser.parseTerm(RegexParser.java
    :342)
    at com.sun.msv.datatype.xsd.regex.RegexParser.parseRegex(RegexParser.jav
    a:320)
    at com.sun.msv.datatype.xsd.regex.RegexParser.parse(RegexParser.java:158
    at com.sun.msv.datatype.xsd.regex.RegularExpression.setPattern(RegularEx
    pression.java:3040)
    at com.sun.msv.datatype.xsd.regex.RegularExpression.setPattern(RegularEx
    pression.java:3051)
    at com.sun.msv.datatype.xsd.regex.RegularExpression.<init>(RegularExpres
    sion.java:3017)
    at com.sun.msv.datatype.xsd.PatternFacet.compileRegExps(PatternFacet.jav
    a:79)
    at com.sun.msv.datatype.xsd.PatternFacet.<init>(PatternFacet.java:67)
    at com.sun.msv.datatype.xsd.TypeIncubator.derive(TypeIncubator.java:261)
    at com.sun.tools.xjc.reader.xmlschema.DatatypeBuilder.restrictionSimpleT
    ype(DatatypeBuilder.java:82)
    at com.sun.xml.xsom.impl.RestrictionSimpleTypeImpl.apply(RestrictionSimp
    leTypeImpl.java:66)
    at com.sun.tools.xjc.reader.xmlschema.DatatypeBuilder.build(DatatypeBuil
    der.java:65)
    at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder.buildPrimitiveTy
    pe(SimpleTypeBuilder.java:161)
    at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder.access$100(Simpl
    eTypeBuilder.java:50)
    at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder$Functor.checkCon
    version(SimpleTypeBuilder.java:201)
    at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder$Functor.restrict
    ionSimpleType(SimpleTypeBuilder.java:276)
    at com.sun.xml.xsom.impl.RestrictionSimpleTypeImpl.apply(RestrictionSimp
    leTypeImpl.java:66)
    at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder.build(SimpleType
    Builder.java:93)
    at com.sun.tools.xjc.reader.xmlschema.cs.DefaultClassBinder.simpleType(D
    efaultClassBinder.java:130)
    at com.sun.xml.xsom.impl.SimpleTypeImpl.apply(SimpleTypeImpl.java:89)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector._bindToClass(Clas
    sSelector.java:212)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector.bindToType(ClassS
    elector.java:177)
    at com.sun.tools.xjc.reader.xmlschema.TypeBuilder.elementDeclFlat(TypeBu
    ilder.java:213)
    at com.sun.tools.xjc.reader.xmlschema.FieldBuilder.elementDecl(FieldBuil
    der.java:384)
    at com.sun.xml.xsom.impl.ElementDecl.apply(ElementDecl.java:174)
    at com.sun.tools.xjc.reader.xmlschema.FieldBuilder.build(FieldBuilder.ja
    va:76)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder$Builder.part
    icle(DefaultParticleBinder.java:399)
    at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.applyRecursively(BGMBui
    lder.java:490)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder$Builder.mode
    lGroup(DefaultParticleBinder.java:462)
    at com.sun.xml.xsom.impl.ModelGroupImpl.apply(ModelGroupImpl.java:80)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder$Builder.buil
    d(DefaultParticleBinder.java:368)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder$Builder.part
    icle(DefaultParticleBinder.java:433)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder$Builder.buil
    d(DefaultParticleBinder.java:371)
    at com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder.build(Defaul
    tParticleBinder.java:70)
    at com.sun.tools.xjc.reader.xmlschema.ct.FreshComplexTypeBuilder$1.parti
    cle(FreshComplexTypeBuilder.java:48)
    at com.sun.xml.xsom.impl.ParticleImpl.apply(ParticleImpl.java:68)
    at com.sun.tools.xjc.reader.xmlschema.ct.FreshComplexTypeBuilder.build(F
    reshComplexTypeBuilder.java:35)
    at com.sun.tools.xjc.reader.xmlschema.ct.ComplexTypeFieldBuilder.build(C
    omplexTypeFieldBuilder.java:56)
    at com.sun.tools.xjc.reader.xmlschema.FieldBuilder.complexType(FieldBuil
    der.java:228)
    at com.sun.xml.xsom.impl.ComplexTypeImpl.apply(ComplexTypeImpl.java:194)
    at com.sun.tools.xjc.reader.xmlschema.FieldBuilder.build(FieldBuilder.ja
    va:76)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector.build(ClassSelect
    or.java:340)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector.access$000(ClassS
    elector.java:54)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector$Binding.build(Cla
    ssSelector.java:107)
    at com.sun.tools.xjc.reader.xmlschema.cs.ClassSelector.executeTasks(Clas
    sSelector.java:240)
    at com.sun.tools.xjc.reader.xmlschema.BGMBuilder._build(BGMBuilder.java:
    118)
    at com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:8
    0)
    at com.sun.tools.xjc.GrammarLoader.annotateXMLSchema(GrammarLoader.java:
    424)
    at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:130)
    at com.sun.tools.xjc.GrammarLoader.load(GrammarLoader.java:79)
    at com.sun.tools.xjc.Driver.run(Driver.java:177)
    at com.sun.tools.xjc.Driver._main(Driver.java:80)
    at com.sun.tools.xjc.Driver.access$000(Driver.java:46)
    at com.sun.tools.xjc.Driver$1.run(Driver.java:60)

    Hi,
    A similar error occur to me twice.
    One because pattern specification error (The pattern was incorrectly written)
    The other one was because I had in the directory JAVA_HOME\jre\lib\endorsed the files that come from JWSDP_HOME\jaxb\lib.
    This files (jaxb-api.jar, jaxb-impl.jar, jaxb-libs.jar, jaxb-xjc.jar) should only be in the directory where they come from JWSDP_HOME\jaxb\lib
    If you have them in the JAVA_HOME\jre\lib\endorsed directory try removing them from there.
    Hope I help you.

  • Guidance on the structuring of Projects in OWB

    Dear all i am after some guidance / best practice for the use of projects within OWB and how best to structure to gain the best benifit within the warehouse environment.
    We have decided to apply a staging area becuase we pull data from around eight systems, we had also thought about creating projects that link back to business fuctions to aid in segregating data. Having looked at this further we feel that this could cause duplication of effort and a more complicated structure. What i am after is a bit of the lessons learned from others in how to approach this and pit falls to avoid so would be grateful from any advice you may have in this area.
    Regards Kevin

    I would point out that this strategy may depend a bit on your project.
    For example, we are on phase three of a loooooooong project that is slowly building up the enterprise warehouse as legacy (60s-era) Cobol systems are each being dragged kicking and screaming into the 21st century.
    Because of our need to balance ongoing development with support for what is deployed currently, we are creating each of our major releases as a separate project.
    This allows us to more easily do things like major rework of our standard libraries of common public transformations, rework of conformed dimmensions, etc without worrying about having to possibly hold up new development to revert to old common code in order to perform ongoing maintenance. It also made it easier to segregate support teams from new development teams without having to put in place too onerous a management oversight system to ensure that no-one steps on anyone elses toes.
    Then again, this project is definitely a special case from the security point of view....heck, most of the developers here will never even see live data due to security restrictions.
    Mike

  • Is there any way to sort songs in iTunes library between mp3 versions and m4a versions.  Any help/guidance would be appreciated.

    Is there any way to sort itunes library between m4a and mp3 versions of songs.  If there is, any instructions and guidance would be most appreciated.  Thanks in advance.

    Hey, here's an article I found. It might help:
    Converting your iTunes purchases to another format:
    http://support.apple.com/kb/HT1550

Maybe you are looking for

  • Help Rgd. BAPI for Creation of Inbound delivery Document

    Hi all, I need a Bapi to create inbound delivery document without using PO reference. I have seen the below BAPIs. i) BAPI_IBDLV_CREATE_FROM_OBDLV,  ii) BAPI_GOODSMVT_CREATE. I am not sure whether they are for creating inbound delivery document witho

  • MHDDK with Visa: event when DMA transfer complete?

    We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology). All I/O, both analog and digital simultaneously, is done using DM

  • Unlimited RT

    From what I understand, using Unlimited RT will allow playback of filters, though it may show dropped frames during playback. Can this affect my final exported video or will it only affect video being played back through the Canvas in FCP? Any other

  • Ultra 40 m2 stabilizer foot

    Hi, I have a -hopefully not too stupid- question about the sun ultra 40 m2: Why does it have an "stabilizer foot"??? This think leads to a very bad operating position for the harddiscs, as they are then not no longer horizontal but obviously in an of

  • Weblogic/jms/backend/BEMessageReference

    Hi , I have a severe OOM problem in production as my servers are crashing very often.. I have 32 GB unix box and I have put -Xmx 3072 -Xms 3072 as MEM_ARGS for Managed1 and Managed3 ... eventhen I am getting OOM ... Can anybody suggest me best MEM_AR