Error when mapping an XML coming as in Source Element

Hi,
We have a requirement where the XML is sent in an element as given below :
The Incoming Payload is of the below format :
Source :
<?xml version="1.0" encoding="UTF-8"?>
<ResponsePayload>
   <RespString><?xml version="1.0" encoding="UTF-8"?>
<Devices>
   <Device>1</Device>
   <Name>1</Name>
</Devices></RespString>
</ResponsePayload>
The target XML is below :
Target:
<?xml version="1.0" encoding="UTF-8"?>
<Devices>
   <Device/>
   <Name/>
</Devices>
I used the below xslt mappings in two steps as suggested by Udo .
Re: Xml String mapped to XML Node
XSLT Mapping1 :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output omit-xml-declaration="yes"/>
     <xsl:template match="/">
          <xsl:for-each select="//RespString">
               <xsl:value-of select="." disable-output-escaping="yes"/>
          </xsl:for-each>
     </xsl:template>
</xsl:stylesheet>
XSLT Mapping 2 :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:template match="/">
          <ResponsePayload>
               <xsl:copy-of select="//Devices"/>
          </ResponsePayload>
     </xsl:template>
</xsl:stylesheet>
When executing Iam getting the belwo error :
javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The processing instruction target matching "[xX][mM][lL]" is not allowed
cansomeone help me the reason for the error and how I can correct it .
Thanks
Rajesh

Hi Rajesh,
i can give you different approach...if the sender side is an File adapter and if ur picking the XML or CSV then write a module in sender file adapter to change the XML file.
Characters like "<" and "&" are illegal in XML elements.
"<" will generate an error because the parser interprets it as the start of a new element.
so u need to add "<![CDATA[" and ends with "]]>"......now the data will come into PI as <![CDATA[<?xml version="1.0" encoding="UTF-8"?>]].
in the target side the data will be passed as <?xml version="1.0" encoding="UTF-8"?>.
Regards,
Phani

