XML Interface errors

Help. I can't get the XML interface for authentication to work from a Java program. Yes I know there's another interface for use with Java but I can NOT use it due to some class conflicts. I am having the same problems I've seen reported before in this and other forums. But one one seems to reply with a solution. I'm willing to admit that it is probably something silly but I don't seem to be able to figure out what's wrong.
I've tried sending two different XML strings to initialize the authentication request. For both I get an HTTP response code of
500 on the client. In the webserver log one gives me the "No request handler for service" error message the other the "Premature end of file" error.
What am I doing wrong?
thanks,
diane
[code
// host name replaced
String url = "http://myhost/amserver/authservice";
try {
// premature end of file error
String xmlCDATA = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> " +
" <RequestSet vers=\"1.0\" svcid=\"auth\" reqid=\"1\"> " +
" <Request> <![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +
       "<AuthContext version=\"1.0\">" +
       "<Request authIdentifier=\"0\">" +
       "<NewAuthContext orgName=\"dc=east,dc=sun,dc=com\"></NewAuthContext>" +
       "</Request> </AuthContext>]]> </Request> </RequestSet>";
// no request handler error
String xmlReq = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +
"<AuthContext version=\"1.0\">" +
"<Request authIdentifier=\"0\">" +
"<NewAuthContext orgName=\"dc=east,dc=sun,dc=com\"></NewAuthContext>" +
"</Request> </AuthContext>";
//String xmltext = xmlReq;
String xmltext = xmlCDATA;
URL urlTest = new URL(url);
HttpURLConnection connection = (HttpURLConnection) urlTest.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setRequestMethod("POST");
connection.setRequestProperty("Accept", "text/xml");
connection.setRequestProperty("Content-Length", String.valueOf(xmltext.length()));
connection.setRequestProperty("Content-Type", "text/xml; charset=\"UTF-8\"");
connection.connect();
OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream(),
"UTF8");
// Actually writing to local buffer - not posted to server yet
out.write(xmltext);
out.flush();
// Actual post to server happens on this call
InputStream is = connection.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
]

Thought I'd respond to my own post so no one else has to waste time on this.
The problem was that I had a space between the Request and CDATA tags. Removing the space <Request>[CDATA fixed the premature end of file problem. I also removed other spaces between tags just in case.
Below is an example of XML I used to get a valid response for the authentication service.
diane
[code]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><RequestSet vers="1.0" svcid="auth" reqid="1"><Request><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?><AuthContext version="1.0"><Request authIdentifier="0"><NewAuthContext orgName="dc=east,dc=sun,dc=com"></NewAuthContext></Request></AuthContext>]]></Request></RequestSet>"

