Xsd:element ref not working with jaxb

Hi,
I'm trying to implement a simple web service based on jax-ws.
My probem is that binding does not working when I use the <xsd:element ref="..."/> attribute in the schema description.
Here is the web service implementation :
@Stateless()
@WebService(
serviceName="AlarmBeanService",
targetNamespace="http://two.one.net/jws/alarm/",
endpointInterface="net.one.two.jws.alarm.AlarmBeanPortType")
public class AlarmBean implements AlarmBeanPortType {
public AlarmCreateOut persist(AlarmCreateIn in) {
return new AlarmCreateOut();
My AlarmCreateIn message is defined in AlarmCreateIn.xsd :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:c="http://two.one.net/jws/alarm/schema/common/"
targetNamespace="http://two.one.net/jws/alarm/schema/create/in/"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://two.one.net/jws/alarm/schema/common/" schemaLocation="../common/AlarmDataTypes.xsd"/>
<xsd:element name="AlarmCreateIn">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="c:alarm" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
This way it's not working, my "alarm" object in AlarmCreateIn is always null.
But it works if referencing my alarm object like in the following xsd :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:alarm="http://two.one.net/jws/ctypes/alarm/"
     targetNamespace="http://two.one.net/jws/alarm/schema/create/in/"
     elementFormDefault="unqualified"
     attributeFormDefault="unqualified">
     <xsd:import namespace="http://two.one.net/jws/ctypes/alarm/" schemaLocation="../../ctypes/alarm/Alarm.xsd" />
     <xsd:element name="AlarmCreateIn">
          <xsd:annotation>
               <xsd:documentation>
               </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
               <xsd:sequence>
                    <xsd:element name="alarm"      type="alarm:AlarmXsd"          minOccurs="0" />
               </xsd:sequence>
          </xsd:complexType>
     </xsd:element>
</xsd:schema>
Any ideas on what happen?
Thanks.
Edited by will_mad at 07/24/2007 10:15 AM

Most likely you chose the logical file instead of the correct file for the PSE editor. The one you can see, at the top level of the PSE 10 folder in Applications, is the welcome screen. The actual editor is hidden in the Support Files folder. You want this one:

Similar Messages

  • Why is elements 12 not working with OS 10  yosemite  Editing tools aren't working like they used to.????

    Can someone tell my why Elements 12 photo editing tools wont work with OS 10 Yosemite?

    duplicate, see:
    why is elements 12 not working with OS 10  yosemite  Editing tools aren't working like they used to.????

  • Photoshop Element 7 not working with Babylon 8

    I recently added Babylon 8 to my software.  I use it a lot as well as Elements 7 in my work.  Element 7 worked fine when I had Babylon 7 but when I upgraded to Babylon 8 Photoshop Element 7 stopped working.  Any ideas as to why and how to fix?

    You seem to have done most of the recommended troubleshooting procedures with FCP 7.
    All I can suggest is that you create a new User Account in System Preferences and try to install it under that.
    As you know, FCP 7 is now 4 years old (prehistoric in computer years) and was discontinued two years ago when Apple stopped supporting it, so there is little wonder that problems are arising with the latest OS, which can only get worse as the OS is updated.
    The alternatives are to move to something like Premiere Pro, if you  prefer a traditional interface/workflow or get Final Cut Pro X if you want to have cutting edge 21st. century technology supported by Apple.

  • Elements 12 not working with yosemite

    Is anyone else having issues with elements 12 working in the new yosemite upgrade? I can't move text or image boxes without the check/X boxes showing up, can't use eraser or lasso.

    Photoshop Elements doesn't respond when you use editing tools in Mac OS X 10.10

  • Why does Photoshop Elements 6 not work with Apple OSX version 10.9?

    I have recently updated my MacBook Pro and my Mac desk top to OSx version 10.9 and now Photoshop elements 6 does not respond.  It opens and then stays frozen.  Nothing responds.  Does anyone have any suggestions for how to fix this issue?

    Specifically, this:
    http://forums.adobe.com/message/5860819
    But it is also very important to delete any existing preferences after a major OS X upgrade. For PSE 6 that would be:
    com.adobe.Photoshop.Elements.plist
    Adobe Photoshop Elements 6 paths
    Adobe Photoshop Elements 6 settings
    They're in your username>library>preferences. Here's how to find it in 10.9:
    http://www.cultofmac.com/251544/mavericks-makes-it-way-easier-to-access-your-library-folde r-os-x-tips/

  • Uniqueness for xml element is not validated with the xsd:unique

    Hi
    I am using <xsd:unique> to specify uniqueness for certain elements in the schema. But when i create the xml for the schema,it allows me to create elements with duplicate values for which the uniqueness is defined and also it is allowed to parse the xml correctly.I am using jaxb2.0 and jaxp2.0 to bind the xml and parse it. The schema is described below :
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:include schemaLocation="ArtifactDetails.xsd" />
         <xsd:element name="EKMArtifacts">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Artifact" minOccurs="0" maxOccurs="unbounded">
                             <xsd:complexType>
                                  <xsd:sequence>
                                       <xsd:element name="ArtifactType" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="ArtifactName" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Status" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="VersionString" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Artifactdesc" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Functionaldesc" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Department" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Location" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Rated" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Category" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Createdby" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="OSPlatform" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="APPPlatform" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Country" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="State" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element name="Vendor" type="xsd:string" nillable="false" minOccurs="1" maxOccurs="1" />
                                       <xsd:element ref="ArtifactDetails" minOccurs="0" maxOccurs="1" />
                                  </xsd:sequence>
                             </xsd:complexType>
                        </xsd:element>
                   </xsd:sequence>
              </xsd:complexType>
              <xsd:unique name="ArtifactNameUnique">
                   <xsd:selector xpath="Artifact" />
                   <xsd:field xpath="ArtifactName" />
              </xsd:unique>
         </xsd:element>
    </xsd:schema>
    Can anyone help me out
    Thanks in advance

    Well there's nothing wrong with your schema (I copyied it into XMLSpy and wasn't able to create two artifacts with the same name). My guess is that JAXB still does not support xsd:unqiue
    http://www.onjava.com/pub/a/onjava/2004/12/15/jaxb.html

