Failed to open XML document. Failed to retrieve Public ID

I have a client posting to Weblogic 6.1 server with the help of Apache
SOAP 2.2. The posting works fine if the contents of the SOAP message
is small. But when the contents of SOAP reached more than 11KB, the
following error occurs:
Error: Failed to open XML document. Failed to retrieve PUBLIC id or
SYSTEM id from the document. Decrease the number of char between the
beginning of the document and its root element.
The SOAP document looks like:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<mn:sMethodName xmlns:mn="sMethodURI">
<batch appid="1">
<employee>
<name>...</name>
<address>...</address>
</employee>
<employee>
<name>...</name>
<address>...</address>
</employee>
</batch>
</mn:sMethodName>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The Max Post Size in Weblogic is set to (-1).
The program is able to handle less than 50 items of
<employee>.....</employee>. The error occurs when more than 50 items
are used. The problem is that our application should be able to handle
more than 1000 items of <employee>....</employee>.
My questions are:
1. How should I configure weblogic to solve the problem?
2. How should I configure the deployment of Apache SOAP to solve the
problem?
Pls advise. Thanks.

One can deduce from the error message that the parser is looking for the
<?XML...?> portion of the document because that is where the SYSTEM and
PUBLIC ids are found in the document.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Grace" <[email protected]> wrote in message
news:[email protected]...
>
Sorry, but I didn't get what you mean. I thought that was handled by theApache
SOAP API already? And if it couldn't see the XML document header, then whydoes
this only happens when the document size is large? It doesn't haveproblems whenever
the document size is small.
"Cameron Purdy" <[email protected]> wrote:
It's looking for the XML document header "<?XML" ....
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Grace" <[email protected]> wrote in message
news:[email protected]...
I have a client posting to Weblogic 6.1 server with the help of Apache
SOAP 2.2. The posting works fine if the contents of the SOAP message
is small. But when the contents of SOAP reached more than 11KB, the
following error occurs:
Error: Failed to open XML document. Failed to retrieve PUBLIC id or
SYSTEM id from the document. Decrease the number of char between the
beginning of the document and its root element.
The SOAP document looks like:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<mn:sMethodName xmlns:mn="sMethodURI">
<batch appid="1">
<employee>
<name>...</name>
<address>...</address>
</employee>
<employee>
<name>...</name>
<address>...</address>
</employee>
</batch>
</mn:sMethodName>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The Max Post Size in Weblogic is set to (-1).
The program is able to handle less than 50 items of
<employee>.....</employee>. The error occurs when more than 50 items
are used. The problem is that our application should be able to handle
more than 1000 items of <employee>....</employee>.
My questions are:
1. How should I configure weblogic to solve the problem?
2. How should I configure the deployment of Apache SOAP to solve the
problem?
Pls advise. Thanks.

