PS Elements Ribbon Missing
How do I turn the ribbon back on that shows the quick, guided and expert mode for Element 12?
PSE does not hold and physical files. It references the files on your hard drive.
If you have backup copies of your images you need to put them back into the same folders as before.
Similar Messages
-
UI elements are missing in the layout of a view
Hi Guys,
I've downloaded New SAP NetWeaver 7.01 SP0 ABAP Trial Version. After three times installation, I gave up.
And I downloaded New SAP NetWeaver 7.01 SP3 ABAP Trial Version, it took more time than SP0 to install. Finally, it works.
Then I read this blog, /people/dirk.feeken/blog/2007/07/20/abap-trial-version-for-newbies-part-18--starting-with-web-dynpro-for-abap, to develop a Web Dynpro report. After copy the context from component controller to view, I couldn't find UI elements in the view.
What I could see in the layout of the view are:
CONTEXT_MENUS
ROOTUIELEMENTCONTAINER
Does anyone know how to find the UI elements?
Thanks in advance.
Regards,
JimHaving the same problems where the UI elements are missing in the layout screen.
using the Show/Hide layout Preview Button I get an Program cannot display the web page.
The server is on a different box . Tried running the sapgui from a vista machine and a xp machine and they both have the same problem.
If I run Sapgui on the server box the Show/Hide layout Preview Button does show a subset on the ui elements but not all the examples described in the "ABAP Trial Version for Newbies: Part 18 - Starting with Web Dynpro for ABAP"
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1299772950DB10354599868941910736End?blog=/pub/wlg/6973
Thanks in advance. -
Org.xml.sax.SAXParseException: Document root element is missing.
Hi,
I am trying to get the portal login id from a weblogic server based application from iplaet portal server.
I get this follwoing error
org.xml.sax.SAXParseException: Document root element is missing.
at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
at com.sun.xml.parser.Parser.parse(Parser.java:284)
at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:226)
at com.iplanet.portalserver.util.XMLParser.<init>(XMLParser.java:70)
at com.iplanet.portalserver.naming.share.NamingResponseParser.<init>(NamingResponseParser.java:33)
at com.iplanet.portalserver.naming.share.NamingResponse.parseXML(NamingResponse.java:74)
at com.iplanet.portalserver.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:174)
at com.iplanet.portalserver.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:155)
at com.iplanet.portalserver.naming.WebtopNaming.getServiceURL(WebtopNaming.java:57)
at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:534)
at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
<May 19, 2004 9:01:12 AM EDT> <Error> <HTTP> <101017> <[ServletContext(id=4873279,name=ematrix,context-path=/ematrix)] Root cause of ServletException
com.iplanet.portalserver.session.SessionException
at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:539)
at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
Any help/pointers will be appreciated.
AshishJust for anyone else who hits this problem: I encountered the same issue with an XML document that XMLSpy claims is quite well formed. I opened the document in a hex editor, and there at the from was a three-byte byte order marker - the marker that I believe the UTF-8 standard says is optional. I removed these three bytes, and the file was parsed correctly.
In this case, the XML file was created using a Microsft DOM (save).
My solution is to make the java parser - as I use it - a tad more robust: Open the file and create an input stream - a pushback input stream. Read the first three bytes; if they are NOT a BOM, then push those bytes back. Now - in any case - give the stream to the parser to read.
try {
// Open file for reading.
f = new File(path);
FileInputStream fis = new FileInputStream(f);
PushbackInputStream pis = new PushbackInputStream(fis);
byte[] buf = new byte[3];
pis.read(buf, 0, 3);
if (! (buf[0] == 0x00EF) && (buf[1] == 0x00BB) && (buf[2] == 0x00BF) ) {
pis.unread(buf, 0, 3);
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
doc = builder.parse(pis);
catch (Exception x) {
x.printStackTrace();
} -
Error in script : text elements are missing
Hi ,
In my print programs iam uaing lots of text elements for a
zform. I have copied the zform into zform1 and using the same print program and modified the zform1 according to my needs.
I am not using all the text elements in my zform1 script which is passed from the print program.
When i execute my zform1 by using the transaction which inturn uses that print program it gives more messages saying 512, 513 , 515 text elements are missing in form Zform1.
Can anyone tell without touching the print program can i do anything on the script zform1 to reslove this problem.
Please help me on this.Thanks...
Regards,
Rose.Hi,
Ya, whatever Narendra told is right. U nedd to have the text elements in the script if you are calling the same from print program. Just maitain all the text elements with no text it.
Eg:
/: 513
/: 515
Regards,
KK -
Error "expected element is missing: SMOKER_DT" running Get method
Hello,
We have PT 8.49 and we managed publish the WSDL for the CI-based Web Services for the PERSONAL_DATA component.
Using JDeveloper, we managed to build a Web Service Proxy in Java to retrieves one or more record keys (EMPLID and NAME) using the Find method/operation.
But when we try to use the Get operation to fetch the remaining properties of the Employee (such as Birth Date, etc) it gives us the above error, exactly when it is executing the following method:
sRPersonalData = myPort.CI_RCUH_PERSONAL_DATA_G(sPersonalData);
What are we doing wrong? We tried Peoplesoft support, but they say it is not their problem (third party).
Here is the full code and the error:
// Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)
package model.proxy;
import oracle.webservices.transport.ClientTransport;
import oracle.webservices.OracleStub;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Stub;
import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape;
import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.EMPLIDTypeShape;
import model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.Get__CompIntfc__RCUH_PERSONAL_DATATypeShape;
public class CI_RCUH_PERSONAL_DATA_PortClient {
private model.proxy.CI_RCUH_PERSONAL_DATA_PortType _port;
public CI_RCUH_PERSONAL_DATA_PortClient() throws Exception {
ServiceFactory factory = ServiceFactory.newInstance();
port = ((model.proxy.CIRCUH_PERSONAL_DATA)factory.loadService(model.proxy.CI_RCUH_PERSONAL_DATA.class)).getCI_RCUH_PERSONAL_DATA_Port();
* @param args
public static void main(String[] args) {
try {
model.proxy.CI_RCUH_PERSONAL_DATA_PortClient myPort = new model.proxy.CI_RCUH_PERSONAL_DATA_PortClient();
System.out.println("calling " + myPort.getEndpoint());
// Add your own code here
myPort.setUsername("PS");
myPort.setPassword("xxxxx");
Get__CompIntfc__RCUH_PERSONAL_DATATypeShape sPersonalData = new Get__CompIntfc__RCUH_PERSONAL_DATATypeShape();
Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape sRPersonalData;// = new Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape();
EMPLIDTypeShape sEmplId = new EMPLIDTypeShape();
sEmplId.set_value("12345");
sPersonalData.setEMPLID(sEmplId);
sRPersonalData = myPort.CI_RCUH_PERSONAL_DATA_G(sPersonalData);
} catch (Exception ex) {
ex.printStackTrace();
* delegate all operations to the underlying implementation class.
CI_RCUH_PERSONAL_DATA_G
public model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape CI_RCUH_PERSONAL_DATA_G(model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m754285.Get__CompIntfc__RCUH_PERSONAL_DATATypeShape parameter) throws java.rmi.RemoteException, model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m724133.ErrorTypeShape {
return port.CIRCUH_PERSONAL_DATA_G(parameter);
* used to access the JAX-RPC level APIs
* returns the interface of the port instance
public model.proxy.CI_RCUH_PERSONAL_DATA_PortType getPort() {
return _port;
public String getEndpoint() {
return (String) ((Stub) port).getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
public void setEndpoint(String endpoint) {
((Stub) port).setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
public String getPassword() {
return (String) ((Stub) port).getProperty(Stub.PASSWORD_PROPERTY);
public void setPassword(String password) {
((Stub) port).setProperty(Stub.PASSWORD_PROPERTY, password);
public String getUsername() {
return (String) ((Stub) port).getProperty(Stub.USERNAME_PROPERTY);
public void setUsername(String username) {
((Stub) port).setProperty(Stub.USERNAME_PROPERTY, username);
public void setMaintainSession(boolean maintainSession) {
((Stub) port).setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.valueOf(maintainSession));
public boolean getMaintainSession() {
return ((Boolean) ((Stub) port).getProperty(Stub.SESSION_MAINTAIN_PROPERTY)).booleanValue();
* returns the transport context
public ClientTransport getClientTransport() {
return ((OracleStub) _port).getClientTransport();
C:\jdeveloper\jdk\bin\javaw.exe -client -classpath C:\jdeveloper\jdev\mywork\PersonalDataG2\Model\classes;C:\jdeveloper\lib\xmlparserv2.jar;C:\jdeveloper\lib\xml.jar;C:\jdeveloper\j2ee\home\lib\activation.jar;C:\jdeveloper\j2ee\home\lib\ejb.jar;C:\jdeveloper\j2ee\home\lib\jms.jar;C:\jdeveloper\j2ee\home\lib\jta.jar;C:\jdeveloper\j2ee\home\lib\mail.jar;C:\jdeveloper\j2ee\home\lib\servlet.jar;C:\jdeveloper\webservices\lib\jaxrpc-api.jar;C:\jdeveloper\webservices\lib\wsclient.jar;C:\jdeveloper\webservices\lib\wsserver.jar;C:\jdeveloper\webservices\lib\wssecurity.jar;C:\jdeveloper\webservices\lib\wsdl.jar;C:\jdeveloper\webservices\lib\orasaaj.jar;C:\jdeveloper\webservices\lib\saaj-api.jar;C:\jdeveloper\webservices\lib\orawsdl.jar;C:\jdeveloper\webservices\lib\orawsrm.jar;C:\jdeveloper\webservices\lib\jaxr_api.jar;C:\jdeveloper\webservices\lib\orajaxr.jar;C:\jdeveloper\webservices\lib\relaxngDatatype.jar;C:\jdeveloper\webservices\lib\jaxb-impl.jar;C:\jdeveloper\webservices\lib\jaxb-libs.jar;C:\jdeveloper\webservices\lib\xsdlib.jar;C:\jdeveloper\webservices\lib\mdds.jar;C:\jdeveloper\jlib\jaxen.jar;C:\jdeveloper\jlib\oraclepki.jar;C:\jdeveloper\jlib\ojpse.jar;C:\jdeveloper\jlib\osdt_core.jar;C:\jdeveloper\jlib\osdt_cert.jar;C:\jdeveloper\jlib\osdt_xmlsec.jar;C:\jdeveloper\jlib\osdt_wss.jar;C:\jdeveloper\jlib\osdt_saml.jar;C:\jdeveloper\jlib\repository.jar;C:\jdeveloper\jlib\ojmisc.jar;C:\jdeveloper\j2ee\home\lib\http_client.jar;C:\jdeveloper\j2ee\home\jazncore.jar;C:\jdeveloper\j2ee\home\oc4jclient.jar;C:\jdeveloper\rdbms\jlib\xdb.jar;C:\jdeveloper\diagnostics\lib\ojdl2.jar;C:\jdeveloper\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;C:\jdeveloper\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;C:\jdeveloper\BC4J\lib\adfshare.jar;C:\jdeveloper\BC4J\lib\adfm.jar;C:\jdeveloper\BC4J\lib\collections.jar;C:\jdeveloper\BC4J\jlib\adfui.jar;C:\jdeveloper\BC4J\lib\adfbinding.jar;C:\jdeveloper\BC4J\jlib\adfmtl.jar model.proxy.CI_RCUH_PERSONAL_DATA_PortClient
calling http://webapp/PSIGW/PeopleSoftServiceListeningConnector
expected element is missing: SMOKER_DT
at model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.runtime.PERS_SMOKERTypeShape_LiteralSerializer.doDeserialize(PERS_SMOKERTypeShape_LiteralSerializer.java:86)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at model.proxy.types.com.oracle.xmlns.enterprise.tools.schemas.m355439.runtime.Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape_LiteralSerializer.doDeserialize(Get__CompIntfc__RCUH_PERSONAL_DATAResponseTypeShape_LiteralSerializer.java:1105)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:250)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub._deserialize_CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:133)
at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub._readFirstBodyElement(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:119)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at model.proxy.runtime.CI_RCUH_PERSONAL_DATA_Binding_Stub.CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_Binding_Stub.java:76)
at model.proxy.CI_RCUH_PERSONAL_DATA_PortClient.CI_RCUH_PERSONAL_DATA_G(CI_RCUH_PERSONAL_DATA_PortClient.java:65)
at model.proxy.CI_RCUH_PERSONAL_DATA_PortClient.main(CI_RCUH_PERSONAL_DATA_PortClient.java:47)
Process exited with exit code 0.
Appreciate the help
MohamedHi Pete, the fact that IE cant display it is nither here nor there, thast just a test I suppose to see if
the XML file is valid. After I put the file through
the method of wipping the bad chars, IE can display it
no problem. Since you haven't posted any bad chars, we can't know whether or not that is a problem. If no encoding is given, IE may well assume Cp1252 rather than UTF-8. Alternatively, your bad chars may actually be bad chars-ie you are not producing valid UTF-8. Either way you end up with no capability to parse the stream.
But ,even still that IE can display the XML file with no complaint, my java app still
complains that the root element is missing. Then there's probably something else wrong.
Do my parser always and only read in encoding="UTF-8", or can they swap between styles depening on how the XML
file is delcared in the very first tag.All XML processors MUST accept the UTF-8 and UTF-16 encodings of Unicode 3.1. If nothing is present, then it should assume UTF-8, otherwise if the stated encoding is supported then it uses that.
Even if it doesnt start with BOM would you sudgest I take out the first line and replace it with what you
said "<?xml version="1.0" encoding="UTF-8">". The clients know they should be making there doc with
UTF-8, and if its anything else then its tuff titty. It should eliminate one possible bug- that the parser is not treating the charactier data as UTF-8, even though it should (assuming there are no mime-headers that give a different character encoding).
Post a hex dump with the bad chars and with the first few lines of your file, so we can actually see what the data is.
Pete -
"root element is missing" - UTF-8
I have 2 identical files, except they are stored in ISO-8859-1 and UTF-8.
"Test ansii.xml":
<?xml version="1.0" encoding="ISO-8859-1"?><e></e>
"Test utf8.xml":
<?xml version="1.0" encoding="UTF-8"?><e></e>
When I look at them in Internet Explorer they show correctly. But when I parse them with SAX in java I get an error when I parse the file stored in UTF-8.
import java.io.*;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
public static void testXML(){
try{
File ansiiFile=new File("Test ansii.xml");
File utf8File=new File("Test utf8.xml");
SAXParserFactory factory = SAXParserFactory.newInstance();
SAXParser saxParser = factory.newSAXParser();
//try ISO-8859-1
InputSource in = new InputSource(new InputStreamReader(new FileInputStream(ansiiFile),"ISO-8859-1"));
saxParser.parse(in,new DefaultHandler());
//try UTF-8
in = new InputSource(new InputStreamReader(new FileInputStream(utf8File),"UTF-8"));
saxParser.parse(in,new DefaultHandler());
}catch(Exception e){
e.printStackTrace();
}The first file parses well, but when I parse the file encoded in UTF-8 I get this error:
org.xml.sax.SAXParseException: The Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at test.Test.testXML(Test.java:44)
at test.Test.main(Test.java:25)
GilSigh, I found the answer.
http://www.i18ngurus.com/encyclopedia/byte_order_mark.html
byte order mark
Also known as BOM.
Name given to the Unicode character U+FEFF when used at the beginning of a Unicode byte stream. This invisible character generally know as ZERO WIDTH NO-BREAK SPACE (ZWNBSP) serves to identify unambiguously the Unicode transformation form used (and especially the byte order) for the stream. Indeed U+FFFE is a noncharacter so there is no risk of misinterpretation.
The following represents the byte signature of the character U+FEFF with the various Unicode Transformation Forms:
Bytes Encoding
00 00 FE FF UTF-32, big-endian
FF FE 00 00 UTF-32, little-endian
FE FF UTF-16, big-endian
FF FE UTF-16, little-endian
EF BB BF UTF-8
Historically the ZWNBSP was also used to indicate non-breaking but this use is now deprecated and replaced by the character U+2060 for that purpose.
http://p2p.wrox.com/archive/xslt/2002-11/79.asp
I suspect you edited the stylesheet using a text editor that inserts the
BOM at the start of the file. For example, I think Windows Notepad does
this.
Some XML parsers accept a BOM at the start of a UTF-8 file, others
don't. For example, the Crimson parser that comes with JDK 1.4 doesn't.
You basically need to find a text editor and an XML parser that agree
with each other about whether or not to use a byte order mark.
Alternatively, use a different encoding for the stylesheet, e.g.
iso-8859-1.
The code above found these strange bytes while expecting '<', and crashed of course.
Gil -
XML "Document root element is missing"
i have made a research in the forums but i have no definite solution about the error.
my flash client sends XML stream to my ServerSocket. and i want to parse these XML datas.
Document XMLDoc;
DocumentBuilderFactory Factory = DocumentBuilderFactory.newInstance();
DocumentBuilder Builder = Factory.newDocumentBuilder() ;
InputSource Is = new InputSource(new BufferedReader(new InputStreamReader(Sock.getInputStream(),"UTF-16LE")));
XMLDoc = Builder.parse(Is);
But now i have problem called "Document root element is missing". My XML stream comming from flash client :
// Actionscript code :
XDoc = new XML("<?XML version=\"1\"?><LOGIN><USERNAME>KHARON</USERNAME><PASSWORD>485009</PASSWORD></LOGIN>");
----- The XML data i want to sent to ...
<?XML version="1"?>
<LOGIN>
<USERNAME>KHARON</USERNAME>
<PASSWORD>485009</PASSWORD>
</LOGIN>
What is the problem ?now ?
// Actionscript
XSock = new XMLSocket();
XSock.connect("127.0.0.1",6667);
XDoc = new XML("<?xml version=\"1.0\"?><LOGIN><USERNAME>KHARON</USERNAME><PASSWORD>ew2345dfs</PASSWORD></LOGIN>");
// Java
public void run() {
try {
Document XMLDoc;
DocumentBuilderFactory Factory = DocumentBuilderFactory.newInstance();
DocumentBuilder Builder = Factory.newDocumentBuilder() ;
InputSource Is = new InputSource(new BufferedReader(new InputStreamReader(Sock.getInputStream(),"UTF-16LE")));
XMLDoc = Builder.parse(Is);
org.w3c.dom.Node Node = XMLDoc.getFirstChild();
System.out.print(Node.getNodeValue());
/* Incomming data test code
System.out.print("Listening to incomming messeges");
char in ;
while ( (in = (char)Reader.read()) != -1 ) {
System.out.print( in );
but the result
parser exception ( Document root element is missing )
ihave made a research ( i am newbee in XML) and i have made some declerations like <!DOCTYPE LOGIN <!Element ...
i have declared root element with DOC type decleration. but the same error. :|
since 2 days i am working over these, but solution = null -
Root element is missing - Response from a WCF service - WCF-Custom adapter
hi BizTalk experts,
In the production environment, as soon as the response is getting subscribed by the orchestration, the orchestration instance is getting suspended and the error that shows up in console is
"Root element is missing".
I have checked the actual response message in the console it is a well formed xml. This is happening only for a few responses from the WCF services. A majority of them are getting processed successfully. I have tried getting the parsing the response in a
pipeline (using custom pipeline component, the production one uses xml receive) and pass it to the orchestration, but it fails giving the same error.
Thanks in advance.Do you have any mapping done on the response message from the WCF service . ?
If so Better to copy the suspended message coming from the WCF service and validate against the custom response Schema you have created.
Note : You can try running fiddler tool to check the response from from the web service incase of failure.
Also try logging the message in the event viewer or any debug tool.
Thanks
Abhishek -
"Root element is missing." - While using Sharepoint List Source in SSIS.
Hi Team,
We are trying to import data from sharepoint list using sharepointlist source in SSIS. But the following error pops-up.
[SP_SRC_SharePointList [67]] Error: System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text)
at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)
We are unable to debug / move any further. Request your help.
Thank you.
Best Regards,
GayathriIt appears that the XML you trying to load does indeed not have the root element.
E.g.
<?xml version="1.0" encoding="UTF-8"?>
<iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii>
<iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii>
<iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii>has nonemust be<?xml version="1.0" encoding="UTF-8"?>
<Root><iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii>
<iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii>
<iii>
<kkk>test</kkk>
<ppp>000</ppp>
</iii></Root>
Arthur My Blog -
ERROR PROCESSING FILE "5016: A mandatory data element is missing"
B2B errors while processing file, following is from b2b.log...
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>null</correlationId>
<b2bMessageId>0A0101461190FFFF40D0000017918FE0-1</b2bMessageId>
<errorCode>AIP-51505</errorCode>
<errorText>5016: A mandatory data element is missing.</errorText>
<errorDescription>
<![CDATA[Machine Info: (falken8.falkentire.internal)
Segment GS(Functional Group Header) at guideline position (N/A) is missing. This segment's standard option is Mandatory.{br}{br}This segment was expected after:{br}{tab}Segment Count: 1{br}{tab}Character: 105 ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="InterchangeControlStandard_RepeatingSeparator" value="U"/>
<parameter name="InterchangeTrailerControlNumber" value="000000862"/>
<parameter name="InterchangeChildCount" value="1"/>
<parameter name="InterchangeTime" value="1205"/>
<parameter name="InterchangeUsageIndicator" value="P"/>
<parameter name="ErrorScope" value="Interchange"/>
<parameter name="SubelementDelimiter" value=">"/>
<parameter name="RepeatingSeparator" value=""/>
<parameter name="InterchangeSecurityInfo" value="Y "/>
<parameter name="InterchangeReceiverQual" value="12"/>
<parameter name="DecimalSeparator" value=""/>
<parameter name="InterchangeAuthorizationInfoQual" value="00"/>
<parameter name="ElementDelimiter" value="*"/>
<parameter name="InterchangeComponentElementSep" value=">"/>
<parameter name="InterchangeControlVersion" value="00401"/>
<parameter name="InterchangeAckRequested" value="0"/>
<parameter name="InterchangeSenderQual" value="08"/>
<parameter name="InterchangeReceiverID" value="6262810170 "/>
<parameter name="ReleaseCharacter" value=""/>
<parameter name="InterchangeDate" value="080321"/>
<parameter name="SegmentDelimiter" value="
"/>
<parameter name="InterchangeControlNumber" value="000000862"/>
<parameter name="InterchangeAuthorizationInfo" value="X "/>
<parameter name="InterchangeSenderID" value="9252671859 "/>
<parameter name="InterchangeSecurityInfoQual" value="00"/>
</errorDetails>
</Exception>
We are using EDI X12 over generic exchange. I double checked ecs file and data file. Passing all the mandatory elements. Also checked the delimeters and they match from datafile to setup.
Anyone have faced this error before? We opened a SR with Oracle and they are not able to figure it out. Please help.
Thanks
VenkatRamesh,
To give you a little background I used Spec Generator functionality to create ecs from dat file. Then I did an export to OracleAS Integration B2B format which generated xsd file. I also analyzed (using preprocessor) giving both ecs and dat file and it passed with no errors.
Following your suggestion I now excluded ISA/GS guidelines from the ecs file, exported to xsd and tried to process the dat file, and it gives following error messages now...It doesn't even identify the trading partner now. Please advise. Thanks
Description: Unable to identify the document protocol of the message
StackTrace:
Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:2619)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1365)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2030)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1962)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1920)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:463)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:335)
at java.lang.Thread.run(Thread.java:534) -
Archive Part of Photoshop Elements is missing error message
My old computer died with the last Win7 update. I'm trying to reinstall my Photoshop Elements 9 on my new computer. When I try to download and run Part 2 of 2 I'm getting the error that the archive part of PS Elements is missing. Part 1 of 2 downloaded and extracted fine as far as I can tell. How can I get PS Elements 9 back? Thanks.
Unfortunately when I click the link for the first file (Windows), I'm
getting the following error:
Access Denied
You don't have permission to access "
http://trials2.adobe.com/AdobeProducts/PSE/9/win32/PhotoshopElements_9_LS15.exe?"
on this server.
Reference #18.4fc5c541.1335638654.10992ce1
What's my next step?
Here is my order information from 09MAR2011:
Adobe Photoshop Elements 9 Plus
US $139.99
Windows, English, Download
Quantity: 1
Serial: <Serial number removed by Moderator> -
The multiRef elements are missing.
hello friends
I'm using the receiver soap adapters for consuming the axis 1.0 web services, in order to do this, i'm using the message types referenced in the wsdl imported.
But, the multiref elements are missing in the response message.
what I must do?
Regards.
Sergio Gómizhello Deviprasad !
I already imported the wsdl file like as external definition as WSDL Category Then I reused his message types for making the interface message.
The problem is that not recognizes following response payload (<altaInspeccionReturn href="#id0"/>)...
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:altaInspeccionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://mansub.webservice.mansub.gom.com/">
<altaInspeccionReturn href="#id0"/>
</ns1:altaInspeccionResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:RespuestaOperacion" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ServicioIntegracionMansub">
<codigoError xsi:type="xsd:int">0</codigoError>
<dato xsi:type="xsd:string" xsi:nil="true"/>
<mensaje xsi:type="xsd:string">inspeccion dada de alta</mensaje>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
In the monitoring adapter (runtime workbench) it appear this payload ...
- <ns1:altaInspeccionResponse xmlns:ns1="http://mansub.webservice.mansub.gom.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<altaInspeccionReturn href="#id0" />
</ns1:altaInspeccionResponse> -
DSDP 3.0 - CM 2012 R2 CU3 - Import Driver Packages Fail - Root element is missing
I realize that the Dell Server Deployment Pack 3.0 plug in is a vendor plugin to CM 2012 R2 but they (dell) are clueless. So I am hoping that there is some knowledge here.
I've opened a case with Dell and have used the Dell forums to document my issue here:
http://en.community.dell.com/techcenter/systems-management/f/4469/t/19613996
(there are some pics that might help.)
I have a ConfigMan 2012 R2 environment where I have integrated the Dell Server Deployment Pack 3.0. The installation succeeded and I have been able to also run the Dell System Integration using the DTK 4.4. I am doing all of this work directly
on the CM 2012 primary site server.
However, when I try to Import Dell Drivers, I get an error in the wizard:
I have tried multiple OM DVD's each one produces the same results:
OM_SMTD_801_A00.iso
OM_SMTD_802_A00.iso
OM_SMTD_740_A00.iso
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Microsoft.ConfigurationManagement.OemDeployment.DellDriverPackageImport.PackageSelection.GetPackageListXml(String dellCatalogXml)
at Microsoft.ConfigurationManagement.OemDeployment.DellDriverPackageImport.PackageSelection.PackageSelection_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Microsoft.ConfigurationManagement
Assembly Version: 5.0.0.0
Win32 Version: 5.0.7958.1401
CodeBase: file:///D:/Program%20Files/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.ConfigurationManagement.exe
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
.... (log continues)....
Any ideas?
My CM 2012 R2 is running on Windows 2012 R2.Thanks for your comment. I thought that Microsoft might have had some involvement with the writing of this tool:
http://en.community.dell.com/techcenter/systems-management/w/wiki/4125.dell-server-deployment-pack-dsdp-for-configuration-manager -
Document root element is missing: migrating spring app from tomcat
Hi!
can anybody help me with this issue?
I have ported my tomcat spring application to netweaver(6.40, SP 17, Windows 2k SP4) and i get the following error:
Error occured in invoking event "contextInitialized()" on listener clas
s com.webapp.listener.StartupListener. The error is: org.springfram
ework.beans.factory.BeanCreationException: Error creating bean with nam
e 'sessionFactory' defined in ServletContext resource [/WEB-INF/applica
tionContext-hibernate.xml]: Initialization of bean failed; nested excep
tion is org.hibernate.MappingException: Could not parse mapping documen
t in input stream
org.hibernate.MappingException: Could not parse mapp
ing document in input stream
at org.hibernate.cfg.Configuration.addIn
putStream(Configuration.java:430)
at org.springframework.orm.hibernat
e3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.j
ava:654)
at org.springframework.beans.factory.support.AbstractAutowir
eCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactor
y.java:1059)
at org.springframework.beans.factory.support.AbstractAut
owireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
ava:363)
at org.springframework.beans.factory.support.AbstractBeanFac
tory.getBean(AbstractBeanFactory.java:226)
at org.springframework.bea
ns.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java
:147)
at org.springframework.beans.factory.support.DefaultListableBea
nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.ref
resh(AbstractApplicationContext.java:320)
at org.springframework.web.
context.support.AbstractRefreshableWebApplicationContext.refresh(Abstra
ctRefreshableWebApplicationContext.java:134)
at org.springframework.w
eb.context.ContextLoader.createWebApplicationContext(ContextLoader.java
:246)
at org.springframework.web.context.ContextLoader.initWebApplica
tionContext(ContextLoader.java:184)
at org.springframework.web.contex
t.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:4
9)
at com.ifx.webapp.listener.StartupListener.contextInitialized(Star
tupListener.java:42)
at com.sap.engine.services.servlets_jsp.server.r
untime.context.WebEvents.contextInitialized(WebEvents.java:45)
at com
.sap.engine.services.servlets_jsp.server.container.ApplicationThreadIni
tializer.run(ApplicationThreadInitializer.java:112)
at com.sap.engine
.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.sec
urity.AccessController.doPrivileged(Native Method)
at com.sap.engine.
core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.
sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
C
aused by: org.dom4j.DocumentException: Error on line 1 of document : D
ocument root element is missing. Nested exception: Document root elemen
t is missing.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at
org.hibernate.cfg.Configuration.addInputStream(Configuration.java:421)
... 18 more
And yes, the xml files are valid xml files at least in anything i've used to look at them (eclipse, ultraedit, notepad, ie) :).....
Thank you!
ps. the file:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- Hibernate SessionFactory -->
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource" ref="dataSource"/>
<property name="mappingResources">
<list>
<value>package/ModelObj1.hbm.xml</value>
<value>package/ModelObj2.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
</props>
</property>
</bean>
<!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
<!-- Generic DAO - can be used when doing standard CRUD -->
<bean id="dao" class="com.dao.hibernate.BaseDAOHibernate">
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
</beans>hi istvan,
we are also migrating from websphere to netweaver.
But in spring framework we r facing problems.
We hav spring-beans.jar file in lib dir of Web Application. But When we are creating BeanFactory from xml as,
BeanFactory beanFactory = new ClassPathXmlApplicationContext ("client-config.xml");
clent-config.xml file contains :
[code<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
<property name="location">
<value>conf/service-client/client.properties</value>
</property>
</bean></beans>
[/code]
But code is giving exception: ClassNotFoundException -org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.
Wat is the problem ?
Kindly help.
We are also using JAAS for authentication.We are refering above code from our LoginModules login() method.
Regards,
sagar. -
Codec Code Premier Elements 13 missing
I just buy the newest Version 13. Unfortunately I can not see Movies from older Version such as PE12. How can I get the missing Codec Code? Thanks for any help
Many Thanks for your support. I download the new version of QuickTime and it works now, happy!
Thanks again
Placi
Von: A.T. Romano
Gesendet: Samstag, 1. November 2014 17:13
An: Placi Simonet
Betreff: Codec Code Premier Elements 13 missing
Codec Code Premier Elements 13 missing
created by A.T. Romano <https://forums.adobe.com/people/A.T.+Romano> in Premiere Elements - View the full discussion <https://forums.adobe.com/message/6889785#6889785>
Maybe you are looking for
-
Just like the description above. Changed my Apple ID online and in the phone, but when I go to the App Store it asks for the password to the old ID. Then when I put the password in it says that it's incorrect.
-
How do I get iPhoto to recognize a scanned jpeg?
I am trying to scan old photographs from books, and put them into iPhoto. Eventually all the photos will be used in an iMovie project. I am having trouble getting iPhoto to recognize the format of the scanned picture. When I try to import the jpeg f
-
Connection to server timed out
This does not immediately occur when I launch mail, but does so after some time (can be up to an hour or 2). I get this message: 'The server returned the error: The connection to the server "pop.netspace.net.au" on port 110 timed out.' This also occu
-
Financial Plan in Multiple Currency
Hello, In the HTML screens I want to create Budget Lines using Multiple Currencies. This means create a line in USD for a certain Task and for the same Task create also an Euro line. I've checked the Multiple Currency option at the Financial and Work
-
Is there any way I can still get logic pro 9? Can I buy it from someone?
Logic Pro 9 is no longer available and I have called the Apples sale department 5 times. Is there a way I can buy 9 another way?