  • Adobe Photoshop Elements 12 does not work with Yosemite 10.10

    My Adobe Photoshop Elements 12 does not work with Yosemite 10.10 nor does my Premier Elements 12. When I try to start them up I get the error message. After uninstalling and reinstalling a few times its still the same. Strangely enough PSE 11 seem to work with Yosemite.  I uninstalled my Premier Elements as well and it behave the same way. How do I get a new copy of Premier Elements 12 to reinstall?

    Just to further test what is happening to my iMac on Yosemite is I downloaded the trial version of Photoshop CC and when I go to launch it it gives mr the same error message as when I try to launch PES 12 or Premier Elements 12. So whatever the problem is it involves all three and so upgrading to Photoshop CC doesn't even help.  Could there be an Adobe file damaged or missing somewhere that is common to these and yet does not effect Revel and Lightroom?

  • Photoshop elements trial version plugin not working with lightroom

    Hello,
    I just downloaded adobe photoshop element trial version.
    The plug-in is not working with my already installed Lightroom.
    Any idea what I need to do?
    Thanks!

    I can't edit in Elements either. May be trial version of Elements can not be linked to Lightroom. Any thoughts? 

  • Is their a fix for photoshop elements 11 move tool? Not working with Yosemite OS upgrade.

    Is their a fix for photoshop elements 11 move tool? Not working with Yosemite OS upgrade.

    Hi,
    We sincerely apologize for the problem customers are facing while using a trackpad with Photoshop Elements 11 & 12 on Mac OSX 10.10 (Yosemite).
    We have been actively working with Apple to resolve this problem as quickly as possible. We're hopeful this will get completely resolved in an upcoming update of Yosemite(MAC 10.10).
    In the meanwhile, you have two options to work around this problem:
    1. Option1: Use a mouse instead of the trackpad
    2. Option2: Install a plug-in which should workaround the problem
    Plug-in installation instructions:
    1. Close Photoshop Elements
    2. Download this zip file to a location you can easily find (e.g. your desktop)
    3. Unzip the file, WhiteWindowWorkaround.plugin, and move it to the Plug-In folder:
    • For Elements 12 – //Applications/Adobe Photoshop Elements 12/Support Files/Plug-Ins/
    • For Elements 11 - //Applications/Adobe Photoshop Elements 11/Support Files/Plug-Ins/
    You can verify the plug-in is installed by launching the Photoshop Elements Editor and choosing Help > System Info... Scroll to the bottom of the text in the dialog and look for the plug-in name "WhiteWindowWorkaround.plugin".
    Note: This plugin is a temporary workaround and should be used until this issue is addressed in Mac OSX 10.10 (Yosemite). Please remove this plugin once the issue is officially resolved by Apple.
    If you are using a stylus in conjunction with a trackpad, you might see issues with your trackpad. Workaround in this particular case is to use mouse instead of the trackpad.
    Hope this helps!
    Regards,
    vaishali

