Wscompile produces invalid code..

Hi,
I am limited as to what I can post, so please forgive the brevity of information. I will try to post whatever I can in responses.
Running wscompile -gen:server -f:documentliteral -f:wsi -mapping jaxrpc-mapping-server.xml -keep -Xprintstacktrace -verbose src/ws-conf/server-wscompile-config.xmlagainst my WSDL file produces many of the artifacts I would expect, except the ResponseType_LiteralSerializer.java file has the following method:
    public java.lang.Object doDeserialize(XMLReader reader,
        SOAPDeserializationContext context) throws java.lang.Exception {
        com.test.server.stubs.ResponseType instance = new com.test.server.stubs.ResponseType();
        java.lang.Object member=null;
        javax.xml.namespace.QName elementName;
        java.util.List values;
        java.lang.Object value;
        reader.nextElementContent();
        while (reader.getState() == XMLReader.START) {
            elementName = reader.getName();
            if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_StdTrans_QNAME))) {
                values = new ArrayList();
                for(;;) {
                    elementName = reader.getName();
                    if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_StdTrans_QNAME))) {
                        value = ns1_myStdTransType_LiteralSerializer.deserialize(ns1_StdTrans_QNAME, reader, context);
                        if (value == null) {
                            throw new DeserializationException("literal.unexpectedNull");
                        values.add(value);
                        reader.nextElementContent();
                    } else {
                        break;
                member = new com.test.server.stubs.StdTransType[values.size()];
                member = values.toArray((Object[]) member);
                instance.setStdTrans((com.metadata.udbms.server.stubs.StdTransType[])member);
            else {
                instance.setStdTrans(new com.test.server.stubs.StdTransType[0]);
            else {
                throw new DeserializationException("literal.unexpectedElementName", new Object[] { elementName, reader.getName()});
        XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
        return (java.lang.Object)instance;
    }Any one else see the if..else..else? The compiler sure does! Any ideas on what could have caused that (without me posting much more)? The JWSDP site has no specific forums, so I'm hoping this is the best place to ask.
Thanks,
Mike

Thanks for the overwhelming support, as seems to be about typical for these forums.
It turns out specifying an aggregator of "all" and then specifying a subelement with maxOccurs="unbounded" causes this problem. Instead of just saying "Hey stupid, check your schema", wscompile just charges on blindly.

Similar Messages

  • ICE produces invalid code

    Having defined two editable and one repeating regions in a page, I ran it through the W3C validator which reported this and similar errors: "Attribute "ice:repeating" is not a valid attribute", all errors generated by the ICE divs.
    I searched through Adobe Support and came across this helpful article: http://www.adobe.com/devnet/dreamweaver/articles/incontext_applying_unob_code.html.
    I downloaded and installed the Markup Extractor Extension, and although the page now validates, I can't edit it on the web as I get this message when I try to save changes:
    "You cannot save this page. Reason: The content you are trying to save contains unallowed tags or dynamic code." (The page in question is here: http://www.sebastianstanley.com/engagements_valid.html) and I was able to edit it before I ran the extension...
    Any suggestions, please?
    And another question: is Adobe going to address the issue of the invalid code that ICE generates?
    Thanks,
    Marie

    Thanks, Tom, I'm glad to see that I'm not alone in considering this unacceptable.  Quite frankly I'm astounded that Adobe should see fit to release a product that is seriously flawed.  My web site trumpets the fact that every site I produce is W3C-compliant, and I'm not willing to compromise my standards.
    I see that Corey asks what you consider unacceptable in Adobe's workaround... I'd say that inability to edit ICE regions with the Property inspector after you've run the tool is an inconvenience that I can live with, but being unable to edit the site (see my previous post) renders the whole thing useless!  In short, I'm damned if I do and damned if I don't!
    The irony is that Adobe states that ICE will only work with valid coding... shouldn't this read "Give us your valid coding, and we'll mess it up..."?!

  • InContext Editing Produces Invalid Code

    This is pretty annoying "        Attribute "ice:editable" is not a valid attribute"...
    Seems like there should be something those of us who strive for W3C Web Standards Compliance could do.
    Is there a work around??? One of our selling points is "produced with ONLY W3C Valid Code"

    Hello Tommy,
    Yes. Please see the following thread I replied to a couple of days ago: http://forums.adobe.com/thread/421604
    There are links to a technote and tutorial on making InContext Editing mark-up unobtrusive.
    Best regards,
    Corey

  • RTFProcessor produces invalid XSL-FO in WebLogic

    I've been writing an application that uses the RTProcessor class to process an rtf file into XML, which I can then parse to information about the report layout.
    While developing on tomcat this worked fine. However for production we will be deploying on WebLogic. WebLogic seems to be using a different XML parser that is stricter than tomcats so when using the application the XML parser throws an error when parsing the XSL-FO.
    The problem is that XSL-FO is not valid XML as it contains an invalid character on the line:
    <xsl:variable name="_XDOXSLTCTX" select="xdoxslt:set_xslt_locale($_XDOCTX, $_XDOLOCALE, $_XDOTIMEZONE, $_XDOCALENDAR, concat($_XDODFOVERRIDE,'',$_XDOCURMASKS,'',$_XDONFSEPARATORS))"/>
    So my first question is: Is there a way to stop this element from being generated in the XSL-FO? This seems to have been looked at in this thread but without much of a conclusion:
    BI Publisher produces invalid XSL:FO stylesheet
    My second question: I don't understand how Tomcat can parse the XML and WebLogic can't. I'm deploying the same code so I'd assumed it would be using the same parser. As a work around around is it possible to configure WebLogic to use the same parser as tomcat? The relevant code I'm using is posted below:
    ByteArrayOutputStream templateOutputStream = new ByteArrayOutputStream();
                   RTFProcessor rtfProcessor = new RTFProcessor(
                             new FileInputStream(template.getTemplateFile())
                   rtfProcessor.setOutput(templateOutputStream);
                   rtfProcessor.process();
                   logger.debug(this.className + " - " + methodName +
                             ":#2 XSL-FO : " + templateOutputStream.toString());
                   DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                   DocumentBuilder db = dbf.newDocumentBuilder();
                   // parse using builder to get DOM representation of the XML file
                   Document dom = db.parse(new ByteArrayInputStream(templateOutputStream.toByteArray()));
    Thanks in advance.

    Hi,
    Thanks for your reply, After debugging the application carefully in Tomcat and Weblogic it became apparent that weblogic was using it's preferred XML parsers when parsing my XML.
    In Tomcat has a different order or precedence for its class loader so it was parsing my XML with the oracle.xml package, Weblogic was instead using its own weblogic.xml parser. So I had to set up a weblogic-application.xml file to control this.
    If you're right that the XML is valid, then this looks like there is a bug in the weblogic parser. I'm not at work at the moment but if you want more details I can get you them next week.
    Thanks.

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • Invalid Code [Business Partner - Territory] , 'K00001'  [Message 173-36]

    Hi,
    While updating a BP the following error appears:
    Invalid Code [Business Partner - Territory] , 'K00001'  [Message 173-36]
    The error also appears after trying to create a BP.
    Our customer is running v2007A SP00 L49.
    I tested it in SP01 PL02, still the issue occurred.
    I also looked at the OCRD table, however I couldn't see anything strange.
    Any idea what's wrong?
    Kind regards,
    Charlotte Jansen

    Hello Jansen - a few things you might try:
    1 - go to Administration > Set Up > General > Territories.  Are there entries there???
    ( OR - maybe do a SELECT * FROM OTER T0 and see what it produces in the query results).
    2 - one time someone "deleted" the territory by entering spaces over the terriroty - how that did that I do not know.  We assigned a new territory and then changed it properly.
    Hope that helps...
    Zal Parchem

  • HT5113 "Invalid code error" and "can't connect to the iTunes Store." Any suggestions?

    I keep getting an "invalid code error" when trying to preview a course with the enroll code. When I click on the link to the course, I get an error that says "can't connect to the iTunes Store." Any suggestions?
    I tried previewing a test course I made about a year ago. I was able to request access to the course, went into Course Manager and approved it, but hours later it still says awaiting approval on my iPad.
    Any ideas as to what could be going on, aside from a cruel April Fool's joke?
    Thanks.
    David

    How about trying to sign out of your account on the iPad, restart the iPad, sign back into the account and then try again?
    Settings>Store>Apple ID - tap on your ID and sign out - restart - go back - sign in.
    Other than going through the support article - if you haven't already done so - the only other thing I can think of is to reset/reboot the iPad. That can clear the memory and it does help solve a lot of "hinky" issues.
    Reset 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.

  • HT2693 I bought an itunes gift card but when i try to redeem my account it says invalid code. I put in the code perfectly but its still not working. The shop wont take it back either, What should i do?

    I need help, i bought an itunes gift card but when i try to redeem my account it says invalid code. I even checked the code and i had it 100% right but its still not working. The shop in which i bought it wont take it back so i dont know what to do. Please help.

    iTunes Store: Invalid, inactive, or illegible codes

  • I didnt konw how to make a new account for my iTues card so i did it with a diffrent email but that email doesnt exist and when i tried to make it on a real email i just sai invalid code check the code and try again and can u please help me

    please help me it is a card of 25 dollars and i dont want it to go to waist i by mistake thought you used a frake email so i made one up i thought i was going to have a new one but then it said it was going to send a verifaction to my email so then i tried to use a real email and put in the code but it just kept on saying invalid code. check the code and try again. and i dont know what to do can u please please help me it was a gift and i really dont want it to go to waist please i need help

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • HT201209 my itunes card has an invalid code

    i just bought an itunes card n wen i went to redeem it it says invalid code...went back to the store and it was activated dont know what to do..any suggestions

    With any luck, the following document may be of some assistance with that:
    iTunes Store: Invalid, inactive, or illegible codes

  • Invalid Code [Journal Entry] Line 2

    Hi All
    I did a patch upgrade from SP00 PL49 to SP01 PL05, now i get the error message listed in the Title;
    Invalid Code [Journal Entry] Line 2, 2000/100
    when doing outgoing payments to Creditors if I select the AP invoices, if i say payment on account it goes through as there is no auto-reconciling happening.
    2000/100 from the error is the account code, which is my Accounts Payable account.
    Any ideas, the account is not locked.

    Hi,
    You may check these threads first:
    Error message when reconcile BP
    Invalid code [JE rows-account][Line 2] '1040104001 '[Message 173-36]
    Object Type
    Updating journal entry
    Thanks,
    Gordon

  • Getting error message "Invalid COD" when trying to download bible software..​..

    Anyone know why I can't download youverse bible software to my bb curve 8330, getting the "Invalid COD" message?

    I had no idea where you were downloading it from, I just went off what you called it, youverse.
    Keep trying later, perhaps they are having server issues.
    YouVersion is a great application, had it loaded for a while and use it often.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Invalid Code on iTunes Card

    Last Sunday, I bought a $100.00 iTunes card. When I went to redeem it, the system told me it was an invalid code. I contacted Apple and sent scans of the card, my receipt, etc. Now, it is Thursday, and I am waiting to hear something. The person with whom I initially exchanged emails, is now ignoring my messages. What do I do? Am I just out the $100?
    Thanks,
    Steve

    You can try calling the Apple tech support number - 800-275-2273 - and ask to speak with someone in Apple Customer Relations. A CR rep might be able to get some action for you on this, or at least a status. No guarantees, but it's worth a try.
    Good luck.

  • ERROR IMS-9000: Invalid code signing viewer.app/viewer

    Hi Mark
    I found 4 items of error on uplaod app.
    1. Apple's web service operaation was not successful
    2. Unable to authenticate the package:875829473.itmsp
    3. Error ITMS-9000:"Invalid code signing: The exutable " viewer.app/viewer
    4. Could not start delivery: all tranports failed diagonostic
    5. Warning ITM-9000 versiion mismatch Neither CFBundler version 30.2.0.12.95964 nor ...
    Pls.advise me.
    Thank you.
    Supawan Lee

    I think we're missing the full error in point 3 but it looks very similar to this thread: 'Re: error itms-9000 invalid code signing viewer.app/viewer'

  • TS1292 I'm trying to activate my itunes gift card but it keeps saying invalid code. When I follow the iTunes support it keeps taking me round in circles to the same page. What do I do?

    I'm trying to activate my itunes gift card but it keeps saying invalid code. When I follow the iTunes support it keeps taking me round in circles to the same page. What do I do?

    I imagine a ton of people are attempting to activate after the update, and the server is getting overloaded. Simple patience, maybe keep trying, and if possible, try a little later. Think of it as all those people lining up at Apple Stores + about a million more.

Maybe you are looking for

  • How do I get Firefox to look the way it did before upgrading

    Firefox used to look OK until it upgraded itself. I do NOT like the small search box and the list of available languages plus other admin. options when I open Firefox. What you had before looked more like the entry screen to a search engine, but your

  • GR Posting before Putaway - Urgent

    Hello Gurus I have a situation. I have an inbound delivery for PO. The client wants to post the GR and then move the materials. I dont have HUM in place. I have set the LC:HUM:Basics:Delivery:GR mvt before TO creation indicator for this warehouse. I

  • Document currency Problem

    Hi all, I have created an Import PO with rate 62500 JPY (decimal places are are not allowed in PO), But in table level the rate is stored as 625.00 (with 2 decimal) due to which during GR goods are validated for 625.00 instead of 62500. Kindly reply

  • Looking for LABView Programmer with Electrical Engineering Experience ($75K-$85K)

    If you wish to apply send resumes to: [email protected] Position Summary: Systems Engineer with experience in LabVIEW development, instrumentation interface and system control. The engineer is expected to develop the software and GUI, select and inte

  • How to change charset into extended set?

    Hi, my server is setup with en_US.iso8859-1, I would necessity to change this set to get a special accented chars, such as "�,�,�,�" and so on. In practice, I would change this charset to it_IT.iso8859-15. I tried to change var locale, such as LC_* b