Problem about blank enumeration option in xsd

Hello,
I have xsd schema with an empty enumeration option.
I use this schema to generate webservice
When I test the service using the empty enumeration option, it throws
java.lang.ClassCastException
[java] at
abc.PeriodCTCodec.typedInvokeSetter(PeriodCTCodec.java:118)
[java] at abc.PeriodCTCodec.invokeSetter(PeriodCTCodec.java:74)
I try to modify the PeriodCTCodec to determine the ClassCastException
problem.
I have following result:
If I use blank enumeration option, the class is java.lang.String
If I use non-blank enumeration option, the class is abc.PeriodAreaCodeST.
What's wrong when I use blank enumeration option? Please help!!!!!!!!!!!
My modified PeriodCTCodec is also attached
My sample xsd file:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:complexType name="Period.CT">
<xsd:sequence>
<xsd:element name="Year" type="v4com:Period.AreaCode.ST"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Period.AreaCode.ST">
<xsd:restriction base="xsd:string">
<xsd:enumeration value=""/>
<xsd:enumeration value="A"/>
<xsd:enumeration value="B"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
The java exception:
[java]
<faultstring>Exception during processing:
java.lang.ClassCastException (see Fault Detail for
stacktrace)</faultstring>
<detail>
<bea_fault:stacktrace
xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">
java.lang.ClassCastException
[java] at
abc.PeriodCTCodec.typedInvokeSetter(PeriodCTCodec.java:118)
[java] at abc.PeriodCTCodec.invokeSetter(PeriodCTCodec.java:74)
[java] at
weblogic.xml.schema.binding.BeanCodecBase.processAllElements(BeanCodecBase.j
ava:167)
[java] at
weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java
:146)
[java] at
weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:109
[java] at
weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.ja
va:428)
[java] at
weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.ja
va:328)
[java] at
weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384)
[java] at
weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:484)
[java] at
weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.j
ava:93)
[java] at
weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.jav
a:143)
[java] at
weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:531)
[java] at
weblogic.webservice.server.Dispatcher.process(Dispatcher.java:204)
[java] at
weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:176)
[java] at
weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:96)
[java] at
weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java
:98)
[java] at
weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebSer
viceServlet.java:298)
[java] at
weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:485)
[java] at
weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServle
t.java:268)
[java] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[java] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[java] at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:971)
[java] at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:402)
[java] at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
[java] at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6350)
[java] at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
[java] at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
[java] at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3635)
[java] at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2585)
[java] at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java]
</bea_fault:stacktrace></detail></env:Fault></env:Body></env:Envelope>______
[PeriodCTCodec.java]

Hi,
Can anyone please tell me the solution for this ?
Actually I have used EDIT_MASK to rectify filter problem by passing conversion exit.
But for those fields which are not having any conversion exit, the filter problem still exists.
Please help on this. Thanks in advance.

