JAXB generation and XSD choice serious issue

Helo,
Im developing a webservice that uses XSD Choice structure. Unfortunately, this must to done with choice because doesnt make sense using sequences this case.
Ill explain bug using this link:
http://bdoughan.blogspot.com/2011/04/xml-schema-to-java-xsd-choice.html#comment-form
this is exactly same problem as me, JAXB in jdeveloper are generating anotations wrong! I cant map the sequence choice to webservice, that is developed from WSDL...
So, I need some help there, I really need develop this webservice using xsd:choice and cant be done in jdeveloper and dont know why.
I tried put the anotations like this URL but when I call the service, choice element on request was null!
thanks

Hi, i dont know why but when I use JAXB to generate a sample XMl I got this output:
<guiaRequest xmlns="http://www.myservices.gov.br/mensagem/integracaobancaria/guia">
<parametrosConsultaGuia>
<guiaNormalRequest>
<codigoEntidade>B83C15C173633890E0330A67021B3890</codigoEntidade>
<codigoPorte>6</codigoPorte>
<codigoAssunto>148</codigoAssunto>
<numeroTransacaoInternet>267472003</numeroTransacaoInternet>
</guiaNormalRequest>
</parametrosConsultaGuia>
</guiaRequest>
This is correct to my webservice, BUT, when I invoque webservice with xsd:choice I got this request (i see that on enterprise manager) :
<message>
<properties>
<property name="tracking.compositeInstanceId" value="80367" />
<property name="tracking.ecid" value="0000J1pyNtnBDC^5lVg8yZ1DtZWJ002D4z" />
<property name="transport.http.remoteAddress" value="10.106.14.162" />
</properties>
<parts>
<part name="request" >
<ns2:guiaNormalRequest>
<ns2:codigoEntidade>B83C15C173633890E0330A67021B3890</ns2:codigoEntidade>
<ns2:codigoPorte>6</ns2:codigoPorte>
<ns2:codigoAssunto>148</ns2:codigoAssunto>
<ns2:numeroTransacaoInternet>267472003</ns2:numeroTransacaoInternet>
</ns2:guiaNormalRequest>
</part>
</parts>
</message>
This is wrong! see the structure is not correct.