Similar Messages

  • Error in Adobe form based in a xml interface when changing data element

    The adobe form is called from a web dynpro.
    The adobe form contain a page and subforms (positioned y flowered).
    The form worked out perfectally.
    Then edited a descriptive text in a data element, from se11.  The form continues worked out correctelly.
    Then modify a fixed text from the form.  The form is activated.
    Since this modification, the form stopped to work out, informing the following message:
    "WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server".
    I have updated the nodes of the web dynpro, the xml interface of the form, is all activated and this is still not working.
    Someone could help me? Does anyone know what it could be happened?
    Is there a way to re-generate the form?
    Thanks you very much.
    Regards,

    The data element is char 4.  I have only changed descriptive texts.
    I have take take all the objects to the previous version (data element, wd view, interface xml, adobe form), and the form is still not working.
    Do you have another posible solution for this?
    Thanks you for your answer.
    Kind regards,

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • Web Service: XMLUnmarshalException: XML Deserialization Error

    Hi,
    I am trying to use a complex web structure in web service.
    I am simply trying to display some data from that web service in my view.
    I am getting the foll error:
    <b>
    Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.siebel.com/xml/Account Interface]<Account> is required in <SiebelMessage> but can not be found.[Ljava.lang.StackTraceElement;@2fe4e7
    </b>
    I have gone thru most of the posts but they all have XMLMarshalException and not XMLUnmarshalException.
    Any inputs please?
    Regards,
    Dev

    Hi Bala,
    I tried your suggestion but that did not work!
    I am not trying to test that web service via WSNavigator.
    Problem is my service does not come there once i deploy it.
    I am a newbie to WebServices so please correct me where am I wrong in these steps:
    1. I create a Deployable Proxy Project
    2. Then, i create a new Client Proxy Definition
    3. I enter pkg name, Proxy name, choose Local System. Then i give the WSDL location and finally press Finish.
    (It has created several files including ClientAPI.jar)
    4. Lastly, i chose Build EAR and deployed it.
    But i cannot see my web service in that list!
    Can you please help me in checking the request-response cycle for this web service.
    Regards,
    Dev

  • How To Debug XML Serialization Error while deploy web services

    <b>My Scenario</b>
    I've created a Java Projects with a Class. From there I convert it to Web Service by creating the virtual interface, the web services definition and the web service configuration. After that I deploy to the SAP WAS (SP11). At this instant I only try to deploy the web services with the intension to modify it later for GP to invoke.
    <b>Result</b>
    When deployment the Web Service I get an XML Deserialization error. Error text is below.
    <b>Question</b>
    How do I go about debugging this? What logs are good starting point? Can I capture the entire SOAP response message somehow?
    Thanks
    <b>
    Error Test</b>
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
                              at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
                              ... 27 more
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:681)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.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)
                         Caused by: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/TimeoffService. . Additional info: none
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
                              at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:669)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.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)
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application sap.com/TimeoffService. . The error refers to application: none, jar: , web service: .
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
                              ... 21 more
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application sap.com/TimeoffService, web service timeoffServiceConfig, location message: type: jar file, location: E:\usr\sap\SIC\DVEBMGS01\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1186995503687\TimeoffService.wsar . . Additional info:
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
                              ... 23 more
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse source type: zip entry, zip file location: E:\usr\sap\SIC\DVEBMGS01\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1186995503687\TimeoffService.wsar, entry: dsta/timeoff/test/business/TimeoffServiceVI.videf . Additional info:
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:925)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:817)
                              ... 26 more
                         Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
                              at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
                              ... 27 more
                              at com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:64)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
                              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
                              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
                              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
                              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
                              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:144)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:322)
                              ... 8 more

    Hi Paul..
       This is a common problem when you are working with webservices, i have worked with them and not always the response of the ws comes like de wsdl says, depends of your wsdl provider.
       I suggest you that checks your response of your webservice with the Enterprise Portal Web Services Checker View
      For see this view in NetWeaver go to Window > Show View > Other > Enterprise Portal Web Services Checker
      Put the wsdl url definition in wsdl url textbox
    and the click in the letter W, this procedure brings you all methods and everything for play with the WEB Services.. and you can check the response of you webservices call funtion, checks that all the tags comes like says in the wsdl
    Good luck
    Joshua

  • Authentication with XML interface

    Hello,
    I tried to use the XML interface of the Access Manager.
    When I use the following perl script to get the initial auth context.
    #!/usr/bin/perl -w
    use strict;
    use LWP::UserAgent;
    use HTTP::Request;
    my $ua = LWP::UserAgent->new(env_proxy => 1, keep_alive => 1, timeout => 30, );
    my $data_to_send = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><AuthContext version=\"1.0\"><Request authIdentifier=\"0\"><NewAuthContext orgName=\"dc=ifbus,dc=lan\"></NewAuthContext></Request></AuthContext>";
    my $head = HTTP::Headers->new(Content_Type => "text/xml", "ID" => "dix");
    my $req = HTTP::Request->new('POST', 'http://dione.ifbus.lan:80/amserver/authservice', $head, "$data_to_send");
    my $response = $ua->request($req);
    print $response->as_string;
    print $response->content;I get this exception from the Access Manager
    [02/Jan/2006:10:51:51] failure ( 2291): for host 10.0.1.254 trying to POST /amserver/authservice, service-j2ee reports: Standar
    dWrapperValve[pllservice]: WEB2792: Servlet.service() for servlet pllservice threw exception
    javax.servlet.ServletException: No request handler for service: at com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:189) at com.iplanet.services.comm.server.PLLRequestServlet.doPost(PLLRequestServlet.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.sun.mobile.filter.AMLController.doFilter(AMLController.java:163) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)Any suggestions?
    Jens

    I'm trying to follow the model in this thread but am running into a problem...
    Using Access Mgr 6.0, I can initiate a session & get requirements but my Auth request is timing out....
    Sending:
    <?xml version="1.0" encoding="UTF-8"?>
    <RequestSet version="1.0" svcid="auth" reqid="1">
    <Request><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
    <AuthContext version="1.0">
    <Request authIdentifier="AQIC5wM2LY4SfcxAsgWMsX1lK+jDy/GETczAj0ffJuHMSQ4=">
    <SubmitRequirements>
    <Callbacks length="2">
    <NameCallback>
    <Value>username</Value>
    </NameCallback>
    <PasswordCallback>
    <Value>password</Value>
    </PasswordCallback>
    </Callbacks>
    </SubmitRequirements>
    </Request>
    </AuthContext>]]></Request>
    </RequestSet>
    Got:
    500 (Internal Server Error) read timeout
    Client-Date: Wed, 05 Apr 2006 17:45:43 GMT
    if I change the XML a bit...
    Sending:
    <?xml version="1.0" encoding="UTF-8"?>
    <RequestSet version="1.0" svcid="auth" reqid="1">
    <Request><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
    <AuthContext version="1.0">
    <Request authIdentifier="AQIC5wM2LY4Sfczf+5e7NFL7b1gkBPcoaBpeOUfpVFM6ZAY=">
    <SubmitRequirements>
    <Callbacks length="3">
    <PagePropertiesCallback isErrorState="false"><ModuleName>LDAP</ModuleName></PagePropertiesCallback>
    <NameCallback>
    <Value>username</Value>
    </NameCallback>
    <PasswordCallback>
    <Value>password</Value>
    </PasswordCallback>
    </Callbacks>
    </SubmitRequirements>
    </Request>
    </AuthContext>]]></Request>
    </RequestSet>
    Got:
    HTTP/1.1 200 OK
    Connection: close
    Date: Wed, 05 Apr 2006 17:51:04 GMT
    Server: Netscape-Enterprise/6.0
    Content-Type: text/plain
    Client-Date: Wed, 05 Apr 2006 17:51:05 GMT
    Client-Peer: 10.10.10.100:58080
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="auth" reqid="1">
    <Response><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <AuthContext version="1.0"><Response authIdentifier="AQIC5wM2LY4Sfczf+5e7NFL7b1gkBPcoaBpeOUfpVFM6ZAY="></Response></AuthContext>]]></Response>
    </ResponseSet>
    I know that addind the PageProperites doesn't really make sense but I'm at a loss...
    Can any one help to point me in the right direction?
    Thanks
    -Sean

  • Using ACE's XML interface

    Hello,
    I'm encountering troubles with ACE's XML interface:
    -trying to perform a "show running config" I did the following via curl
    curl "http://www:[password]@[ACE_IP_ADRESS]/bin/xml_agent" -k  -d "xml_cmd=<request_xml context-name=\"Admin\"><show_running-config/></request_xml>"
    But ACE replies that the context name is invalid!! And when I do the same thing without specifying a context name it works and display the running config for Admin context!
    The problem is that I need to do this show command in other contexts. I think specifying a context name is similar to executing a "changeto" command from the CLI so I have to do it...
    Thank you for helping

    Hello guys,
    I'm trying to accomplish something different, but it fits the topic.
    I want to get the show resource allocation command output via XML interface.
    Here's the xml_cmd that I tried:
    xml_cmd=
    But I'm getting the following error:
    command - not supported by xml interface
    What is the correct xml_cmd I should send to ACE to get the output of show resource allocation?

  • Employee W2 XML Interface EXTREMELY slow

    The Employee W2 XML Interface on about 2,500 employees is running extremely slowly. I kicked it off at 1 p.m., Saturday Dec. 8. It is still not complete.
    This is a test system where we are preparing for year-end processes. I have completed the Year End Pre-Process fine.
    Is anyone else experiencing this?

    Just now figured out that even the XML Output is not correct. It has some data with the content "
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource "
    How to fix the XML first?? Please any help is really appreciable.

  • XML Import Error in ODI

    Hello ODI Gurus,
    I am getting a nullpointer exception while importing an Interface. I tried all modes. I have few more interfaces in the same folder which got imported successfully. The error message is also not very helpful. What could have possible gone wrong? Any suggestions?
    -snehal
    The error:
    XML Import Error
    java.lang.NullPointerException
    at com.sunopsis.dwg.dbobj.j.b(j.java)
    at com.sunopsis.dwg.dbobj.j.a(j.java)
    at com.sunopsis.dwg.dbobj.SnpTxtCrossR.batchCrossRefComputing(SnpTxtCrossR.java)
    at com.sunopsis.dwg.i.a(i.java)
    at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java)
    at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java)
    at com.sunopsis.graphical.l.ow.e(ow.java)
    at com.sunopsis.graphical.l.ld.b(ld.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
    at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
    at java.lang.Thread.run(Thread.java:619)
    ----------------------------------------------------------------------------------------------------------------------------------------

    I am also getting a XMLImport error (nullpointer exception) while importing an Interface and Packages..
    Can any one help me out....
    Error is:
    java.lang.NullPointerException
         at com.sunopsis.dwg.DwgObject.computeNextId(DwgObject.java)
         at com.sunopsis.dwg.DwgObject.getNextId(DwgObject.java)
         at com.sunopsis.dwg.dbobj.SnpPackage.duplicationComputeNewPrimaryKey(SnpPackage.java)
         at com.sunopsis.dwg.h.a(h.java)
         at com.sunopsis.dwg.i.a(i.java)
         at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
         at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java)
         at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java)
         at com.sunopsis.graphical.a.oy.f(oy.java)
         at com.sunopsis.graphical.a.lf.b(lf.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)

  • XML - 0112 Error on parsing using SAX and xml file in InputSource object.

    I need to parse a XML string and extract some information. I have to use SAX parser. I'm converting hte string to InputSource and then trying to parese.
    i'm getting XML-0112 error, my guess is that it is not able to locate DTD file but i tried hardcoding the whole path in DOCTYPE tag.
    i tried doing setSystemId also but no luck.
    null

    Can you post a simple test case to look at?

  • Interface errors (crc, in/output, collisions etc.) via snmp

    Hi,
    I'm trying to understand how to get interface errors via SNMP.  I do get stats via SNMP for ifInErrors / ifOutErrors etc, but I'm trying to get output via SNMP for the errors visible via the 'sh int x' command - CRC errors, input / output errors, collisions, runts. giants etc.).
    1) The SNMP ifInError / ifOutError seems to give an overall counter of all errors from the time the device has started - Am I correct about this?
    2) Is there any way I can get the interface-specific errors noted above via SNMP?
    Thanks,
    Mario

    Depends on the device and version of code, but most likely you will get what you want from the CISCO-IF-EXTENSION-MIB.  Look at objects like cieIfInRuntsErrs, cieIfInGiantsErrs, and cieIfInFramingErrs.  You will also get some ethernet-specific errors from the ETHERLIKE-MIB.

  • Interface errors

    Is there an script that can monitor interface errors (input and output errors) and send an email out when it reaches threshold?
    Thanks
    Sent from Cisco Technical Support iPhone App

    Sure.  Here's an example:
    event manager applet error_monitor_GigabitEthernet0/1
    event interface name GigabitEthernet0/1 parameter input_errors entry-op ge entry-val 5 entry-type increment poll-interval 10
    action 2.0 cli command "enable"
    action 3.0 cli command "show int GigabitEthernet0/1 | inc error"
    action 4.0 mail server 10.1.1.1 from [email protected] to [email protected] subject "Errors on interface GigabitEthernet0/1" body "
    Interface GigabitEthernet0/1 has seen $_interface_delta_value input errors in the past 10 seconds: $_cli_result"

  • Open DeviceNet interface error when TestStand call VIs of NI PCI-8532

    Hello,
    We use NI PCI-8532 was used as DeviceNet master to do functionality test with a slave (AC Drive).
    But when open DeviceNet interface, it happen the error.
    We can't find the solution and hope to find help from you.
    The basic sequence in TestStand is:
    1). Call "Open DeviceNet Interface.vi" to open interface and creat interface object.
         Interface(master) setting: interface name=dnet0, MAC ID=0, baudrate=125000bps
    2). Call "Open DeviceNet IO.vi" to creat DeviceNet IO object.
         Device(slave) setting: MAC ID=63
    3). Call "Operate DeviceNet Interface.vi" and operation code=start
    4). Call "Wait For State.vi"
    5). Call "Read DeviceNet IO.vi" to read data from IO object
    6). Call "Close Object.vi" to close IO object handle
    7). Call "Close Object.vi" to close interface object handle
    Remark, these DeviceNet VIs locates at "C:\Program Files\National Instruments\LabVIEW 2012\vi.lib\DeviceNet\VIAPI".
    First time to run sequece in TestStand, it can pass to run step 1) to open DeviceNet interface.
    But once there is some error with these steps, and it will happen "Open DeviceNet Interface" error (error code=0xBFF62006) when run these steps again.
    Then even use LabVIEW DeviceNet example to test, and it happen the same error except restart computer.
    The DeviceNet example locates at "C:\Program Files\National Instruments\LabVIEW 2012\examples\NI-Industrial Communications for DeviceNet\Basic Examples\PXI & PCI\MixedCommunication.vi".
    Some information more:
    PC operate system: Windows XP SP3
    LabVIEW version: 2012 SP1
    TestStand version: 2012 SP1
    PCI 8532 driver version: 2.3.0
    Other installed PCI board: PCI 8531 CANOpen

    The following errors may be resolved by resetting the CAN, DeviceNET or LIN device:
    Error -1074388986 occurred at ...
    NI-CAN:  (Hex 0xBFF62006) The object is already open in another application.  Solutions: Ensure that only one application at a time uses an object , and that you close all objects prior to exiting your application (don't use LabVIEW toolbar's Abort button).
    Error -1074388969 occurred at ...
    NI-CAN: (Hex 0xBFF62017) This attribute's value must be provided prior to the Open. Solutions: Set the attribute using the Config function before the Open, and do not set the attribute at any later time; Do not configure multiple CAN Objects for the same ID.
    SO,you should reset the DeviceNet.
    And another similar issue can explain some points of your problem  http://digital.ni.com/public.nsf/allkb/7D9383E9BEAD0B21862571640002F687?OpenDocument

  • Since installing the latest update, Firefox will not load; it gives me the following error -- XML Parsing Error: not well formed.

    since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
    XML Parsing Error: not well formed
    locations chrome://browser/content/browser.xml
    Line Number 1191, column 20:
    utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
    please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
    I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
    Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
    1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
    2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
    3. there may have been other errors, but I did not find them.
    How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
    Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
    Thanks,
    NOEL

    Some how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
    firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none

  • SubTemplate call is failing with XML-22002 error

    Hi,
    I am using Oracle BI Publisher 10.1.3.4 in WebLogic Server 10.3.6.0.
    Subtemplate reference is used in some reports. Whn we click on view of such report, below error is shown.
                   "The report cannot be rendered because of an error, please contact the administrator."
    The patch 9017232 is also installed.
    The detailed error log is below:
    [111413_123806333][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    <Line 3, Column 71>: XML-22002: (Fatal Error) Error while processing include XSL file (xdoxsl:///FCReports/HeaderFooter_LandScape.xsb).
    <Line 78, Column 312>: XML-22008: (Error) Namespace prefix 'ref' used but not declared.
    @Line 3 ==> <xsl:import href="xdoxsl:///FCReports/HeaderFooter_LandScape.xsb"/>
    [111413_123806337][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
        at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
        at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
        at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
        at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
        at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
        at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:554)
        at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:257)
        at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
        at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
        at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:97)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'ref' used but not declared.
        at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
        at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:614)
        ... 38 more
    Syntax used in Report is
    <?import:xdoxsl:///Reports/HeaderFooter_LandScape.xsb?loc=en_US><?call@inlines:Header?><?with-param:PM_REPORT_NAME;string('Customer details report')?><?end call?>
    XDO.CFG file contents
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
       <properties>
          <property name="bursting-multithreading-on">false</property>
          <property name="xdk-secure-io-mode">false</property>
       <property name="xslt-scalable">true</property></properties>
    </config>
    Please suggest whether this issue is with BI report setup.
    Thanks in Advance.
    Regards,
    Bala.

    Hi Surya,
    Would you let us know from where you are calling web service and for what?
    And if possible provide error log as screenshot or txt file. So that it will be easy to trace issue.
    For gland your issue, go through below posts
    Not able to execute MII Transaction as web service
    Error calling BLS Transaction as Web service
    Problem in generating wsdl ?
    Create MII transaction & MII Web Service and consume them in ABAP
    Regards,
    Praveen Reddy

Maybe you are looking for

  • Mail application wont open?

    I just bought a macbook pro and updated the OS X mountain lion software. Everything was fine, I was clearing out my emails from the Mail app and it radnomly closed but the light under it was still on. I tried to quit it multiple time but it would now

  • Safari 5.1.2 / Lion question

    Is it my css or Safari running in Lion that displays the blue border around hover links? Regarding this page / site http://jordieshapiro.com/home.html

  • Help! My calendar synch no longer works!

    I use my work PC to synch my calendar + contacts, and my home Mac to synch music/videos with my iPhone. I typically synch my calendar with my phone every other day, and maybe once a week with my Mac. Ever since I upgraded my iphone to the new Apple f

  • Service accounts rights in Sql Server 2008 clustered installation.

    I have to install  Sqlserver 2008 in a 2 node clustered environment in Windows Server 2008 R2. For that I have set up 4 less privileged a/c in domain for Db engine, Sql agent, Reporting services and Analysis service. During the installation I plan to

  • Api or open interface for ABC class

    Hi All, Is ther any api or open interface available for mass updating items with new ABC class ? Regards, Sam