Similar Messages

  • Can't open XML documents

    Hi there, I am trying to open XML documents but can't as I have Office 2004 on Mac 10.5.8. The update is only available for 11.5.0. So do I have to buy a new Office package? Or just buy Mac 11.5? Thanks.

    Hi,
    MS has one fix for Office 2004...
    http://support.microsoft.com/kb/953823
    List of other ways...
    http://en.wikipedia.org/wiki/List_of_software_that_supports_Office_Open_XML

  • Open .xml documents into InDesign?

    Is there a way to open .xml documents into InDesign, or any Adobe program?
    The goal is to access text from a web site feed and place it in an Indesign doc, to create a print product.

    You can't open XML but you can certainly utilize it.
    Here's a good book you might want to look into: http://amzn.to/i3iWZ5
    Bob

  • Problem opening mail attachments...were opening seamlessly on os 7.0...get an error   Filename Office open XML document/presentation File size   Does anyone have a solution? Please help.

    problem opening mail attachments...were opening seamlessly on os 7.0...get an error
    Filename
    Office open XML document/presentation
    File size
    Does anyone have a solution? Please help.

    Hi Charlotte,
    You don't say what your version of Windows you have. Assuming XP, go to Start | Run, type DXDIAG and click OK. Click the Sound tab and run the tests to eliminate a hardware problem first of all. If you don't hear anything, check your cables first of all. Also make sure "Mute" isn't checkmarked in your sound setup. You'll find that in Windows Control Panel.
    Which browser do you use? If you have Firefox 4, sign up to the HTML5 trial @ http://www.youtube.com/html5
    HTML5 is the latest video standard and doesn't require Flash player. Google is in the process of converting all its files to work with the new format. It may solve you problem. If you don't have Firefox 4, you can get it from here: http://www.mozilla.com/en-US/firefox/fx/
    IE8 doesn't support HTML5.
    To clean out your temp files, go to Start | Run, type: CLEANMGR and click OK. Click OK again to start the utility. Tick all the boxes except "Compress old files" because the latter takes too long, and then click OK. You can run this utility any time you wish by the way.
    The above steps will hopefully fix your problem. If not, post here again please.

  • CrystalReportViewer Failed to Open the connection Unable to retrieve Object

    I am getting the following Error on trying to view a report in the CMC and the Infoview.
    CrystalReportViewer
    Failed to Open the connection. ReportName
    Unable to retrieve Object.
    Failed to open the connection. ReportName
    I have recently re-installed Crystal Reports Server XI  on a server after a disk failure. I had a backup of my CMS database. I reinstalled the Crystal Servwer without atttaching this database, however crystal did not create a new db so I attached my old one.
    I have deleted all my old ODBC connections and recreated them with new names and then reconnected my reports in Crystal Reports XI using the "Set Datasource Location" option and the report works fine.But as soon as I try to view it after uploading it as an object onto the server, I get the above error.
    Any help would be appreciated.

    I am tagging into this unanswered question as well because I think I have a similar issue.  In my case I have a report which runs correctly in Crystal Reports designer but when I move it to the scheduler it fails on a "Failed to connect" to the report.  In have used "Set data location" to no avail.  When I go to Admin Tools and look at the complete list of datasources for all my reports this particular datasource is listed twice.  The group of reports under one of the datasources works correctly.  The reports listed under the second datasource all fail.  The two datsources are spelled exactly the same and when I sompare the database details for a successfull and a failing report using this datasource they are the same (in the console and in infoview).
    I have also checked the ODBC connections on the Crystalserver and there is only one occureence.
    Any ideas?
    Thanks!

  • Jaxp fails to unmarshall xml document if it contaions the "&" character

    Hi,
         We are using JAXB in our applications and have recently experienced a problem
    with parsing of xml document ( when calling unmarshall method of jaxb ). The problem occurs
    when the xml element contains the character & in it f.eks. "Hennes & Maiurets" then it fails to parse
    the xml document. We would be very greatful if you could suggest us any workaround.
    Thanks in advance
    Sazzadul

    That's because it's not an XML document. A well-formed XML document cannot contain the & character by itself in a text node, it must be escaped as &amp;. XML parsers will do this automatically, but if you are producing your own XML via ordinary string output, you have to handle this escaping yourself. And the same goes for the other four markup characters.

  • GetAppletContext().showDocument fails to open XML file on WIN XP SP2

    Hi all,
    I am working on WINDOWS XP SP2, jre 1.4.2_07. I am trying to launch an XML file on the local machine through an applet using
    getAppletContext().showDocument(docURL, "_blank");
    The docURL is of form "file:////D:\temp\doc.xml"
    This fails to open an XML file. There is no traceback in JAVA console or any exception being thrown.
    However, if I try to open "html" or "htm" file with the same applet, it succeeds.
    Is it a known issue on WinXP? Or am I missing any setting or something?
    Thanks
    Rohit

    Does anyone has a alternative solution for this? How to create the files on the server and have the applet display them using showDocument?

  • I am using Macbook Pro and Microsoft Office for Mac 2011, it fails to open word documents while other office application are functional.

    I have been using my Macbook Pro for more than 2 years. Suddenly the Mac fails to open any word documents while other microsoft application are operational.

    Dear Kilted Tim
    Thank you for assisting me resolve my problem. It was successful resolved through updating the software.
    Petrus

  • Failed to open flash document?????

    I have been working on a flash website inside flash CS5 here at school. I have been working for almost 3 hours with no problems and I have made sure to save from time to time. I have saved with no problems. My problem came when I clicked on test movie. As the movie was loading to test the SWF of the website flash crashed and closed out on me. I had just saved before testing so I could have the latest saved. I double click on my flash document to re-open flash and I get a message that says "Failed to open document." Right after the message it lists the folder where my file is located. I still cannot get past this message and my file is a website I have been working on for over 3 hours now. I needed this for school and I guess if I can't fix it I will have to start from scratch although I had so much work completed.
    Any ideas? I even tried to open flash first and then go to file open but that did nothing except give me the same error message. Then I looked under recent documents and clicked on the file document and got the same thing. I have no idea what to do. Has anyone had this problem or similar before with some sort of solution to save my 3 hours of work? Thanks

    Hi there!
    I had just finished my website  when I saved the file (fla) and shut Flash down. I needed to transfer a different file from my computer onto another computer. I mounted my usb and realized there would not be enough room, so I binned some of the files and tried to empty the trash. My computer said "preparing to empty trash" for nearly 20 mins. I forced shut down my computer and restarted. Emptied the trash fine - transfered the file fine. But when I reopened the website on flash I recieved the "can not find document...." error message. I had closed Flash down before emptying my trash, and made certain there were no Flash files in there. The SWF is fine though. And I had not found any issues with saving it or any warning signs that this was going to happen.
    I was saving the FLA over its self not as a save as version
    The file is 52MB
    I have a 2 and half year old MacBook Pro
    2.26Ghz Intel Core 2
    Mac OSX version 10.5.8
    Saving to computers hard drive
    Adobe Flash Professional CS5 11.0.2.489
    Any help would be so appreciated!
    Not sure how to send you the file as its 52MB
    Thanks

  • HT1338 Error message : "Failed to open page" - Slow & failed loading online pages

    Lately I've been experiencing slow loading pages when I go online using Safari (that's all I usually use). Everything is updated. I often get the "Failed to open page" because it doesn't always even load. It stays blank for sooooo long then error messages appear "Failed...." Plenty of memory. Even while I type this the wheel begins to spinn, making me wait before I can complete this form. What can I do next? I use iCloud these days. Before iCloud I didn't have this problem, could there be a connection?

    If your Safari won't open, one or more of the following procedures should fix it:
    1. Go to Home/Library/Safari/ folder and remove the following two files:
    ¥ history.plist
    ¥ lastsession.plist
    (Safari may not load properly If these two files are corrupted.)
    2. Go to Home/Library/Caches/Metadata/Safari/ and remove the contents of that folder.
    (These are just webhistory files and are not required for Safari to run. However, similar to preference files, problems can arise if they have become corrupt.)
    3. Locate the cookies.plist file that's located in the Home/Library/Cookies/ folder and remove it.
    (Again, faults in stored cookies may interfere with Safari's launch.)
    4. Check whether any of your third-party internet plug-ins may be interfering with the launch of Safari by carefully moving them to the desktop (do NOT delete them at this stage). You can find these in two places:
    Home/Library/Internet Plug-Ins/ folder, and Global plug-ins are located in the Macintosh HD/Library/Internet Plug-ins/ folder.
    Also look in Library/Input Managers where other third party add-ons may lurk. If you find a SIMBL folder, please note that some SIMBLE.bundles may require updating or possibly removal.
    Restart Safari and place them back in the correct folders, one at a time, closing and re-opening Safari each time. If you discover that one of them was causing the problem with launching Safari, trash it and download and install a fresh copy.

  • Open XML document with proper layout

    Hi,
    I created my own XML form and I have problem when accessing the document within "KM Content".
    Indeed, when I click on the XML file generated by the XML Form it doesn't render it with the "Show" form but rather displays it as an usual XML document (with all its tags).
    Hint:
    I linked my iView to a custom CM repository. But, if I link my iView containing the XML Form to the out-of-the-box CM repository "/documents", it works fine.
    What should I do to make this work?
    Thanks in advance,
    Eric

    Hi Eric,
    in the Configuration under 'System Administration' -> 'System Configuration' -> 'Knowledge Management' -> 'Content Management' -> 'Repository Filters' you can find a filter named 'xmlforms_filter'. Some repositories are registered for this filter (in the standard e.g. documents). You should add your repositoriy here. After that the files in your repository should use the Show-form when being displayed.
    Hope this helps
    Karin

  • Pages 5.1(1769) on Mac fails to open my document stored in iCloud

    When I select in Pages a document (that was there since march 2013), a dialog pops up saying that it was impossible to open file "my file name.pages.tef".
    Any idea on what's going on here ?

    .tef is the iCloud storage format (which you are not supposed to see).
    Usually corrected by turning off iCloud in the System Preferences and turning it back on again.
    Peter

  • Error 25541 failed to open xml file c:\windows\microsoftnet\framework\v2.0.50727\config\machine.config, system error -2147024786

    Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

    Hi,
    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we've seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.
    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.
    Re-register msxml3.dll by running regsvr32 msxml3.dll
    Re-install MSXML3 by downloading and installing the package from
    http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582
    For more information about details about the root cause of this issue, you can refer to this article:
    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx
    Hope that helps.

  • Adobe fail when open .pdf documents with IE browser

    It happened when I open .pdf with IE browser, IE will freezes. Who know how to solve ? I used IE 7.0 and adobe reader 8.x
    here picture:
    http://freedictionarysoftware.info/images/error.JPG

    Hi obaand,
    Please navigate to the following forum discussion link with the same DIN font problem and see if that could help:
    Din font won't display in pdf file since December update to version 11.0.10
    Let me know.
    Regards,
    Anubha

  • Acrobat X Std. Fails to Open, reporting, "Acrobat failed to send DDE command"

    When I try to open Acrobat, whether opening it via a document or directly, it fails immediately, reporting an error, "Acrobat failed to send DDE command." I cannot even get into Acrobat's settings menus since the program fails entirely. I am operating on a newish Windows 7 PC which has been running this program successfully for a few months up until today. Help!

    Hi Jeff,
    It would be my recommendation that you contact our technical support team.
    They should be able to help you!
    Kind regards, Stacy

Maybe you are looking for

  • Please solve this mysterious broken run arrow

    Everything works great for a while. Then suddenly, this will happen. This is on a PXI chassis using a lot of LVOOP. It happened on my PC so I moved the code all to a VM. It worked fine for a while, then it just came back. These are NI's VIs. The weir

  • Why is the apps store so slow to download? I Am waiting 10 hours!

    is there an issue at the moment with the App Store as I have been waiting for 10 hrs. The App Store message says " Try Later"

  • How to configure webutil 1.06 with oracle Developer suite 10g R2

    Hello everyone, My computer configuration is OS-> Windows 7 Ultimate (32-bit) RAM-> 1GB I have successfully installed oracle XE and developer suite 10g R2 in my computer. Now i want to configure webutil. Please give me the step-by-step procedure for

  • Infotype 0002

    Hello, Is any one could help me on these infotype, I'm looking to hide the date of birth. I would like to give access to display only without this infortype BUT when I'm doing this the users can't do any search by names any more !! Not handy ! The pu

  • Refying PDF with subset embedded fonts fixes text extraction

    Hi All, I know it is not a good idea to (just) refry PDF files (PDF -> EPS -> PDF). Especially when the PDF contains subset embedded fonts. Chances are you will end up with a PDF file which does not contain valid (searchable) text. I did not know the