Similar Messages

  • Yoga 13 Bluetooth (and Wi-Fi) serious issues

    Yoga 13 Bad Wi-Fi and Bluetooth – almost giving up (and giving back)
    I have purchased the Yoga 13 a week ago, and everything was fine. EXCEPT, I experienced problems to connect to the public Wi-Fi. I get  5 seconds of Wi-Fi connected, and then 5 seconds of "limited connection", and again "connected" for 5 sec., "limited" for 5 sec., and so on. I convinced myself it was because of the large number of people connected at the place I have been at. But now I am sitting here, with just a few people, and it seems they are all connected well, and only I get the 5 seconds cycle.  
    But it wasn't for this issue that I started to feel frustrated with my 1 week old Lenovo Yoga. It's the Bluetooth issue that really bothers me. I am trying to use Microsoft Notebook Bluetooth 5000 mouse. I have to use it, since I have to use both USBs for other devices. At first it worked fine. Just the random disconnections everyone on the net are talking about. I tried everything: I set the power management of the realtek  rtl8723A chip so it won't be able to turn off the BT. I also set the BT to automatically search for devices under services.msc management, which supposed to help reconnection after sleep. Each time it seemed like the problem was solved, until the next time it randomly disconnected.
    So I have updated my machine. First, I've updated the BIOS from CN52 to CN55. I don't know if it's relevant, but I mention it anyway. Them I've updated the realtek drivers, according to the recommendations I found in Lenovo support forums. Things only got worse.
    Now the PC either (1) can't recognize the mouse at all, although it recognizes my cell phone, and my cell phone recognizes the mouse; (2) or it recognizes the mouse, and then asks me to pair with the mouse using a code (!!) as if the mouse is some kind of a laptop. Even then, if I press Next (using 0000 or 1234 as a code results with nothing), the PC starts some driver installation, calling the mouse HID compliant, and usually the process terminates itself before it finished. Only once for a dozens of attempts, does the PC recognize the mouse properly, installs it and the mouse works – only it became incredibly laggy, barely usable. It is hard to believe it worked fine from the beginning, and any update just made it less usable.
    Now, trying to downgrade the Realtek driver results with the same problems. I tried various versions of this driver – no success. I also made a system restore once, to get back to the point before updates, but the same result: no mouse recognition / all sorts of problems I mentioned above.
    I am frustrated. I bought this computer for an urgent work, and already spent 5 or 6 hours just to make it work, and still no success. I am just a moment from giving up. Any ideas?
    [*pardon my English]

    I forgot to mention I used a fresh pair of batteries for the mouse (rules out simple solutions).

  • Refine edge and edge detection serious issues, getting blurred and lots of contamination

    Hi guys :)
    a few months back I bought a grey background after being reccomended as being easier to do compositing, I was really pleased but now I have run into some big issues and was wondering if you could spare a few moments to help me out. so I've taken the image of my model on the grey background, the model has white blonde hair, simillar to this image here, http://ophelias-overdose.deviantart.com/gallery/?offset=192#/d393ia7.
    Now what I have been doing is using the quick select tool, then refine edge, when I get to refine edge that's when the issues start for me, when I'm trying to pick up the stray hairs around the model to bring them back into the picture, I'm finding that the hair,when it does come back into the picture is quite washed out and faded, and almost like it has been re painted by Photoshop CS 5 instead of being brought back into the picture, when I paint over the areas with the edge detection tool. Also, even if I check the decontaminate colour box, it doesn't make a blind bit of difference!!
    I'm on a bit of a deadline and am so alarmed I'm getting these issues with the grey background, how are these problems occurring?? can you please give me some idea, I would be really greatful. I have been you tubing, and going over tutorials and reading books to NO avail :(
    I just keep getting this issue, even when I have tried editing a test picture from a google search of a model with brown hair! Still getting this issue.
    this tool is supposed to be amazing, I'm not expecting amazing but I'm atleast expecting it to not look like a bad blurred paint job, with contamination.
    really greatful, thanks :)
    M

    Hi Noel,
    Thank you for the reply. I have attached some screen shots for you.
    Im working with high resolution photos in NEF, I am trying to put the model into a darker background but i havent even got that far as I cant even cut her out.
    Decontaminate doesnt seem to be working at all to be honest, it makes little difference when i check that box.
    Im getting nothing close to the image of the Lion, thats brilliant!
    This is the original image taken on a Calumet grey backdrop
    And this is what I keep getting results wise, see around the hair there is still rather a lot of grey contamination and the hair literlly looks painted and smudged.

  • Day 3 on Mavericks and still having serious issues with the finder it simply is not working correctly. we have over 1000 files all stored using a number. When searching nothing comes up at all.

    3 Days using Maveriks and still cant find any files using our number system.
    I have tried searching using key words and job numbers but nothing is found or works !!
    Its a big problem
    Steve.

    Hi haha fresh tees,
    Thanks for visiting Apple Support Communities.
    If you're searching in Finder or Spotlight and don't get the results you expect, try reindexing your hard drive using these steps:
    Spotlight: How to re-index folders or volumes
    http://support.apple.com/kb/ht2409
    From the Apple () menu, choose System Preferences.
    Click Spotlight.
    Click the Privacy tab.
    Drag a folder or an entire volume (your hard drive) to the list.
    If prompted for confirmation, click OK.
    Remove the item or volume you just added to the list by clicking it and then clicking the minus ("-") button.
    Close Spotlight preferences.
    Spotlight will re-index the contents of the folder or volume.
    Cheers,
    Jeremy

  • I am having some serious issues with firefox, i can't print anything because it is stuck on fax and I can't use any of the drop down menus on any site

    I am having some serious issues with firefox to the point of choosing another search engine. I can't print anything because it is stuck on fax and won't let me change it to my printer when i do try to select my printer it jumps right back to fax. The drop down menus do not work on any of the sites I go to. For example when purchasing clothes and you have to choose a size from a drop down menu I can't do it when I click on the drop down menu it doesn't work at all. I don't have a virus I ran my virus protector and no viruses are present. I don't have any suspicious issues going on with my computer so there has to be something in Firefox that is causing my issues. I tried internet explorer and I don't have any issues there. I hope you can help me because I love Firefox and would really like to continue to use it.

    Lots of issues there, main one getting fcpx going again, try deleting the preferences using the utility deveoped by these guys.
    http://www.digitalrebellion.com
    Try deleting your render files and re-rendering the project.
    Start with these and let us know how you go.
    Tony

  • I recently purchased the new nano (7th generation) and I love it except for one issue.  On my old 2nd generation nano, when I played podcasts, it would play podcasts one at a time. So if I had 20 episodes of a podcast on the device, it would stop at the e

    I recently purchased the new nano (7th generation) and I love it except for one issue.  On my old 2nd generation nano, when I played podcasts, it would play podcasts one at a time. So if I had 20 episodes of a podcast on the device, it would stop at the end of each one.
    With the new nano, I can select and play a podcast, but when it’s over, it goes straight to the next one without prompting.  It keeps on playing all of the episodes of any podcast until you stop it manually.  Setting the repeat function differently does not prevent episodes from being played automatically.
    This can be very irritating when I only want to listen to one podcast.  I’ve often fallen asleep listening to one episode of a podcast, only to be woken up hours later by the iPod working its way through all subsequent episodes.  It is also annoying that any podcast which has started automatically in this way is marked as ‘played’ – even if you stop it within a few seconds.  This makes it hard to keep track of what you have actually listened to.
    Is there any way to set the iPod to play all the podcasts individually? I have read the User Guide from cover to cover, and can’t find a way of doing this.
    MD

    Dude or hot-spur,
    Not fishy at all!!!! You really think I would have taken any more of my time to post a bogus rant? We'll no, it is unfortunately all true. I want to hear from anyone who is experiencing such problems not anyone else that wants to put there two cents in. I really don't need anymore hate or negativity. Just people's experiences because I feel like I am the only one having so many problems. Thank you
    Yes, I have had some unfortunate bad luck to have so many problems at the same time, but some of them are just things you cannot do on the new OS.
    Thank you again

  • I think there is a bug in safari......Whenever i swipe my fingers for going to the previous page on safari the tabs open get hanged up and i have to restart safari.This is a serious issue.!

    Serious issue.....

    Might be a Safari extension issue...
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • HT201401 I am writing to bring to your attention a serious issue I had with your product. My brother  bought one iPhone 4, 16 gb mobile phone from US last year and gifted me in India. but it couldnt be serviced in India why ?

    Hi,
    I am writing to bring to your attention a serious issue I had with your product. My brother  bought one iPhone 4, 16 gb mobile phone from US last year and gifted me in India. In few months it had a problem with its home key. I took the phone to service service center and they told me that your phone is having hardware problem and as the phone is under warranty cannot be replace in India. You can come back when this is out of warranty. Now few days back when i walk again to the service center they stated that this phone we cannot repair here in India because of this phone purchased from US. 
    This a total disgraceful service from such a big brand like apple.
    I hope to hear back from you about this incident.
    Sincerely,
    Niranjan
    <Personal Information Edited by Host>

    No iPhone has a international warranty. Warranty is valid only in
    country of original purchase. Since iPhone was bought in the US,
    you must return the iPhone to the US. That means you must personally bring
    the iPhone to Apple in the US or send it to a friend/relative in the US for them
    to take to Apple. After replacement, your friend can ship it back to you. Shipping
    and insurance costs are your responsibility.
    Apple does not accept international shipments for evaluation/repair
    and will not ship replacements out of the country.

  • Serious issue with Mac OS X 10.6.4 and wireless networking

    Hello there, I'm having a serious issue with my TP-Link WP-8910G wireless router and Mac OS X 10.6.4 .
    Problems began some days ago. In short, after a certain period of time, my router drops the wireless connection out and, when I try to re-establish it, if a very short period of time has passed after disconnection Airport detects the wireless network and returns "connection timeout". If I wait more, no wireless connection is detected, and I have to reset the router and re-connect Airport. This is very annoying.
    How can I solve this issue?

    Have you verified that the router is not the problem?

  • Xsd:choice and how to download the latest service pack?

    Hello -
    When i import my XSD, the completed XSD doesn't import. Found that the xsd:choice is preventing the complete XSD to load.
    So i found that the from the Administration part of the Integration Builder the Software build has the SP-Number as 10 but when i look at the SPAM i find that latest service packs have been applied which is 0016.
    Does anyone know how and from where to download the latest service pack for my problem?
    Thanks in advance,
    Tirumal

    Hi,
    here is a list what XSD features are supported (as of SP11)
    https://websmp204.sap-ag.de/~sapdownload/011000358700000595422005D/XSDandWSDL_XI30SP11.xls
    (if this link does not work, go to service.sap.com/xi ® Media Library ® Documentation: SAP XI 3.0 (SP11) – Supported XML Schema and WSDL (EN))
    Td download the latest Support Pack, go do
    http://service.sap.com/swdc
    regards,
    Peter

  • My iphone 4s has some serious issues. After clicking some youtube link, some apps, safari, settings and app store have been deleted. Please help.

    My iphone 4s has some serious issues. After clicking some youtube link, my photos, settings icon, app store icon and safari icon and many more apps have been deleted. My iphone is useless since last 4 weeks. I cant do anything without these missing apps. please help.

    If it was just my router then my own network would kick in wouldn't it?
    No.  Not even sure what you mean by that.  The phone is trying to access particular IP addresses on the internet, which don't exist on "my own network."
    plus all my internet items at home running on my wifi are doing fine
    No again.  The fact that your router works with other devices doesn't mean it's compatible with the iPhone.  Did you even try restarting and updating the router as suggested?

  • Serious issue related to activation/deactivation and reinstall

    Got a serious issue going one. I had deactivated my Premiere Pro CS6 install on my main system while I was traveling and activated the install on my laptop. When I returned, I deactivated the laptop and re-activated the main system again. Any AVCHD clips that were already there were recognized, but if I tried importing any new ones, I'd get the "Unsupported compression type" error. Realizing that this is usually an activation issue, I tried to deactivate so that I could reactivate, but the Deactivate selection was grayed out. So, I uninstalled and ran the clean up tool. Then re-installed from the Cloud and activated. I could then import new AVCHD media without the "Unsupported compression type" error, however, now the project I was working on opens, but nothing will play - neither in the Timeline or the Source Monitor. Hitting "Play" does nothing. I can move the CTI along the Timeline but the initial frame that is in the Program Monitor stays the same. Furthermore, when I try to Save, the program hangs, forcing me to end Premiere from the Task Manager.
    Now, after several time opening the project, all AVCHD(.MTS) media is offline, and cannot be imported due to the  "Unsupported compression type" error. I have all of the media files backed up to an external drive, so I copied some of the backed up verisons of the .MTS files over to my onboard media RAID, and still get the error. HOWEVER...when I link the offline clips to the backed up versions of the files on the external drive, they import correctly.  Keep in mind, this isn't happening with all projects, only one.
    Here's what I've tried as possible remedies...
    - Created an empty project and imported the working project into it - same thing happens in the new project
    - Created an empty project and imported individual sequences from the bad one. This works, however, one of the sequences in the bad version doesn't appear in the list of sequences when importing, providing a clue as to where the problem lies.
    - Trashed preferences
    - Cleaned Media Cache Database
    - Deleted all Previews
    I'm at an impasse. Any suggestions would be greatly appreciated.
    Steve Brame
    creative illusions Productions

    OK...looks like the issue is settled. I tried installing PPro from the Cloud to another machine. After install I noticed that Application Manager was showing that an update was available for PPro. Hadn't gotten any other noices about that down in the status bar like I usually do, just the entry inside App Manager. So I updated the new machine. Then opened the errant project, and it seemed to be working properly, so I saved it back out with a different filename and took it back over to the main editing machine. Same issue was still there. So, I checked Application Manager on the main system, and voila, there was the update notice. So, I installed the update, and the project works like a charm now.

  • Generation of .ecs file and .xsd file

    Hi,
    I am working on the Acme-GlobalChips tutorial Query using File 1.0 protocol.
    I have few question on that.
    While creating the Business actions and Trading partner IN B2B we use two 850.ecs and 850.xsd.Can these be used for all the trading partners or they are partner specific.If not then do we develop it using Document Editor.
    Moreover if after we create the .ecs using the tool can we generate the .xsd file using same tool.
    I have this doubt because I used the .ecs file provide with the tutorial and used EDI file provide by some other partner it worked.I mean I was able to generate the EDI-Xml as payload in reports section of B2B.
    Can some help me on this.
    Regards
    Lalit

    Hi Lalit,
    1. Yes. Different Trading partners can use the same Business action. However, you can also override the .ecs file and .xsd file as per your requirement.
    2. We can also generate .xsd files using the Document editor.
    Regards,
    Dheeraj

  • 997 generation with custom ecs and xsd

    I am able to generate the 997 using the default 997.ecs and 997.xsd. The generated X12 997 has 6 segments but we need to send only 4 segments. I have created a new ecs and xsd (deleted the two segments) using the spec builder. When I use this custom 997 document, it throws below error.
    Error Brief : Validator error - Extra data was encountered. Validator error - Extra data was encountered. Validator error - Extra data was encountered. The values are not equal.
    The XML payload shows data for the two segments that I have deleted from the ecs in specbuilder. I thought B2B would generate the xml payload based on the ecs and xsd.
    Is it possible to generate a customized 997 in B2B?
    Thanks
    Ismail M.

    Is it possible to generate a customized 997 in B2B?No, B2B may not auto-generate the customized 997. For customization cases, it is recommended to handle FA at middleware (SOA layer) or at back-end.
    Regards,
    Anuj

  • Generating JAXB classes from XSD

    I am generating java classes using JAXB binding from XSDs. I organized the classes into 2 packages say package1 and package2
    The XSD to create the package2 is dependent on package1. So I do an include package1.xsd in package2.xsd. With this I am running into an issue with JDeveloper while generating the classes. When I generate classes using package2.xsd, all package1.xsd classes are also generated in the same package. So, I have to manually delete these classes from package1.xsd and add import statements from package1 where required.
    Is there a solutiion/work around available for suppressing duplicate class generation? Any help would be greatly appreciated.

    Try here as well
    https://jaxb.dev.java.net/