Similar Messages

  • Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    Hi folks,
    I am using a cascaded mapping in my OM. I have a graphical mapping followed by the Java mapping. It is a flat file to IDOC mapping. Everything works fine in Dev but when I transport the same objects to QA, the Operation mapping though it doesn't fail in ESR testing tool, gives the following message and there is no output generated for the same payload which is successfully tested in DEV. Please advise on what could be the possible reasons.
    Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    kalyan,
    There seems to be an invalid xml payload which causes this error in ESR not generating the tree view. Please find the similar error screenshot and rectify the payload.
    Mutti

  • Error when parsing the XML document

    hi all.
    i have the next problem.
    the sender sistem send to XI an XML. some tags send a '#' caracter.
    Sender Service send:
    Torre B1 - B#Unimev
    when Im traying to test XML inbound, XI show the next error:
    Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x14(:main:, row:1, col:992))
    XML:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ZDEBMAS6>
    -   <IDOC BEGIN="1">
    -      <EDI_DC40 SEGMENT="1">
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>300</MANDT>
             <DOCNUM>0000000000339708</DOCNUM>
             <DOCREL>640</DOCREL>
             <STATUS>30</STATUS>
             <DIRECT>1</DIRECT>
             <OUTMOD>2</OUTMOD>
           </EDI_DC40>
    -      <E1KNA1M SEGMENT="1">
              <MSGFN>009</MSGFN>
              <REGIO>07</REGIO>
              <STCD1>20147972750</STCD1>
              <FITYP>01</FITYP>
              <STCDT>80</STCDT>
              <STCD3>0</STCD3>
    -         <Z1KNA1M SEGMENT="1">
                 <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
                  <ZZSOCRCV>3100</ZZSOCRCV>
                  <ZZGBDAT>00000000</ZZGBDAT>
              <b> <ZZAD_STREET_CO>Torre B1 - B Unimev</ZZAD_STREET_CO></b>
                  <ZZAD_ROOMNUM_CO>PB</ZZAD_ROOMNUM_CO>
                  <ZZAD_FLOOR_CO>E</ZZAD_FLOOR_CO>
                  <ZZAD_PSTCD1_CO>M5521AAR</ZZAD_PSTCD1_CO>
                  <ZZAD_CITY1_CO>Mendoza</ZZAD_CITY1_CO>
                  <ZZAD_REGIO_CO>07</ZZAD_REGIO_CO>
               </Z1KNA1M>
               <Z1ADRCM SEGMENT="1">
                  <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
               <b><STREET>Torre B1 - B Unimev</STREET></b>
                  <FLOOR>PB</FLOOR>
                  <HOUSE_NUM2>E</HOUSE_NUM2>
                  <CITY1>Mendoza</CITY1>
                  <POST_CODE1>5521</POST_CODE1>
                  <COUNTRY>AR</COUNTRY>
                  <REGION>07</REGION>
                  <LANGU>S</LANGU>
              </Z1ADRCM>
          </E1KNA1M>
        </IDOC>
    </ZDEBMAS6>
    Message was edited by: Rodrigo Pertierra
    Message was edited by: Rodrigo Pertierra

    Hi Rodrigo,
    Do you use a specific "encoding" like UTF-8 or ISO-8859-1 in your Sender CC.
    Try changing the Transfer mode to Binary instead of Text.
    Also go through these links:-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Invalid char in XML from inbound IDoc
    Hope this provides a solution.
    Regards.
    Praveen

  • Error when processing asset under construction (AuC) for WBS element message no cj824

    Hi,
    i am getting error message when i change dates in activities.
    Error when processing asset under construction (AuC) for WBS element
    Message no. CJ 824
    i have checked related post but did not find any solution. also check SAP Note but not related to my issue.
    Please guide.
    thanks
    Sunil

    Hi Ken,
    Please check below screens:
    according to this error message AUC has some missing field or some incorrect value. but when i checked via program RAUNVA00 which will display
    Incomplete Assets - Detail List.
    but this program does not return any incompleteness.
    i found many threads and SAP Not but none of is related to my program. this problem comes when i change dates in activity and save the project.
    Please suggest what to do now.
    thanks
    Sunil

  • Error when mapping a node with multiple occurence

    Hi,
    When I try to run my process where I have countries defines in a drop down box in the UI. I get the following error when completing this step. The target in the mapping is a dataobject which should be able to occure multiple times.
    Here is the mapping:
    Source:                                          Target:
    Country(Node)                             Country(Node)
           Country(String)
           Code(String)
    com.sap.glx.adapter.api.AdapterException: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.startProcesses(BPMNAdapter.java:1444)
    at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.startProcesses(BPMNAdapter.java:1540)
    at com.sap.glx.process.impl.ProcessManagerImpl.startProcess(ProcessManagerImpl.java:938)
    at com.sap.glx.process.impl.ProcessManagerBean.startProcess(ProcessManagerBean.java:372)
    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:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at $Proxy453.startProcess(Unknown Source)
    at com.sap.tc.bpem.wdui.procstarter.procstarter.comp.ProcStarterComp.startProcess(ProcStarterComp.java:377)
    at com.sap.tc.bpem.wdui.procstarter.procstarter.comp.wdp.InternalProcStarterComp.startProcess(InternalProcStarterComp.java:175)
    at com.sap.tc.bpem.wdui.procstarter.procstarter.comp.ProcStarterCompView.onActionStartProcess(ProcStarterCompView.java:626)
    at com.sap.tc.bpem.wdui.procstarter.procstarter.comp.wdp.InternalProcStarterCompView.wdInvokeEventHandler(InternalProcStarterCompView.java:325)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:468)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1505)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1319)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:154)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:80)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:571)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:602)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:523)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:270)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:729)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:256)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:258)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:202)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:95)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:240)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:457)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:250)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:517)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.process.adapter.bpmn.impl.BPMNAdapter.startProcesses(BPMNAdapter.java:1429)
    ... 100 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:517)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:88)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 102 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Create_Customer:START_CONTROL_EVENT_Start_0(
          com.sap.glx.adapter.BPMNAdapter:Request request,
          com.sap.glx.adapter.BPMNAdapter:Event_0_Start_0_be1d130db236787f7569b7e757e720a8 event){
      initiator=request:initiator;
      kicker=request:kicker;
      parent=new com.sap.glx.adapter.BPMNAdapter:Instance_0_prcMido_be1d130db236787f7569b7e757e720a8(initiator, null, kicker, false);
      token=new com.sap.glx.adapter.BPMNAdapter:Token_0_prcMido_be1d130db236787f7569b7e757e720a8(parent, 0);
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:addParameter(request);
      exit:addParameter(event);
      exit:onActivation("48EDB5A6AD6960C095D511DDA4DA0013E88242DB", parent, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_8_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_2=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Approver_PotentialOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_0_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_3=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_Enhance_PotentialOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_10_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_4=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_Administrators_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_1_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_5=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_Creator_ExcludedOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_6=new com.sap.glx.adapter.internal.ContainerAdapter:View_4_Approver_ExcludedOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_2_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      context_0=new com.sap.glx.adapter.internal.ContainerAdapter:Context_0_DO_Customer2_be1d130db236787f7569b7e757e720a8(parent, scope, 0, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_7=new com.sap.glx.adapter.internal.ContainerAdapter:View_5_Create_Customer_In_MDM_PotentialOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_5_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_9=new com.sap.glx.adapter.internal.ContainerAdapter:View_7_Enhance_ExcludedOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_12_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_8=new com.sap.glx.adapter.internal.ContainerAdapter:View_6_Creator_PotentialOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      view_11=new com.sap.glx.adapter.internal.ContainerAdapter:View_9_TextVariables_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_14_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      role_10=new com.sap.glx.adapter.internal.ContainerAdapter:View_8_Create_Customer_In_MDM_ExcludedOwners_be1d130db236787f7569b7e757e720a8(parent, scope, -1, false);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_6_Create_Customer_be1d130db236787f7569b7e757e720a8(parent);
      context_1=new com.sap.glx.adapter.internal.ContainerAdapter:Context_1_DO_Customer_be1d130db236787f7569b7e757e720a8(parent, scope, 0, false);
      message=request:getData();
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("http://mido.se/", "$http://mido.se/:StartProcess2", message, "61302BDB06E4BB8B9F557FC1D1D2ACC9");
      data=context_1:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "872ED00C5EA0B74AE6F92027833B9366");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("sap.com/glx/", "$sap.com/glx/:DO_Customer", copy, "872ED00C5EA0B74AE6F92027833B9366");
      mapper:map("48EDB5A6AD6960C395D511DD84C80013E88242DB_be1d130db236787f7569b7e757e720a8", yves_in, yves_out);
      data=yves_out:getData("sap.com/glx/", "$sap.com/glx/:DO_Customer", "872ED00C5EA0B74AE6F92027833B9366");
      context_1:setData(data);
      delete yves_in;
      delete yves_out;
      delete mapper;
      delete event;
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:69)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:241)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:57)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 105 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "mapper:map("48EDB5A6AD6960C395D511DD84C80013E88242DB_be1d130db236787f7569b7e757e720a8", yves_in, yves_out)"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:675)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:64)
    ... 108 more
    Caused by: java.lang.IllegalStateException: Occurrence violated
    at com.sap.glx.mapping.execution.implementation.node.SdoNode$PrimitiveItemContainer.appendNode(SdoNode.java:372)
    at com.sap.glx.mapping.execution.implementation.assignment.SetAssignment.assign(SetAssignment.java:23)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:145)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapMapping(Interpreter.java:140)
    at com.sap.glx.mapping.execution.implementation.Interpreter.map(Interpreter.java:135)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.invoke(Transformer.java:1797)
    at com.sap.glx.core.internaladapter.Transformer$TransformerInvocationHandler.invoke(Transformer.java:399)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:459)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:247)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:670)

    Hi Michael,
    could you provide much more details about the source and target structures and the mappings you need to define?
    Something like :
    Source:
    Country (single or multiple? )
    ..Country (single or multiple? )
    ..Code (single or multiple? )
    Target
    Country (single or multiple? )  --> does it have the same type as the source node?
    In general If you try to assign a list of values to target which accepts single value you are most likely to get exception like the one given in your post.
    In other words let's assume :
    Country[]     Country
    ..Country------>Country
    ..Code
    this will throw exception at runtime in most of the cases.
    The reason is that the result of select Country/Country is a list with all Countries. And then the engine will try to assign this list to the single valued target node.
    Is this what you have described or it si something different?
    BTW for the example above there is a fix in SP1 and such kind of mappings are marked as erroneous.
    Best Regards,
    Boris

  • Detecting transform errors when using org.xml.sax.XMLFilter

    I am using javax.xml.transform.sax.SAXTransformerFactory.newXMLFilter to transform xml against a pipeline of stylesheets (See function testPipelineTransform in the example below). The process works okay, excepting that I cannot figure out how to detect errors in the transformation process.
    I would like to achieve the same result for the pipeline process as I would for a single transformation using javax.xml.transform.Transformer.setErrorListener. The example below demonstrates how the call to javax.xml.transform.Transformer.setErrorListener does not generate the same result when using org.xml.sax.XMLFilter as it does when using a single transformation.
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.SAXException;
    import org.xml.sax.InputSource;
    import org.xml.sax.XMLReader;
    import org.xml.sax.XMLFilter;
    import javax.xml.transform.ErrorListener;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    public class FilterChain {
        static private final String newline = System.getProperty("line.separator");
         public static void main(String argv[]) {
              System.out.println("Testing pipeline transform");
              testPipelineTransform();
              System.out.println("Testing single transform");
              testXsltSingleTransform();
         } // main
         static private void testPipelineTransform() {
              try {
                   // Set up the input stream
                   BufferedInputStream bis = new BufferedInputStream(
                             new ByteArrayInputStream(getExample().getBytes()));
                   InputSource input = new InputSource(bis);
                   // Set up to read the input file
                   SAXParserFactory spf = SAXParserFactory.newInstance();
                   SAXParser parser = spf.newSAXParser();
                   XMLReader reader = parser.getXMLReader();
                   // Create the filters
                   SAXTransformerFactory stf = (SAXTransformerFactory) TransformerFactory
                             .newInstance();
                   XMLFilter filter1 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet1())));
                   XMLFilter filter2 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet2())));
                   // Wire the output of the reader to filter1
                   // and the output of filter1 to filter2
                   filter1.setParent(reader);
                   filter2.setParent(filter1);
                   // Set up the output stream
                   StreamResult result = new StreamResult(System.out);
                   // Set up the transformer to process the SAX events generated
                   // by the last filter in the chain
                   Transformer transformer = stf.newTransformer();
                   transformer.setErrorListener(new ErrorListener() {
                        public void error(TransformerException te)
                                  throws TransformerException {
                             System.out.println("Transform generated Transform Error");
                             System.out.println(te.getMessage());
                        public void fatalError(TransformerException te)
                                  throws TransformerException {
                             System.out
                                       .println("Transform generated Transform Fatal Error");
                             System.out.println(te.getMessage());
                        public void warning(TransformerException te)
                                  throws TransformerException {
                             System.out.println("Transform generated Transform Warning");
                             System.out.println(te.getMessage());
                   SAXSource transformSource = new SAXSource(filter2, input);
                   transformer.transform(transformSource, result);
              } catch (TransformerConfigurationException tce) {
                   // Error generated by the parser
                   System.out.println("\n** Transformer Factory error");
                   System.out.println("   " + tce.getMessage());
                   // Use the contained exception, if any
                   Throwable x = tce;
                   if (tce.getException() != null)
                        x = tce.getException();
                   x.printStackTrace();
              } catch (TransformerException te) {
                   // Error generated by the parser
                   System.out.println("\n** Transformation error");
                   System.out.println("   " + te.getMessage());
                   // Use the contained exception, if any
                   Throwable x = te;
                   if (te.getException() != null)
                        x = te.getException();
                   x.printStackTrace();
              } catch (SAXException sxe) {
                   // Error generated by this application
                   // (or a parser-initialization error)
                   Exception x = sxe;
                   if (sxe.getException() != null)
                        x = sxe.getException();
                   x.printStackTrace();
              } catch (ParserConfigurationException pce) {
                   // Parser with specified options can't be built
                   pce.printStackTrace();
         static private void testXsltSingleTransform() {
              try {
                   BufferedInputStream bis = new BufferedInputStream(
                             new ByteArrayInputStream(getExample().getBytes()));
                   // Set up the output stream
                   StreamResult result = new StreamResult(System.out);
                   InputSource input = new InputSource(bis);
                   TransformerFactory factory = TransformerFactory.newInstance();
                   Source source = new StreamSource(new StringReader(getStylesheet2()));
                   Transformer stylesheet = factory.newTransformer(source);
                   stylesheet.setErrorListener(new ErrorListener() {
                        public void error(TransformerException te)
                                  throws TransformerException {
                             System.out.println("Transform generated Transform Error");
                             System.out.println(te.getMessage());
                        public void fatalError(TransformerException te)
                                  throws TransformerException {
                             System.out
                                       .println("Transform generated Transform Fatal Error");
                             System.out.println(te.getMessage());
                        public void warning(TransformerException te)
                                  throws TransformerException {
                             System.out.println("Transform generated Transform Warning");
                             System.out.println(te.getMessage());
                   SAXSource transformSource = new SAXSource(input);
                   stylesheet.transform(transformSource, result);
              } catch (Exception exc) {
                   exc.printStackTrace();
         private static String getStylesheet1() {
              return
                     "<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
                   + "<xsl:stylesheet" + newline
                   + "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + newline
                   + "version='1.0'>" + newline
                   + "<xsl:output method='xml'/>" + newline
                   + "<xsl:template match='/'>" + newline
                   + "<DontCareAboutContent></DontCareAboutContent>" + newline
                   + "</xsl:template>" + newline
                   + "</xsl:stylesheet>" + newline;
         private static String getStylesheet2() {
              return
                     "<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
                   + "<xsl:stylesheet" + newline
                   + "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + newline
                   + "version='1.0'>" + newline
                   + "<xsl:output method='html'/>" + newline
                   + "<xsl:template match='/'>" + newline
                  + "<html><body>" + newline
                 + "<xsl:message>" + newline
                 + "Error Message for the xslt processor" + newline
                 + "</xsl:message>" + newline
                 + "Dont care about the xslt content," + newline
                 + "The only significant part is the xsl:message element" + newline
                 + "which results in a error to be handled by the xslt" + newline
                 + "processor" + newline
                   + "</body></html>" + newline
                   + "</xsl:template>" + newline
                   + "</xsl:stylesheet>" + newline;
         private static String getExample() {
              return
                     "<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
                   + "<DontCareAboutContent>" + newline
                   + "</DontCareAboutContent>" + newline;
    }

    I made the following change which solves the problem but the sollution is tightly coupled to Xalan. If anyone has any ideas, I would still like to find a way to achieve the desired result using JAXP API's.
                   XMLFilter filter1 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet1())));
                   if (filter1 instanceof org.apache.xalan.transformer.TrAXFilter) {
                        ((org.apache.xalan.transformer.TrAXFilter)filter1).getTransformer().setErrorListener(...);
    ...

  • "logon failed" error when connecting to XML data source

    I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
    Logon failed.
    Details: Cannot open file
    Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
    However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
    I have tried a local HTTP source as well as the same source running on Amazon EC2.
    Any ideas?

    Thanks for the help.
    I am new to crystal reports, so I do not understand your suggestion. Both of those points look like they are related to Adobe Flash.
    I am trying to create a report using the standard report creation wizard:
    1) new, standard report
    2) create  new connection
    3) xml and web services
    4) xml data source
    When using the sample from the SAP site, it works fine:
    http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
    When connecting to my source from a browser, it works fine. When using my source as a local document instead of over http it works fine. It is only when connecting to my source over http that I get the failed logon error.
    Kelly

  • Error when mapping objects

    When mapping tables from the source databaase to the OLAP database I get "An error occurred creating DimensionMapGroup. CIRCUIT_DIM.MAPGROUP1.DIMENSIONMAPGROUP: ***Error occurred in DELETE_MAPPING_GROUP. I am using AWS 10.0.2.0.3. Any help would be appreciated.

    Don't know if you made a mistake in the version, but please refer to here for best versions to be using: http://www.oracle.com/technology/products/bi/olap/collateral/olap_certification.html
    10.2.0.3 with OLAP patch or 10.2.0.4 code stream is best if on 10g.
    Thanks, Laura
    Edited by: Laura McKechnie on Dec 3, 2009 7:50 PM

  • Error when saving large XML Forms - XFBuilder

    When creating large XML Forms (many entry fields, many links when metadata properties), the xfbuilder aborts the operation with an error message stating a networkcommunication failure / server response time-out. When some fields are deleted, the saving takes some time, but will prevail...
    Does anybody have experienced these problems as well and is there a solution so that larger xmlforms can be created?? Currently the xmlforms producing errors have over 100 entry fields.
    Rgds Caspar

    OK, I found it: when editing the Project Options, the server time out can be set. In NW04 edition this is set default to 120; in EP60 SP2 this value is empty. Increasing the value (e.g. 180) does the trick!

  • Mapping Workbench error when exporting project XML

    The following error pops up when trying to export the project deployment xml file.
    "The following descriptors do not have corresponding class files. Please check your class path."
    The window then lists all of my descriptors.
    I have the Oracle 10g database configured and I have created 3 java classes from it. The source code was generated with out any problems.
    TopLink version is 10.1.2 on Windows.
    Thanks.

    I had the same problem, but had already exported source, compiled and put the entry in the classpath in MWB. My problem was caused by some conflict caused by using Java 1.5 to compile the model source but Java 1.4.1 (by default) supplied with MWB. I changed the JRE_HOME and the project deployment file is created and looks OK.
    Hope that helps anyone else as silly as I
    Mike

  • JDBC to IDoc ( error when mapping multiple JDBC records to IDoc)

    Hi,
    I am working on JDBC to IDoc scenario, I have declared row as 0 to unbounded and by default the IDoc structure is 1..1.
    Inorder to map multiple rows from JDBC to get multiple IDoc's, I have changed the occurrence of IDoc in "Messages" tab of Message mapping to 0 to unbounded.
    I have mapped "row" to "IDoc".
    When I test the mapping, it works fine, giving the same number of IDoc's with that of row.
    When I test end to end, in SXMB_MONI, it gives me following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>MSGGUID 54A3A64E895D48EC3F20C69FEFE2E82B: Tag found instead of tag IDOC BEGIN=</SAP:P1>
    can any one help me out with this.
    Thanks in advance.

    Hi Jwalith,
    Check this blog from Michel
    The specified item was not found.
    Make sure that you changed occurance as per this blog.
    hope this is helpful
    regards,
    Venkat.

  • Error when Uploading _fmb.xml files

    Hi...
    I'm a newbie in Apex. I'm trying to create a migration project (ie migrating Oracle Forms 6i/10g to xml via Apex). I've converted the *.fmb files to _fmb.xml using frmf2xml.bat utility. My problem is when I tried to upload the _fmb.xml, this error appears:
    +1 error has occurred+
    +•Select the Forms File you want to upload. For Forms Modules, upload the XML file which is generated by the Forms2XML conversion tool, containing the information of your Forms Module. (Go to error)+
    the error message is - javascript:apex.jQuery('#P3_FORMS_XML_FILE').focus();void(0)
    the url returns: http://localhost:8080/apex/wwv_flow.accept
    I've also tried to upload any type of file but it still returns the same error message. Please, anyone can help me...
    Thanks.

    when i tried the online workspace as in http://apex.oracle.com/pls/apex/, i successfully created the migration project. But still failed to do it locally. Obviosly my locally setup Apex is having problem uploading the _fmb.xml files. Where have i gone wrong? Could anyone please help me?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error when running ireport xml on apex using pL-JRxml2pdf

    Hi,
    I have created a report and it runs successfully on Jasper ireport but when I copied the xml to the apex in pL-JRxml2pdf and tried to preview it it gave me the error below:
    ORA-06502: PL/SQL: numeric or value error: dbms_sql.describe_columns overflow, col_name_len=35. Use describe_columns2
    Please assist.

    Mr.Andreas I've already sent my question before to post it there but no one replied to me.
    the xml which is working fine on ireport:
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="pharmacy2014" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dd1428eb-8306-47c8-881c-1b53b576b8b6">
      <property name="ireport.zoom" value="1.0"/>
      <property name="ireport.x" value="0"/>
      <property name="ireport.y" value="60"/>
      <queryString>
      <![CDATA[select pare.mmr,pare.FIRSTNAME||' '||pare.FAMILYNAME,ep.EPISODEID,ep.admission,ep.DISCHARGE,pade.packagename,inor.orderid,inor.QUANTITY,orit.DESCRIPTION,orit.PRICE
    from PATIENTSREGISTRATION pare inner join EPISODE ep on (pare.mmr = ep.mmr)
    full join PACKAGEDEAL pade on (pade.PACKAGEID = ep.PACKAGE)
    full join INPATIENTORDER inor on(inor.EPISODEID = ep.EPISODEID)
    full join ORDERITEMS orit on (orit.ORDERID = inor.ORDERID)
    where ep.episodeid=2046]]>
      </queryString>
      <field name="MMR" class="java.math.BigDecimal"/>
      <field name="PARE.FIRSTNAME||&apos;&apos;||PARE.FAMILYNAME" class="java.lang.String"/>
      <field name="EPISODEID" class="java.math.BigDecimal"/>
      <field name="ADMISSION" class="java.sql.Timestamp"/>
      <field name="DISCHARGE" class="java.sql.Timestamp"/>
      <field name="PACKAGENAME" class="java.lang.String"/>
      <field name="ORDERID" class="java.lang.String"/>
      <field name="QUANTITY" class="java.math.BigDecimal"/>
      <field name="DESCRIPTION" class="java.lang.String"/>
      <field name="PRICE" class="java.math.BigDecimal"/>
      <variable name="TotalPerItem" class="java.lang.Double">
      <variableExpression><![CDATA[$F{QUANTITY}*$F{PRICE}]]></variableExpression>
      </variable>
      <variable name="TotalDue" class="java.lang.Double" calculation="Sum">
      <variableExpression><![CDATA[$V{TotalPerItem}]]></variableExpression>
      </variable>
      <background>
      <band splitType="Stretch"/>
      </background>
      <title>
      <band height="126" splitType="Stretch">
      <staticText>
      <reportElement uuid="33d865d1-eefd-4151-816e-5a43563072ed" x="101" y="0" width="351" height="48"/>
      <textElement textAlignment="Center">
      <font fontName="Monospaced" size="28" isBold="true" isUnderline="false"/>
      </textElement>
      <text><![CDATA[Pharmacy Report]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="abc684c0-fdcc-4bda-b87c-46f2ec871fe1" x="0" y="83" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Report Date:]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="a1ec3467-dbda-415a-80f3-597d422fb6fb" x="0" y="103" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Admission Date:]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="d3cf4575-0255-4a57-ba6f-d8fe73205b1c" x="351" y="82" width="87" height="20"/>
      <textElement/>
      <text><![CDATA[Discharge Date:]]></text>
      </staticText>
      <textField pattern="dd/MM/yyyy h.mm a">
      <reportElement uuid="9f649db1-8fee-4aa5-a719-2b6930f3b434" x="87" y="84" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="64de1f0d-f5ef-4142-bdde-42926376ad3c" x="87" y="104" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{ADMISSION}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="f4f3d6cb-7442-486b-8738-5c427e819909" x="438" y="82" width="100" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{DISCHARGE}]]></textFieldExpression>
      </textField>
      </band>
      </title>
      <pageHeader>
      <band height="55" splitType="Stretch">
      <staticText>
      <reportElement uuid="e420994a-235d-4530-8360-e876c8ae40b6" x="0" y="8" width="100" height="20"/>
      <textElement>
      <font size="10" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[MMR NO.]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="1978f81a-f9a5-4675-8628-7c0ceb48e9d2" x="0" y="29" width="100" height="20"/>
      <textElement>
      <font size="10" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[PATIENT NAME]]></text>
      </staticText>
      <textField>
      <reportElement uuid="ae113a7d-51c3-49a2-b79c-94d57e078f7f" x="101" y="9" width="285" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{MMR}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="fbdf24b3-4dd4-4c8b-b766-2d5f5fb65f84" x="100" y="29" width="288" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PARE.FIRSTNAME||''||PARE.FAMILYNAME}]]></textFieldExpression>
      </textField>
      <line>
      <reportElement uuid="0a11e615-f74d-404d-8a8c-542db62ea786" x="1" y="49" width="554" height="1"/>
      </line>
      </band>
      </pageHeader>
      <columnHeader>
      <band height="50" splitType="Stretch">
      <staticText>
      <reportElement uuid="c4d62eda-bc1d-42cf-888f-60da313ed021" x="469" y="30" width="64" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Total]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="d9df5da5-eab5-4c65-9265-9133f9e720ab" x="305" y="31" width="100" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[QTY]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="01dc4561-b521-4ab9-aa23-bdc9bc4ff870" x="0" y="30" width="212" height="20" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Description]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="3bd3288c-40d9-4ab3-abab-19196f6112c5" x="405" y="31" width="64" height="19" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Price]]></text>
      </staticText>
      <staticText>
      <reportElement uuid="be12f0d4-1cfd-48ac-b207-b58cd22267d1" x="0" y="0" width="79" height="20" forecolor="#000000" backcolor="#CCCCCC"/>
      <textElement textAlignment="Left">
      <font isBold="true" isUnderline="true"/>
      </textElement>
      <text><![CDATA[Package Name:]]></text>
      </staticText>
      <textField>
      <reportElement uuid="29994cd4-59a9-4d7e-b7d0-56114e0bb198" x="79" y="0" width="430" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PACKAGENAME}]]></textFieldExpression>
      </textField>
      </band>
      </columnHeader>
      <detail>
      <band height="29" splitType="Stretch">
      <textField>
      <reportElement uuid="fea937c7-db92-4d99-9ba2-ba5973fe80e9" x="0" y="0" width="305" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{DESCRIPTION}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="8a46e1b4-01fb-45ad-96d8-e23ecbb5d0c7" x="305" y="0" width="100" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{QUANTITY}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="f27bd251-ac0e-407e-8778-fe09eb91bfb5" x="405" y="0" width="64" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$F{PRICE}]]></textFieldExpression>
      </textField>
      <textField>
      <reportElement uuid="fad53b1c-cb81-470c-bb2c-de490b5f981d" x="469" y="0" width="64" height="28"/>
      <textElement/>
      <textFieldExpression><![CDATA[$V{TotalPerItem}]]></textFieldExpression>
      </textField>
      </band>
      </detail>
      <columnFooter>
      <band height="80" splitType="Stretch">
      <staticText>
      <reportElement uuid="1aec00ca-e067-4616-888f-abcbee0e5e51" x="398" y="30" width="157" height="50"/>
      <textElement textAlignment="Right">
      <font size="8"/>
      </textElement>
      <text><![CDATA[PO BOX Jeddah 21353
    Saudi Arabia
    Tel: +966 - 2 - 2292222
    Fax: + 966 - 2 2292222
    www.almashfa.com]]></text>
      </staticText>
      <rectangle>
      <reportElement uuid="9d0a82c5-625a-466d-8691-49e9114b69cf" x="80" y="1" width="337" height="20" forecolor="#999999" backcolor="#999999"/>
      </rectangle>
      <staticText>
      <reportElement uuid="71445699-fc2d-4fa0-bab1-1098eba756cf" x="101" y="1" width="299" height="20" backcolor="#999999"/>
      <textElement textAlignment="Center" verticalAlignment="Middle">
      <font size="11" isBold="true" isItalic="false"/>
      </textElement>
      <text><![CDATA[We Value Your Health ]]></text>
      </staticText>
      </band>
      </columnFooter>
      <summary>
      <band height="22" splitType="Stretch">
      <staticText>
      <reportElement uuid="597004a3-0ae9-43a0-beaf-5bdd9103db52" x="405" y="0" width="64" height="20"/>
      <textElement>
      <font isUnderline="true"/>
      </textElement>
      <text><![CDATA[TOTAL DUE:]]></text>
      </staticText>
      <textField pattern="###0.00;(###0.00)" isBlankWhenNull="true">
      <reportElement uuid="1f7381a9-fea6-4af9-be01-fb01e9d7aa96" x="469" y="0" width="86" height="20"/>
      <textElement/>
      <textFieldExpression><![CDATA[$V{TotalDue}]]></textFieldExpression>
      </textField>
      </band>
      </summary>
    </jasperReport>

  • Inconsistent DISM.EXE error when applying unattend.xml during LTI deployment - Possible bug!

    I've been using MDT 2012 and 2012 update 1 with ADK for Windows 8 successfully for years.  This week I decided to uninstall those tools, and install ADK for Windows 8.1 and MDT 2013.  I'm running Windows 7 x64.  Instead of upgrading the current
    deployment share, I created a new share to start fresh.
    So, I created a new share, added Windows 7 OS, and created a client deployment task sequence. I modified the unattended.xml to enable telnet client and disable media center.  No drivers, no applications, and no packages for this test.  Stock, unmodified
    task sequence.
    Problem:
    It works as expected sometimes.  But, about 50% of the time, I get this error:
    From the BDD.LOG:
    <![LOG[About to run command: dism.exe /Image:C:\ /Apply-Unattend:C:\Windows\Panther\Unattend.xml /ScratchDir:C:\MININT\Scratch]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1224)]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Deployment Image Servicing and Management tool]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Version: 6.3.9600.16384]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Image Version: 6.1.7600.16385]LOG]!><time="00:16:52.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Disabling feature(s)]LOG]!><time="00:16:53.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Disabling feature(s)]LOG]!><time="00:16:58.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > Error: 0x80220013]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > DISM failed. No operation was performed. ]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > For more information, review the log file.]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Console > The DISM log file can be found at X:\windows\Logs\DISM\dism.log]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = -2145255405]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[FAILURE ( 5627 ): -2145255405 0x80220013: Run DISM.exe]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="3" thread="" file="LTIApply">
    <![LOG[Command completed, return code = -2147467259]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Litetouch deployment failed, Return Code = -2147467259 0x80004005]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
    <![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    From the DISM.LOG:
    2013-10-30 00:16:58, Error CSI 00000001 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #5# from CWcmEngineCore::GetNamespaceWithOptions(nsid = { name: Microsoft-Windows-PnpCustomizationsNonWinPE ver: lang: neutral arch: amd64 pkt: 31bf3856ad364e35 verSc: nonSxS }, iMode = 1, iAccess = 2, iOption = 1, target = @0x4c792c0, context = NULL, namespace = { name: Microsoft-Windows-PnpCustomizationsNonWinPE ver: lang: neutral arch: amd64 pkt: 31bf3856ad364e35 verSc: nonSxS })
    [gle=0x80004005]
    2013-10-30 00:16:58, Error CSI 00000002 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #3# from CUnattendDeserializer::ProcessComponentElement(...)[gle=0x80004005]
    2013-10-30 00:16:58, Error CSI 00000003 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #2# from CUnattendDeserializer::ProcessDocument(...)[gle=0x80004005]
    2013-10-30 00:16:58, Error CSI 00000004 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #1# from CUnattendDeserializer::Deserialize(stream = @0x40acf60, engine = @0x4301af0, target = @0x4c792c0, results = NULL, resultCount = 0)[gle=0x80004005]
    2013-10-30 00:16:58, Error DISM DISM Smi Provider: PID=1264 Error deserializing SMI settings. - CSmiWrapper::ApplySettings(hr:0x80220013)
    2013-10-30 00:16:58, Error DISM DISM Smi Provider: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\smiprovider\dll\smimanager.cpp:166 - CSmiManager::Apply(hr:0x80220013)
    2013-10-30 00:16:58, Error DISM DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:400 - CUnattendManager::Apply(hr:0x80220013)
    2013-10-30 00:16:58, Error DISM DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:654 - CUnattendManager::InternalExecuteCmdLine(hr:0x80220013)
    2013-10-30 00:16:58, Error DISM DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:603 - CUnattendManager::ExecuteCmdLine(hr:0x80220013)
    2013-10-30 00:16:58, Error DISM DISM.EXE: DISM Unattend Manager processed the command line but failed. HRESULT=80220013
    I noticed that it never seems to happen if I don't enable/disable features with the unattended.xml
    unattended.xml that has the problem:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
    <package action="configure">
    <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7601.17514" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
    <selection name="TelnetClient" state="true" />
    <selection name="TFTP" state="true" />
    <selection name="FaxServicesClientPackage" state="false" />
    <selection name="MediaCenter" state="false" />
    <selection name="OpticalMediaDisc" state="false" />
    </package>
    </servicing>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <ImageInstall>
    <OSImage>
    <WillShowUI>OnError</WillShowUI>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <InstallFrom>
    <Path>.\Operating Systems\Windows 7 Pro x64 SP1\Sources\install.wim</Path>
    <MetaData>
    <Key>/IMAGE/INDEX</Key>
    <Value>1</Value>
    </MetaData>
    </InstallFrom>
    </OSImage>
    </ImageInstall>
    <Display>
    <ColorDepth>16</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <ComplianceCheck>
    <DisplayReport>OnError</DisplayReport>
    </ComplianceCheck>
    <UserData>
    <AcceptEula>true</AcceptEula>
    <ProductKey>
    <Key></Key>
    </ProductKey>
    </UserData>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <settings pass="generalize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <Identification>
    <Credentials>
    <Username></Username>
    <Domain></Domain>
    <Password></Password>
    </Credentials>
    <JoinDomain></JoinDomain>
    <JoinWorkgroup></JoinWorkgroup>
    <MachineObjectOU></MachineObjectOU>
    </Identification>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <ComputerName></ComputerName>
    <ProductKey></ProductKey>
    <RegisteredOrganization>Inc.</RegisteredOrganization>
    <RegisteredOwner>Desktop</RegisteredOwner>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <TimeZone>Pacific Standard Time</TimeZone>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Home_Page>about:blank</Home_Page>
    <DisableWelcomePage>true</DisableWelcomePage>
    <DisableFirstRunWizard>false</DisableFirstRunWizard>
    </component>
    <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Description>EnableAdmin</Description>
    <Order>1</Order>
    <Path>cmd /c net user Administrator /active:yes</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Description>UnfilterAdministratorToken</Description>
    <Order>2</Order>
    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Description>disable user account page</Description>
    <Order>3</Order>
    <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-TapiSetup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <TapiConfigured>0</TapiConfigured>
    <TapiUnattendLocation>
    <AreaCode>""</AreaCode>
    <CountryOrRegion>1</CountryOrRegion>
    <LongDistanceAccess>9</LongDistanceAccess>
    <OutsideAccess>9</OutsideAccess>
    <PulseOrToneDialing>1</PulseOrToneDialing>
    <DisableCallWaiting>""</DisableCallWaiting>
    <InternationalCarrierCode>""</InternationalCarrierCode>
    <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
    <Name>Default</Name>
    </TapiUnattendLocation>
    </component>
    <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableSR>1</DisableSR>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <UserAccounts>
    <AdministratorPassword>
    <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </UserAccounts>
    <AutoLogon>
    <Enabled>true</Enabled>
    <Username>Administrator</Username>
    <Domain>.</Domain>
    <Password>
    <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <LogonCount>999</LogonCount>
    </AutoLogon>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
    <Description>Lite Touch new OS</Description>
    <Order>1</Order>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <RegisteredOrganization>Inc.</RegisteredOrganization>
    <RegisteredOwner>Desktop</RegisteredOwner>
    <TimeZone></TimeZone>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <settings pass="offlineServicing">
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DriverPaths>
    <PathAndCredentials wcm:keyValue="1" wcm:action="add">
    <Path>\Drivers</Path>
    </PathAndCredentials>
    </DriverPaths>
    </component>
    </settings>
    </unattend>
    unattended.xml that is problem-free:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <ImageInstall>
    <OSImage>
    <WillShowUI>OnError</WillShowUI>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <InstallFrom>
    <Path>.\Operating Systems\Windows 7 Pro x64 SP1\Sources\install.wim</Path>
    <MetaData>
    <Key>/IMAGE/INDEX</Key>
    <Value>1</Value>
    </MetaData>
    </InstallFrom>
    </OSImage>
    </ImageInstall>
    <Display>
    <ColorDepth>16</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <ComplianceCheck>
    <DisplayReport>OnError</DisplayReport>
    </ComplianceCheck>
    <UserData>
    <AcceptEula>true</AcceptEula>
    <ProductKey>
    <Key></Key>
    </ProductKey>
    </UserData>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <settings pass="generalize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <Identification>
    <Credentials>
    <Username></Username>
    <Domain></Domain>
    <Password></Password>
    </Credentials>
    <JoinDomain></JoinDomain>
    <JoinWorkgroup></JoinWorkgroup>
    <MachineObjectOU></MachineObjectOU>
    </Identification>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <ComputerName></ComputerName>
    <ProductKey></ProductKey>
    <RegisteredOrganization>Inc.</RegisteredOrganization>
    <RegisteredOwner>Desktop</RegisteredOwner>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <TimeZone>Pacific Standard Time</TimeZone>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Home_Page>about:blank</Home_Page>
    <DisableWelcomePage>true</DisableWelcomePage>
    <DisableFirstRunWizard>false</DisableFirstRunWizard>
    </component>
    <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Description>EnableAdmin</Description>
    <Order>1</Order>
    <Path>cmd /c net user Administrator /active:yes</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Description>UnfilterAdministratorToken</Description>
    <Order>2</Order>
    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
    </RunSynchronousCommand>
    <RunSynchronousCommand wcm:action="add">
    <Description>disable user account page</Description>
    <Order>3</Order>
    <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-TapiSetup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <TapiConfigured>0</TapiConfigured>
    <TapiUnattendLocation>
    <AreaCode>""</AreaCode>
    <CountryOrRegion>1</CountryOrRegion>
    <LongDistanceAccess>9</LongDistanceAccess>
    <OutsideAccess>9</OutsideAccess>
    <PulseOrToneDialing>1</PulseOrToneDialing>
    <DisableCallWaiting>""</DisableCallWaiting>
    <InternationalCarrierCode>""</InternationalCarrierCode>
    <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
    <Name>Default</Name>
    </TapiUnattendLocation>
    </component>
    <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableSR>1</DisableSR>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <UserAccounts>
    <AdministratorPassword>
    <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </UserAccounts>
    <AutoLogon>
    <Enabled>true</Enabled>
    <Username>Administrator</Username>
    <Domain>.</Domain>
    <Password>
    <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <LogonCount>999</LogonCount>
    </AutoLogon>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1024</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>768</VerticalResolution>
    </Display>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
    <Description>Lite Touch new OS</Description>
    <Order>1</Order>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <RegisteredOrganization>Inc.</RegisteredOrganization>
    <RegisteredOwner>Desktop</RegisteredOwner>
    <TimeZone></TimeZone>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <settings pass="offlineServicing">
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DriverPaths>
    <PathAndCredentials wcm:keyValue="1" wcm:action="add">
    <Path>\Drivers</Path>
    </PathAndCredentials>
    </DriverPaths>
    </component>
    </settings>
    </unattend>
    Please help!

    To be honest, I've never tried to modify the installer packages via unattend.xml.  And come to think of it, it appears that the /applyunattend switch may not understand how to install packages (might not know where the sxs folder is located ). What
    is confusing to me is how it *does* work 50% of the time.
    did you import the *full* sources or just the *.wim file?
    Here is a post in the configmgr group which suggests to perform the package management *online*
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/42eb50b6-7059-431c-ae84-2e5753507a90/unattendxml-and-microsoftwindowsfoundationpackage
    Keith Garner - keithga.wordpress.com
    Thanks for the reply Keith.
    I imported the full source, and I'm also not sure why it is not consistent with failure or success either.
    To narrow down the problem, I created a reproducible set of steps (for a possible future call to Microsoft support). Those steps are described in this
    thread.  When following the steps in the thread, the problem appeared every time.  I only tried it 6, or so, times though.
    The enabling/disabling of features via the unattend.xml is a supported and documented feature.  In fact, following the hyperlink in the solution of the thread you mentioned documents the process.
    -Tony

  • Soap to rfc error when testing through xml spy

    Dear All,
    I have a scenario soap-to-rfc.I have created a WSDL using the url as :
    http://<myhost>:<port>/XISOAPAdapter/MessageServlet?channel=:BS_Legacy:CC_SOAP_Sender
    I am getting an error as mentioned below when i tried to test it throug altova xml spy.
    HTTP error: could not POSt file '/XISOAPAdapter/MessageServlet?channel=:BS_Legacy:CC_SOAP_Sender' on server 'host:port' (407).
    I have gone through all the related threads which are already there in forum but still couldn't find what's going wrong.
    I modified soap:address tag in wsdl
    <soap:address location="http://covmdvpi01.mhril.com:50000/XISOAPAdapter/MessageServlet?channel=:BS_Legacy:CC_SOAP_Sender"
    Please suggest.
    Regards
    Kumar

    Hi ,
    Thanx for quick reply.
    I am using 7.3 and created wsdl in ID>Tools->Disply wsdl
    my sender business system : BS_Legacy
    sender channel : CC_SOAP_Sender
    my url
    http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:BS_Legacy:CC_SOAP_Sender
    i have given my host name in the place of host.
    my scenario is synchronous and given qos as BE.
    Use this URL in soapui and check what you get...do u mean that u want me to test using soap ui?
    if so i have tested it in soapui also
    new soap ui project-->project name and Initial wsdl/wadl(i have selected wsdl file from system location where i saved it) ...created...given input parmeters then i clicked on Submit Request to Endpoint URL button.
    still couln'd see response.
    you can see below response what i've got in soapui
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
      <title>Error Report</title>
      <style>
        td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
        A:link
        A:visited
        A:active
      </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
      <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
        <tr bgcolor="#FFFFFF">
          <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401   Unauthorized</b></font></td>
        </tr>
        <tr bgcolor="#3F73A3">
          <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
          <td height="23"><img width=1 height=1 border=0 alt=""></td>
          <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server </b></font></td>
        </tr>
        <tr bgcolor="#9DCDFD">
          <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
        </tr>
      </table>
      <br><br><br><br><br><br>
      <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Error: Unauthorized</b></font></p>
      <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  <a href="https://wiki.sdn.sap.com/wiki/x/wIN3Cw">SAP Technology Troubleshooting Guide</a></b></font></p>
      <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table>
        <tr>
          <td valign="top"><b> Details:</b></td>
          <td valign="top"><PRE>No details available.</PRE></td>
        </tr>
      </table></font></p>
    </body>
    </html>
    Thanks
    Kumar

Maybe you are looking for

  • FMs to get the order items list for an order template

    Hello everyone, I'm looking for sap FMs (or tables) to get the order items list for a given order template in CRM backend.  Any advice/suggestions? Thanks, Jin

  • SAP TDMS - Event related scrambling rule - Code example?

    Hi experts, I am currently working on an SAP TDMS project which requires me to develop some event-related scrambling rules. As this type of rule doesn't have parameters I'm having trouble understanding how to access the data. I tried to find an examp

  • CISCO WLC MIC error

    Dear All, I have the below error message in my WLC and all uesrs are not able to access the network for 2 minutes 19620 LWAPP-3-MIC_COUNTER: Received MIC countermeasure, WLAN 1, slot 1 Any idea why such error and conuntermeasure taken by WLC

  • Safari is Crashing

    Here's the report -- ideas? Process:         Safari [247] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         6.0.4 (8536.29.13) Build Info:      WebBrowser-7536029013000000~2 Code Type: 

  • Tool Bar at top with file, edit and enhance options disappeared - need help now.

    I cannot access my catalogs for reach my photographs.  Have to get them for  speech this coming Monday for a photography society.  Please Help !!