Similar Messages

  • One problem about ECL Viewer options

    We marked the checkbox - Greyscale 24bit(for TIFF) to get a better picture quality in ECL setting(options->colors), but seems the ECL-Viewer cannot “memorize” this setting – when closing the document and reopening, the viewer still has bad quality again and the user has to set the checkbox again and again,
    1> Is there some possible ways to let ECL remember and load the setting everytime when the document opened???
    2> After debug, seems when marked the checkbox Greyscale 24bit(for TIFF)  the sap run below codes,  but when open the documents for the 1st time, below codes are not readed,  so if it is possible to add below into program when 1st loading??
                call method this_viewer->set_greyscale_color  with quality = 3
    Thansk a lot for the help!

    Hi,
    I would recommend you to install the latest available ECL Viewer version 6 which offers a better display quality of TIF files from the beginning.
    At the moment the ECL Viewer version 6.0 is not put to the SAP Service
    Marketplace. Please use the following link to download the installation
    files for ECL Viewer 6.0:
    https://sapmats-de.sap-ag.de/download/download.cgi?id=XV6Y7FZ99OO7W2DZA0
    Y8EG3T2FUZIK15GWE6P8APR2SL1CANGZ
    Before you install the latest Viewer version please uninstall the
    current version 5.1.3. To check if the ECL Viewer is un-installed please
    search for WebViewer2d.dll file. If it is present then it means ECL
    Viewer is still installed on your PC. You can also check the folders and
    should be able to see all the dll's for ECL Viewer such
    WebViewer3d.dll/Printing.dll etc to make sure that there is not only
    single file but the whole installation. Generally there are two
    possibilities to un-install the ECL Viewer:
    - Uninstall the version integrated with SAP GUI by using SAP
    Installation scripts. You need to uncheck the 'EAI Viewer' component in
    'General Add-on' option.
    - Check add/remove program and if there is an entry like SAP Viewer,
    uninstall it.
    After this search again, and you should not get WebViewer2d.dll file on
    machine. Now reinstall the latest Viewer version 6 again please. At the
    moment the ECL Viewer 6 is only available as a stand-alone installation
    and therefore please check if you do not install any former ECL Viewer
    version by the SAPGUI.
    Kind regards,
    Christoph
    P.S.: Please reward points for usefull information.

  • Firefox 23.0.1 ignores about:blank , either in awesome bar/address bar, and even in home page option.

    exactly this behaviour:
    step 1: on a page e.g. [ http://www.google.com/ ]
    step 2: enter [ about:blank ] in address bar and press [ return ] or [ go ]
    step 3: ... NO reaction / nothing happens, the Google-page stays on screen!
    strange!

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I'm playing Cityville on Facebook....since I updated my Firefox I am having a problem. It keeps popping up with a 'about blank' page, and will not let me play, send gifts or anything else.

    when I try to send gifts, a popup window "about blank' shows up, and then it doesn't show my friends or anything else. I am having a hard time loading cityville, and am virtually unable to play the game.

    Also I copied this from my other computer web page:
    Reported Phishing website ahead.  Your network ha been monitored.  Your network has been compromised due to Browser hijacking.The browser hijacking software may redirect you towards phishing websites that try to access your Login Password details.  To fix this browser redirection issue we recommend you ask for instant help.  Help Line 1 877 899 1824.
    Then another smaller popup window pops up
    http://www.pcassists.info
    Security Error
    Call Helpline 1877 899 1824
    So this is what I was talking  about, and the small popup window plus the larger  Window stating "Reported Phishing website ahead" will not go away and I cannot use Safari anymore even after I shut down my computer, disconnected it, and then signed on again and reopened Safari, it still takes me to that page and I cannot get out of it.
    PLEASE HELP!!!!!!!!

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • How do I stop about blank pop ups that are caused by Firefox? These are blocked ny my virus protection and ar

    Ok my virus protection, I use Kaspersky, is detecting a packer every time I try to load Farmville on Facebook. This results in the game reloading over and over again. These pop up quickly with about blank in the address but nothing else. The path for this leads to Firefox...C:\Users\Toshiba\AppData\Local\Mozilla\Firefox\Profiles\yipb6gme.default\Cache\C\4D\C1121d01. This was the last one shown in the list. It's a Swf2Swc. Today I have 24 at various times with 2 to 3 each time I tried to load Farmville. When my virus protection stopped them Farmville reloaded so I was never able to actually get into it.
    How can I stop these.
    Just so you know I did try safe mode with the same results

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

  • Internet Explorer error when I run a query (address "About blank")

    I want to run a query in Query Designer and it end up with an Internet Explorer security error on address "about blank".
    Our server has an internet security level very high, but I can modify the trusted zone if necessary.
    We think it is a security problem with IE, perhaps a parameter to change. Do you have idea, please ?

    Hi Christophe,
    There is a PDF file by SAP subject as "Enabling web functionality in BW" which says step by step process of enabling web functionality.
    If the server has been configured for web functionality then check following things.
    Internet options -> connections -> lan setting -> Advanced -> Do not use proxy
    server for ip starting with following ip address .. and put BW server ip address .
    After modification it should go throgh.
    Hope that helps.
    Regards
    Mr Kapadia
    <removed>

  • How do I fix "about:blank" virus or does firefox have to fix something???

    in firefox I open web site at USAA or Schwab and click on a link to open another window and it opens as "about:blank" and there is no information. This does not happen on all links and does not occur if I am in Internet Explorer. I use Micro Trend 2012 for security. I did a internet search for "about:blank" and is seems this is a virus of some sort.

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

  • When opening Firebox, about:blank takes over, need help to remove

    About:blank has somehow gotten into my system. Whenever I log on to the internet through Firefox, many errors occur like timing out when searching, long neverending cycle to go to another site, open and closing tabs etc. I have noticed about:blank showing up in the taskbar at times, taking the place where mozilla firefox was before???? Need help in getting rid of this malicious software.

    About:Blank is normally just one of the options offered for opening Firefox -
    Options>General>Start-up>you are offered three methods - opening in a blank page(About:Blank), home page, or as you finished last time.
    If you think you have malware, I presume you have run an anti-virus scanner and a spyware removal program.
    You should try the free download Malwarebytes -
    http://www.malwarebytes.org/
    For more general problems you should try running in Safe Mode, working your way through this -
    https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes

  • How do i stop "about:blank" page pop-ups

    I get a new window or a new tab pop-up that is :About:Blank" when I try to navigate to a link. If I don't close it, it will open it will eventually open some random advertisement website.

    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Please report back soon.

  • Why does FF 9 work part of the time and others I can't even get it to load a webpage. When I open it, it says about blank and Tab on the tab bar. Will not let me go to any websites. HELP Please!!

    After FF 9 installed every little while I lose whatever page I am on and it goes to about blank. When I tried to reload my pages it just sits there. Yesterday I was about to uninstall it and it started working fine again. This morning it decided to stop again, I have uninstalled it, rebooted and reinstalled and it's still doing this.
    I never had this problem with any of the other versions. It all started with FF 9. It downloaded itself after I told it ignore update. I am getting very flustered with this happening.
    It acts like it has a mind of its own when it comes to when it is going to work for me or not. I need to fix this somehow. I even tried reinstalling 7 again and it did the same thing as 9 does now. I took it back off and put 9 back on since neither want to work properly.

    Thanks for reading and thanks for the advice. Perhaps I'll ask them about it next time this problem occurs, although carrying the thing through a mall that is only about a mile away is the least of my worries. I'll do if it is both free (I don't make enough at my job to pay for such a service) and relatively speedy, although I'd hate for them to come over and for the computer to work properly (as bad as that sounds). It'd be a wasted trip and nothing would get fixed.
    I'm contemplating videotaping myself performing my "fixes" on it the next time I have this problem.

  • Somtimes Firefox loads a blank page; the Tab says "New Tab" and the URL is always "about:blank". What's up with that?

    Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy

    Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy

  • When playing FarmVille I continually get a window poping open that is title "about blank" it then closes and pops open again, preventing me from doing anything on Farmville how can I stop this?

    when trying to play FarmVille with Firefox on my laptop, a window continually pops open with the title "about blank" then it closes, and pops open again right away. Because of this I can not manage to do anything on the FarmVille screen. This does NOT happen on my desktop machine. Both are running Windows 7 64 bit. How can I prevent the window from poping up all the time? Something is continually sending a request, but I do not know what it is. Thank you for any help or suggestions. By the way, Google Chrome works perfectly, but I prefer Firefox.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How do I fix when I enter about:blank in the address window it doesn't open a page?

    When I type about:blank in the url box, nothing happens. The address line just goes back to "Go to a website".

    Showing a placeholder text is the default behavior of the location bar when no page is loaded and about:blank is not a real page (you do not see it listed on the about:about page), so this is expected behavior.<br />
    If it only a problem when the browsing window isn't empty.

  • Attempt to open links from our bank or utility company to view bill. etc. gets only a blank screen; instead of a url the address bar reads "About: blank"

    We signed up for on-line billing from our utility company; when I log into their website and click onto the link to "view my bill" Firefox opens a new tab, but nothing loads on the screen; the "address" bar near the top of the screen where you'd usually see the url for the tab reads simply "About:blank" . I have the same issue with messages received from our bank, which are usually sent as .pdf files. I frequently open .pdf files from other sites without any problems, so my copy of Adobe Reader seems to be working okay.
    Any suggestions greatly appreciated.

    We signed up for on-line billing from our utility company; when I log into their website and click onto the link to "view my bill" Firefox opens a new tab, but nothing loads on the screen; the "address" bar near the top of the screen where you'd usually see the url for the tab reads simply "About:blank" . I have the same issue with messages received from our bank, which are usually sent as .pdf files. I frequently open .pdf files from other sites without any problems, so my copy of Adobe Reader seems to be working okay.
    Any suggestions greatly appreciated.

Maybe you are looking for

  • Line Chart glitch - grid lines thick at certain heights

    The Flex Line Chart control does not display correctly at certain heights.  The gridlines that are supposed to be 1px pin stripes are sometimes displayed up to 100px wide.  This can be demonstrated with 1 line of code <mx:LineChart height="33000" x="

  • How do you change the Screen Resolution?

    I can not figure out how to change the resolution on my screen. Everything is much smaller than what i would like and would like to enlarge everything. There is a simple way of doing this with a PC but i have not been able to figure it out on a macbo

  • DAQMX vi files missing in Labview 2013

    I try to open this file slinger-logger.vi [see attachment], but I can't open it, because it is missing files such as DAQmx Clear task.vi I already tried to install several versions of DAQmx (14.1, 9.9, 9.4): http://digital.ni.com/public.nsf/allkb/B0D

  • HP Pavilion 5500 not detecting any 5G Networks (Jan 2015) [Ralink RT5390R]

    I have resently been having trouble with slow internet. My Desktop PC has stopped working with my wired router and refuses to find my 5G network. My connection was getting average scores of 40 Mbps but now im only getting 3-5 Mbps while my phone and

  • How to fix error 17 ?

    When I restore my iPhone 3g with iTunes and it is finished there is a advice with the error 17. I don't know the problem. Can anyone help me?