Maybe you are looking for

  • How can I insert data from a cfloop?

    I have a query that outputs into a cfloop. What I need it to do is insert into an access database when the changes have been made. I have looked at several tutorials but they all offer different solutions than what I am looking for. My cflloop is: <c

  • What are the chances of me getting approved for financing for a Macbook with no credit at all?

    I don't have bad credit. I have no credit. I make an okay amount of money annually. Not bad for having no rent or bills over 50$ to pay for. I applied this morning for financing cause I need one for school and it said I'd get a letter in 7-10 days..

  • WRT54GL and Windows 7 log in issue

    I have a network of several PC's on my WRT54GL router - firmware 4.30.14 build 5, Oct. 26, 2009 All PC's are XP SP3 except one Win 7 PC When I access my WRT54GL from all of my XP computers, I log in once and I am done. I can access all the setup page

  • Where to find the logs for cronacle queues

    hi i m using redwood explorer 7.0.3 . Someboday had hold the cronacle queues . it was giving the message queues held by operator . But we don't know who held the queues. Can anbody tell where we can find the logs for these queues i.e who made changes

  • Issues starting ECC 6.0 instance after changing passwords everywhere

    Hello everyone. I've had this problem for 2 weeks now. I tried all the solutions i found on the web but still my problem persists. 2 weeks ago, I changed alle the passwords for the MaxDB Users (control, superdba, sap<sid>, etc) because we lost these