JAXB - binding several schemas at once

If I have 4 schemas, each one including/chaining another (except the base schema of course). I want to bind all of them. I tried just puting all the schema names in the bind command but i get errors stating that 'class/interface with the same name is already in use'. If I do each individually I also get the same errors. How can I resolve this?

Actually more like this from the cmd prompt:
%JAXB_HOME%/bin/xjc.bat -p mypackage A.xsd B.xsd C.xsd D.xsd -d src
Its not that it doesn't work but that it produces naming conflict errors. I just found something on google that might help me out though. Thanks

Similar Messages

  • Can't create a JAXB binding for ejb-jar.xml using xjc

    Hi all,
    I have been trying to build a JAXB binding for EJB deployment descriptors, mainly because I have to update a hand-cranked ejb-jar.xml file on the fly with some additions that have come from a code generator.
    I have tried to use
    xjc ejb-jar_2_1.xsd j2ee_1_4.xsd ejb-jar_2_1.xsd
    xjc on the schema definitions I found at http://java.sun.com/xml/ns/j2ee/ but I can't get it to work. It produces reams of errors, see below for a short extract.
    Of course, someone could put me out of my misery and tell me where to find a binding that someone else has done. I can't be the first chimp on the planet that has wanted to do this!
    Any help much appreciated.
    errors:
    [WARNING] warning: "blockDefault" attribute of <schema> is not supported
    line 3 of xml.xsd
    [WARNING] warning: "finalDefault" attribute of <schema> is not supported
    line 3 of xml.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 117 of j2ee_web_services_client_1_1.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 115 of ejb-jar_2_1.xsd
    [WARNING] warning: <keyref> identity constraint will be ignored by JAXB validation
    line 129 of ejb-jar_2_1.xsd
    [WARNING] warning: <key> identity constraint will be ignored by JAXB validation
    line 145 of ejb-jar_2_1.xsd
    [WARNING] warning: <keyref> identity constraint will be ignored by JAXB validation
    line 159 of ejb-jar_2_1.xsd

    Exception initializing 'oracle.dbtools.raptor.MonitorJDBCAddin' in extension 'Oracle SQL Developer': oracle.classloader.
    util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.jdbc.OracleDriverThe Oracle driver is not on the classpath.

  • Is there a way to import several tracks at once from my Boss BR8 so that they show up as separate tracks in GarageBand?

    Is there a way to import several tracks at once from my Boss BR8 so that they show up as separate tracks in GarageBand?

    I had to google your device - looks like it's a vintage multi-track recorder that records to Zip disks. So I guess there's no digital USB or Firewire multichannel output and no way to transfer your tracks digitally - or is there? If not, your only option is to record the device's audio track by track into GB.

  • Several photos at once

    A simple question for those of you who do these: 1) How do I display several images at once on the screen -- minimize each piece so they can all fit on the screen? 2) I'm putting together a series and need the colors of one image to match the same color on the other images (which is why I want to line them up in #1). To do this, I've tried using the eyedropper to sample, then drop the color into the other images: I've also tried reading the numeric number for a color, then copy the same color on another image. I'm not having much luck, though it could be due to my ineptness. (Note: The images are already made. Right now I'm just trying to tweak the colors so they match.) Any ideas on either 1 or 2? Thanks.

    Hi There,
    1. Window > Arrange > Tile, You can also match the zoom across open Window Arrange > Match Zoom
    2. A couple of options I'm going to suggest, depends on the result you are after
    a. You could make images Monotone?
    First make the images Grayscale, Image > Mode > Grayscale
    Then Duotone Image > Mode > Duotone
    Just use one ink for Montone, you can then change back to CMYK/RGB to avoid having spot colours
    b. Image > Adjustments > Match color... Here you can choose the target file that you are trying to match. A much more subtle match of tones and colors.
    Paul

  • How best to retroactively bind a schema with a developed form

    Hello all,
    I am having a big problem.  This is the first time we have developed an e-form with Adobe LiveCycle.  I discovered only too late that best practice is to produce a schema for a form before development.  However we were also told that you can retroactively bind a schema by creating a data connection and drag and dropping nodes onto the corresponding fields.  In this way I have bound nodes to one subform and left the rest of the form unbound. When trying to load xml that has been generated by this form back into the form we get the following error messages:
    "Wrong type parameter supplied to a PDS procedure"
    "There was a problem reading this document"
    We just get a blank screen in the browser.
    I have run a test with a brand new form with a data connection to the same schema and all of the fields auto generated.  Reloading this form with XML generated from the form works fine.  The problem seems to lie with the fact I am trying to bind to my large and heavily developed form.
    Have you guys ever come across similar problems?
    The developed form hierarchy is quite different to the structure of the xml generated by the form against the schema definition.  I have assumed that this does not matter as the hierarchy is not considered when there is a data connection.  Is this correct?
    Redeveloping the form is not an option at this stage so I will be very grateful for assistance.
    Best wishes,
    Kieran Kelly

    As  you mentioned the best practice is to have the schema ready before the development. But you can still bind a schema to the form after development.
    I think since you did not bind all the fields in the form to the schema, it is not giving you back the proper XML structure expected. It will only give you the tags that are bound to the fields.
    If you still have issues, you can upload the document I can have a look at it..
    Steps to upload the document
    1) goto acrobat.com website
    2) login with your Adobe login/password.
    3) In Actions you will find Upload. Select your form and upload.
    4) After uploading, select form name in All Files section and right click and select share.
    5) Check the checkbox "Allow anyone with a link to view this document".
    6) Copy the URL link and post it in the forum.
    Thanks
    Srini

  • Printing several documents at once

    Hello,
    We are looking for a possibility to print out several originals at once (mass print). The originals might belong to several DIRs. I know that there are external solutions available (e.g. from SEAL Systems). But my question is wheather there are SAP solutions available for this requirement. I can think of printing from CV04N result list, printing from EasyDMS (printing complete EasyDMS folder), printing from CAD-Desktop (CDESK) or from Web Documents. But in SAP Standard (ECC 6.0) you can alway just print one original at a time. I really appreciate any information!
    Thank you!
    Best regards
    Matthias Beer
    SAP Business Applications
    Villeroy & Boch

    (haven't done this myself, but someone else here says it works...)
    Create a desktop printer for the HP - using Printer Setup Utility in the Printers menu.
    Drag and drop your docs on the desktop printer.
    Please let us know about your success with this.

  • Deleting several Books at once ?

    Does anyone know if it's possible to delete several books at once, not just one at a time. I tried highlighting several and clicking "Delete" ....doesn't work.

    thanks TD...so i have another question...do you know why sometimes if i click on a picture at the end of a row, the whole row gets highlighted and other times only the one picture gets highlighted....and then sometimes, some of the pictures i click on get unhighlighted and i have to start over...it seems to have a mind of its own, but i am sure there is some logical explanation?
    cheers

  • Delete several episodes at once

    Ugh! How do I delete several episodes at once with this new stoopid guide? Hey verizon: KISS (keep it simple stupid)....

    C-fifi-go wrote:
    Ugh! How do I delete several episodes at once with this new stoopid guide? Hey verizon: KISS (keep it simple stupid)....
    With the show folder higlighted, press the options button.  It will give you the option to play, delete, etc.

  • How do I replace a component in several BOMs at once?

    I need to replace an item that appears in several BOMs. Rather than go into each BOM separately and remove the old component and then go back in and add the replacement component, is there a way to find and replace several (all) at once?

    You have fist to create a Change type :
    Bill of materials > Setup > Change types
    Open the BOM Mass update form, enter the Change type , enter the selection criteria for the Assemblies.
    In the Changes window, select the Change type 'Update'. On the first line (Update), enter the Component to change. On the second line (New), enter the new component.If necessary, enter component information.
    On the main screen, select Report and submit : will display all the changes that will be performed.
    Select Implement and submit : will apply the changes.

  • Hi tried to update several apps at once no they are stuck on installing.i can't delete them or open them.any suggestions?

    Hi tried to update several apps at once and now they are stuck on installing.I can't open or delete them. Any suggestions ?

    Here are a number of things that have worked in the past that you can try. If you already tried something in here, just ignore it.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Cannot make several changes at once

    Hi,
    I have Contribute installed onto a computer and i am able to connect to the server via FTP.
    When I edit 1 thing on the website and go to draft and publish it will upload the change i have made and it is visible on the website, but when i make several changes at once then go to draft and publish then it says it cannot access the FTP server.
    Does anyone know how to fix this? or hae had similar issues?
    cheers,
    Phil.

    did not work. it's doing the same thing. the password does not contain any invalid keys
    live chat does not support the BEFW11S4 version2. they told me to call 800-326-7114 for help
    and the wireless functionality is working. i can connect to my network with my laptop. I just can't change anything on the configuration page (192.168.1.1) because it never recognizes my password except to login to the page.
    Message Edited by lefty on 09-08-2007 11:54 AM

  • PLD - print several documents at once

    Hi.
    Can anyone tell me if it's possible to print several documents at once in SAP B1 2007A.
    When creating sales order, I would like to print both order confirmation and a second document used as pick list.
    Thanks and regards, Runar.

    I do not believe that it is possible to print two different layouts at once except for special cases such as printing batch information along with a marketing document. You will see these special cases in Print Preferences.
    The usual techniques for printing two documents from one layout are:
    1. Repeat the repetitive area etc.
    OR
    2. Specify two copies of the layout.
    In both cases, you would use formula fields that would react to which print you were producing. For example, printing a different page heading on copy 1 and copy 2.
    Regards,
    Douglas

  • Mark several images at once with one or more stars

    howdy,
    using aperture 3 and am mostly happy with it (except a nasty import bug). however, a question about marking images with * to *** stars:
    if I select several images at once within the aperture browser, is there a way to mark those images with a * star rating alltogether?
    maybe I am to dumb, but if I select a couple of images, this is not possible. I have to move to every image with the cursor key, mark it with * star and then to the next.
    did I oversee something?
    thx

    There are many reasons that "Primary only" is an option. Often you want to have multiple photos selected, but apply changes to only one of them.
    A read of the documentation or a good tutorial book would elicit some helpful workflow advice for Aperture, if you'd care to invest the time

  • Can i make a group email list so i can email several people at once

    how can i make a group email list so i can email several people at once instead of one at a time from my iphone 4

    Here is a link to our MailShot Pro app, which leftyapple2 was kind enough to mention (Thanks). MailShot Pro in App Store
    MailShot creates a special contact for your group that enables most of the apps on your device to send group email, including the Mail app itself. Just add the contact to the "To" or "Bcc" line of your email using the blue + button
    Any questions or problems, please get in touch with our support email on "support at solubleapps.com", we are always happy to help.
    Peter
    SolubleApps
    Disclosure: we are the developers of MailShot Pro and may benefit from its sale.

  • Binding XML Schema to Repeating Elements - What am I doing wrong?

    I managed to successfully bind a schema to a basic form and aside from some Reader Enabled issues it works as expected.
    My next project is to do the same but with a form that features repeating subforms.
    I have written my schema and validated and all seems well.  When I bind it to the form though it makes certain fields behave in an odd way.
    The form is made up of three sections.  The first is a single subform of non repeating fields.  Parts Two is a table with repeating rows and Part Three is a collection of fields with an Add/Delete button using the instance manager script.
    When I bind these fields and add rows I get strange results.  In Part Two pressing the Add button copies the entire row rather than creating a new one.  Changing the value of one row changes the others.
    In Part Three I can create entirely new subforms using the Add button but the this.parent.index +1; script stops working.
    Does anyone know why this might be happening and how I can resolve it?
    The schema is below:
    <xsd:element name = "RemoteWorking">
    <xsd:complexType>
      <xsd:sequence>
       <xsd:element name = "PartZero">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name = "RequireAddHardWare" />
          <xsd:element name = "RequireRemoteWork" />
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
       <xsd:element name = "PartOne">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name = "Surname" />
          <xsd:element name = "FirstName" />
          <xsd:element name = "UserName" />
          <xsd:element name = "JobTitle" />
          <xsd:element name = "Role" />
          <xsd:element name = "LineManager" />
          <xsd:element name = "Directorate" />
          <xsd:element name = "PersonnelCategory" />
          <xsd:element name = "CONumber" />
          <xsd:element name = "TelephoneNumber" />
          <xsd:element name = "BuildingCode" />
          <xsd:element name = "RoomNumber" />
          <xsd:element name = "WorkingHours" />
          <xsd:element name = "AltContact" />
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
       <xsd:element name = "PartTwo" maxOccurs = "unbounded">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name = "AdditionalHardware" maxOccurs = "unbounded" />
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
       <xsd:element name = "PartThree" maxOccurs = "unbounded">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name = "ItemRequired" />
          <xsd:element name = "UserAccountName" />
          <xsd:element name = "CostCentre" />
          <xsd:element name = "BusinessCase" />
          <xsd:element name = "Device" />
         </xsd:sequence>
         <xsd:attribute name="ItemNo" type="xsd:integer" use="required"/>
        </xsd:complexType>
       </xsd:element>
       <xsd:element name = "PartFour">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name = "Unite" />
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

    The binding expressions needs to indicate that you can have more than one PartTwo section. To accomplish this you will need to add a [*] to the binding expressions that use teh PartTwo node. If you want to keep it simply, bind the subform that holds th information for PartTwo to the PartTwo node, then add the [*] to the end of the expression. Then al children of that node will get expressions like $.Name of the Node that it is referencing.
    Hope that helps
    Paul

Maybe you are looking for

  • How do clients connect to the farm in 2012r2?

    Hi, i am currently rolling out a 2012r2 rds deployment. I have a highly available Connection broker across two servers. I have a web and gateways defined across two more servers. I have a number of session hosts waiting to be configured. In various c

  • Apple sees my iPhone as my husbands

    My husband & I updated our phones recently to iPhone 4s. My phone will not let me update my apps ( it asks for my husbands password when I try to update), it shows all of my bookmarks as being my husbands (none of mine even show up), and it keeps ask

  • Using the Java APIs

    I am attempting to use the java api in my reporting solution. The application that we are developing is using JSF and java. I wanted to keep the same look and feel for my reports. First, I created a very simple rtf template in Microsoft word using BI

  • With ios7 how do you get cumulative cellular usage

    When I updated I lost the ability to track my cumulative data usage on cellular.  How do I get it back?

  • My Mac desktop will not reboot?

    I shut down my iMac and it will not reboot correctly.  I power it on and it will sit for hours with the apple logo in the middle of the screen with the small rotating circle underneath which makes it look like it is thinking.