  • Elements 10 canvas not working with tiff images; works fine with jpegs. What to do?

    Elements 10 canvas not working with tiff images; works fine with jpegs. What to do? It does not allow me to add a colored canvas, only a blank canvas.

    Perhaps some of the tiffs are already layers.
    In other words, since jpegs don't support layers, they all ways open with one locked background layer, but the tiff format does
    support layers so the tiffs don't have to have a locked background layer and can already be a regular layer that supports transparency.
    For the tiffs you could add a new color fill layer below and use the color you want the enlarged canvas to be.
    On pse 10 look at the bottom of the layers panel for the new adjustment of fill layer icon

  • Why is my adobe photoshop elements 12 not working. it says initializing and then it says there is an error and closes itself

    why is my adobe photoshop elements 12 not working. it says initializing then error and shuts itself down.

    Three things you can try:
    1. Clean the superdrive with a proprietory CD/DVD lens cleaner that uses tiny brushes.
    2. Perform an SMC reset:
    Resetting the SMC (System Management Controller) on Intel-based Macs:
    http://support.apple.com/kb/ht3964  and
    http://support.apple.com/kb/HT1237?viewlocale=en_US
    Resetting your Mac's PRAM and NVRAM:
    http://support.apple.com/kb/ht1379
    If you are using a Wireless Keyboard:
    http://support.apple.com/kb/TS3273
    3. Try the free DVD player VLC:
    http://www.videolan.org/vlc/
    which performs better than the built-in DVD Player.

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

  • Safari not working with Yosemite- incompatible with google search too

    Ever since I upgraded my macbook pro, Safari has been slow.  In the past 2 days, it's more than slow - it's impossible.  I am able to get to pages I have bookmarked or get to links in email documents - but every time I try to do a search using the search bar in Safari, it hangs.  Sometimes I get a list of possible websites (after a few minutes) but if I click on any of those, Safari just hangs there and won't go.  I even had to use Chrome in order to generate this question in the discussion groups. Does anyone have any suggestions other than using an alternate browser.   Is it possible that google and Safari on Yosemite are incompatible? I did try using the "Develop" menubar option and chose DuckDuckgo as the search tool and it worked a bit better.
    This is now the 2nd big issue I've had with Yosemite -- it totally would not work with my Adobe Photoshop Elements program -- I spent hours on the Adobe forums and discovered that 100s of others were also having issues.  It turned out to be a problem with Yosemite and the trackpad.  Adobe finally came up with a temporary plugin that allows Elements (and other Adobe programs) to run.
    Suggesions on Safari other than ditching it and using Chrome?

    Try a Safari reset.
    Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. Then try Safari/History/Show History and delete all history items.  Quit/reopen Safari and test. You can also try try Safari/Clear History and Web Site Data. The down side is it clears all cookies.Doing this may cause some sites to no longer recognize your computer as one that has visited the web site.

  • SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP stack only

    SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP Stack
    Dear Portal Gurus,
    we want to integrate SAP BW Bex Queries 7.3 into an Enterprise Portal 7.3 EP ABAP Stack only installation.
    1) We have Done SSO between EP And BI System
    2) System Object is Created
    3) When we trying to create Iview of BEX 7.3 report, its executing that report on BI server, we don't have java stack on BI System
    4) We have updated the required table in Bi system for executing the report on EP
    5) RFC is OK, System Object Test is OK, Report is working independently from Business Explorer, but not working from EP
    There no irj services available on BI system, as it is only ABAP stack.
    Can anybody help us in achieving our requirement
    Thanks in advance
    Michael Wecker

    Hi Michael,
    To integrate portal with BI you need to perform BI Portal integration steps.
    Refer to a document link below for guidance purpose.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?overridelayout=t…
    Ensure that you have performed all these relevant steps.
    Hope this helps.
    Regards,
    Deepak Kori

  • StarTech Adapter not working with Dell Inspiron 15, model 3521

    Side Note: I wrote a reply to a thread that was from 2013. I do apologize because the link was sent to me by my bf and I did not realize how old it was. Since my reply has to be approved I can't delete it.
    Current Issue: StarTech Adapter not working with Dell Inspiron 15 model 3521 
    I bought my Dell laptop last year and at first I did not realize that it had only one audio jack (combo, as the specifications manual says), I only noticed when I was trying to plug in my Ozone Rage ST headset.
    I searched online threads and found out that I needed an adapter and most people mentioned Headset Buddy. I couldn't find any adapters for sale in my country (or employees didn't really know what I was talking about) and since Headset Buddy is a bit expensive, I decided to try StarTech Headset adapter for headsets with separate headphone/microphone plugs - 3.5mm 4 position to 2x 3 position 3.5mm M/F www.amazon.com/.../ref=cm_cr_pr_product_top.
    It arrived today and let me tell you that I can't make it work. I can hear everything but I can't get the external mic to work or even be detected. I have always used my headset (mostly for gaming) and I prefer to use my external mic rather than the internal one. First I connected my headphone and mic jacks to the adapter and only after that did I connect it to the laptop combo jack. I also tried vice-versa. It didn't work, regardless of the order. I even tried with a different headset and it still didn't work. What else can I do?
    I have also found a thread on Dell forums saying that Headset Buddy doesn't even work on Dell Inspiron 15, model 3521. So since it doesn't work and I'm assuming StarTech doesn't, either, what am I to do/buy?! I am getting extremely frustrated and I'm very disappointed with Dell because the brand should have included with the laptop a proper working adapter for these situations and not make its customers buy an extra accessory to make whatever working gear they already had function. It just doesn't make sense to me! Either make the changes work properly or simply don't touch anything. I spent some of my savings on this laptop which, overall, is great but now I am being forced to spend more on an item to allow me to use my headset. I am running out of options here and even Dell can't seem to tell its customers with 100% certainty what really works for this specific model. 
    If I can't make the adapter work, I just hope I can return it, otherwise I'll end up with no refund and with a piece of equipment I have no other use for! 
    Any thoughts?

    Hi,
    Thanks for your reply.
    This is the first time I was forced to buy adapters such as these so I don't know if I'm doing something wrong or if there's anything else I can do to make it work. When I plug the adapter to my Dell, the laptop presents me with several options such as: headphones, headphone, speakers, skull candy headphones, etc (maybe some may have different names but since I see them in Portuguese, I'm not quite sure how they appear for someone who has the computer in English), I have picked different options and it still doesn't work, the only noticeable changes are sound quality related, I guess.

Maybe you are looking for

  • Table for Profit center report grp

    Dear Sapgurs, in this t code GR55 system it showing list of Profit center report grps, can u please tell me what is the table for Table for Profit center report grp and how to create new profit center report group, Once we will click on F1 system it

  • Date after 3 years...function module needed

    Hi i need to find the date after 3 years from today. please let me know how (function module or class) to do this. thanks

  • Re-install PSE12 on a new computer

    Hi everybody, I've recently bought PSE12. It is installed on both my computer at home and on my laptop. If I change one of my computer how can I do to re-install it? Thanks for your reply.

  • Update Terminated Error in Va01-Help Appreciated

    Hi ,     When I create Sales Order in Va01  for order type ZCS,ZCD, and when i try to view that in Va02- It gives "UPDATE Terminated " from author . I have already posted this in sdn before and i got the solution to check in ST22. I have found the FM

  • Pivot Some of The Columns to Rows

    Hi, I need to pivot some of the columns to rows and have the remaining columns in the result. At this point I have already done a subquery to gather data and to keep the run time down I'd rather not do it again like a UNION would require. Single Row