Read Payload WhiteSpace

Hi.. Dear Experts.
How can I read whiteSpace in Payload.
E.g  My Payload is showing <Data>ABCD 1234 1545</Data>
However between ABCD and 1234 exist 5 withspace .I verified  when I made a download  the Payload and check it in notepad.
I need to take  the whitespace for my mapping
Can you help me?
Regards

Hi,
  i am just giving the procedure here to find whitespaces in String. you can use this procedure to find whitespaces and take required actions as per your requirement.
Convert String into Character Array. Var1 holding the string value.
char chA[] = var1.toCharArray();
Check Each character in Character Array for whitespaces.
for(int k=0; k < chA.length; k++)
                 if(Character.isWhitespace(chA[k]))
                else
if possible please explain what do you want to do after finding whitespaces in a field.
Regards,
Jag

Similar Messages

  • Unable to read payload from the message object in XI

    Hello Guys,
    Please help me about my problem in XI version 7.0.im quite new here.
    im trying to test my config but error message occured. "Unable to read payload from the message object"
    when i checked the comm channel this is the error message :
    Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
    when i tried my login in sql it works...but in this message the login is failed..what shall i  do..
    Please advice.
    Thanks in advance
    aVaDuDz

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • Unable to read payload from the message object

    Hi
    I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
    Unable to read payload from the message object
    I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
    One more strange thing is
    I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
    Source to BPM
    Target to BPM
    Target to BPM.
    But i think it should show message like
    Source to BPM
    BPM to Target
    Target to BPM
    why i am getting the flo

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • MAPPING CANNOT READ PAYLOAD

    HI AND THANK`S IN ADVANCED!!!
    We are trying to communicate SAP And XI in order to obtain a xml file.
    The conections are the following:
    sap-zfunction-xi-xml
    For that, we are using RFC ADAPTER for the comunication between SAP and XI, and the FILE ADAPTER between XI and the destiny folder where we want to store de xml file.
    It work´s! we always obtain the xml file but there is always the same error message in the monitoring of XI:
    MAPPING CANNOT READ PAYLOAD
    unable to read the payload from the message object.
    there is someone who can help us please????
    best!!!

    The RFC call waits for a response message, but the file adapter cannot send any. That is the reason, the error occurs.
    If you are just doing testing, you may ignore the error.
    Regards
    Stefan

  • To read payload for an idoc

    Dear experts,
    Scenario is to copying file to a path of FTP server and XI posting corresponding idocs to SAP server.
    I find that in table EDIDC in sap server,we get messageid = Message id of monitoring in XI system.
    I am using this mapping to conclude which idoc in SAP server exactly refers to which payload in XI server
    Any simpler way to do this ?
    I used IDX5 on XI server ,it displays an idoc number but that is not the one which i see on SAP server.

    I used IDX5 on XI server ,it displays an idoc number but that is not the one which i see on SAP server
    the IDOC number displayed in IDX5 is the one generated in SAP XI/ PI......to see the one generated in SAP ECC check steps b and c of this blog: /people/kamalkumar.ramakrishnan/blog/2008/02/13/monitoring-the-idoc-adapter-in-xipi-using-idx5
    Regards,
    Abhishek.

  • How to Read payload..?

    Hello,
    I am not satisfied with the display of the messages in SXMB_MONI.
    I want to write a program that reads table SXMSPMAST (holding all processed messages) with selection criteria = application error. For those entries I want to read the corresponding payload from the XML message. How can I do this?
    This was posted by Frank on Feb 24, 2005 .Now I am looking for the same requirement.
    Thanks in advance!
    Regards,
    Srikanth

    HI,
    BI means BW , am i correct , if yes in general we will use proxis , try to use it and after send the ack back XI.
    /people/kamaljeet.kharbanda/blog/2005/09/16/xi-bi-integration
    /people/sergio.locatelli2/blog/2006/10/15/integration-sap-bi-and-xi-a-critical-point-of-view
    /people/marian.harris/blog/2005/06/23/need-to-get-a-sap-netweaver-component-implemented-quickly-try-sap-best-practices
    /people/sravya.talanki2/blog/2006/12/08/business-case-integration-need-of-bi-and-sap-xi-episode1
    /people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
    /people/community.user/blog/2007/01/08/access-netweaver-how-to-guides-from-one-consolidated-page
    /people/sravya.talanki2/blog/2006/12/14/business-case-integration-need-of-bi-and-sap-xi-episode2
    Regards
    Chilla

  • Read Payload for a processed message

    Hello,
    i am not satisfied with the display of the messages in SXMB_MONI.
    I want to write a program that reads table SXMSPMAST (holding all processed messages) with selection criteria = application error. For those entries I want to read the corresponding payload from the XML message. How can I do this?
    Thanks in advance!
    Regards,
    Frank

    Hi,
    did you solve your question? And can you tell me how. I do have a similar problem, where I would like to download the payload from a bunch of messages at once. Without douing this manually in SXMB_Moni.
    Would be great, if you could help me there.
    Thanks and Regards,
    Sebastian

  • Read payload failed in SXMB_MONI

    Hi Experts,
    I have a proxy adapter connection between XI and BI.
    I have to read the payload for a particular feild, and put a field from the payload into a file, when the data fails in SXMB_MONI.
    I am sure that the failed payload is stored in some SAP table, but can someone tell me the name? in tables like SXMSPMAST, i get only the status and NOT the payload.
    though i am working in BI, i think tha tables for MB_MONI are same in XI and BI, hence i am posting it here...
    This is very urgent, can someone pls help?
    Thanks in advance,
    Sushmita.

    Check this thread and see if the tables mentioned in Michal's reply help,
    In Which Database Table the Messages are Stored in XI
    Regards
    Bhavesh

  • Read payload programmatically

    I have a requirement to read the payload content in teh XI environment. Is that possible? I have the message id and other information available but i want to read the payload content (for the source message).
    Is that possible?
    Please advice.
    Thanks.
    Anuradha.

    Hi Anuradaha,
    Its Possible
    The message will be in SXMSPMAST in this table you can find all the information that is visible in SXMB_MONI.
    SXMSPMAST has message id of the xml messages
    The name of the table is SXMSCLUR and SXMSCLUP
    in it the last field is CLUSTD which carries the payload
    and you won't get XML messages directly from them
    have a look inside them
    Look this blog to know XI Tables
    /people/gourav.khare2/blog/2007/12/12/interesting-abap-tables-in-xi-150-part-i
    You can read those table in ABAP report .
    Regards,
    Debashish

  • Read payload for error messages and throw a red flag in SXMB_MONI

    Hello All,
    I am calling a synchronous web service from PI ccBPM and getting a response back to PI ccBPM itself.
    So the steps in BPM are receive(from CRM), sync step (to call web service) and a control step (to end the BPM process).
    The requirement is to check if error_list node in the response from web service call has a value in it and throw an error in SXMB_MONI so that they can easily identify how many messages errored out  out of thousands of messages.
    This is the response structure for web service if there are errors.
    <manageResponse>
      <result>
                    <ErrorList>
                        <object>
                            <hyatt>partnerupdate--NR</hyattt>
                            <Message />
                            <Operation>jukio</Operation>
                            <User>atuser</User>
                        </object>
                     </ErrorList>
    </result>
    </manageResponse>
    Again I only need to see if error_list is not empty and throw a red flag error in SXMB_MONI.
    Thanks
    Mike

    Hi Mich,
      In Response map when Error segment appear's fail the maping so that you can see the list of message in MONI. and do not need to put any conditions in MONI.
    I mean in your Respoinse when ERROR_LIST segment coman under that one manatory field you select and take that field length say 20 characters.
    source field->Substring (0,100) get the 100 characters from source in that case case from source it won't get 100 characters mapping will fail so that you can see the Error messages in SXMB_MONI.
      Finally what I am saying do the wrong condition mapping in the response mapping so that mapping will fail.
    Regards,
    Venu.

  • BAM EMS to read payload from JMS queue in remote weblogic domain

    Hi ,
    I am trying to connect to JMS queue located in different web logic domain using oracle BAM EMS configuration. But my EMS configuration is not able to start .
    Please find below details,
    Name:
    OSBBAM_EMSProcessor
    Owner:
    XXXXX
    Created:
    9/23/2014 12:05:21 AM
    Last modified:
    9/24/2014 10:58:58 PM
    Status:
    Test failed - BAM-00553: Resources start operation for destination jms/OSBBAM_EMSQ failed.
    Initial Context Factory:
    weblogic.jndi.WLInitialContextFactory.
    JNDI Service Provider URL:
    t3://xx.xxx.xx.xx.:xxxx.
    Topic/Queue Connection Factory Name:
    jms/osbConnectionFactory.
    Topic/Queue Name:
    jms/OSBBAM_EMSQ.
    JNDI Username:
    XXXX
    JNDI Password:
    XXXXXXX
    JMS Message Type:
    TextMessage.
    Durable Subscriber Name (Optional):
    Message Selector (Optional):
    Data Object Name:
    /BAMPOC/BAM_AuditTable.
    Operation:
    Insert.
    Batching:
    No.
    Transaction:
    No.
    Start when BAM Server starts:
    Yes.
    JMS Username (Optional):
    JMS Password (Optional):
    Can any one guide me how to proceed with that?I have already tried with trusted setup in WLS and foreign server but It did not work.

    You can refer to the following link for the detailed steps :-
    Link :[http://www.informit.com/articles/article.aspx?p=170722&seqNum=3]

  • There is no payload in Soap request

    Hi Expert,
    I am testing Soap to RFC scenario. I am firing the soap request using Altova xmlspy. I am getting the response as cannot read payload. I checked in the Moni, no payload is coming to xi. but i am sending data through soap request. Below the response wat i am getting
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>RecoverableException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CANNOT_READ_PAYLOAD:
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:167)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:424)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    Please help me out in this issue
    Thanks,
    Venky

    Hi,
    Check whether your payload message which you are passing in HTTP Client tool is correct or not, try to copy the payload from Integration Repository while testing your mapping program.
    Also check the Integration Engine Configuration runtime parameters,
    Open Transaction SXMB_ADM -> Integration Engine Configuration -> Change Specific Configuration
    Check the values of below given parameters for runtime category, these values must be maintained:
    LOGGING, LOGGING_SYNC, LOGGING_PROPAGATION, TRACE_LEVEL and TRACE_LEVEL_PROPAGATION.
    Look into this thread ... it seems something similar with your problem.
    Payload of SOAP-Message cannot be read Try these solutions.
    Regards
    Aashish Sinha

  • XI error Cannot read Pool-Stamp. /Connection is invalid.

    Please assist. These problems seems to be related and are occuring intermitantly on our XI system. Here are the details:
    Connection is invalid.
    Thrown:
    MESSAGE ID: com.sap.aii.utilxi.misc.api.ResourceException
    com.sap.aii.utilxi.misc.api.ResourceException: Connection is invalid.
         at com.sap.aii.utilxi.sql.api.ReusableStatement.get(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.bind(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.bind(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.getBoundStatement(Selector.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.select(Selector.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.getCurrentStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.isSameStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.SynchronizedGlobalStamp.isSameStamp(Pool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java(Compiled Code))
         at $Proxy184.processFunction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor77631.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.listen(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.work(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.loop(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.run(JCO.java:8043)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Serialized server exceptions:
    MESSAGE ID: com.sap.engine.services.dbpool.exceptions.BaseSQLException (serialized)
    com.sap.engine.services.dbpool.exceptions.BaseSQLException: Connection is invalid.
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfInvalid(ConnectionHandle.java(Inlined Compiled Code))
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfValid(ConnectionHandle.java(Compiled Code))
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.prepareStatement(ConnectionHandle.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.get(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.bind(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.bind(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.getBoundStatement(Selector.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.select(Selector.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.getCurrentStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.isSameStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.SynchronizedGlobalStamp.isSameStamp(Pool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java(Compiled Code))
         at $Proxy184.processFunction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor77631.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.listen(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.work(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.loop(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.run(JCO.java:8043)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Cannot read Pool-Stamp.
    Thrown:
    MESSAGE ID: com.sap.aii.utilxi.misc.api.ResourceException
    com.sap.aii.utilxi.misc.api.ResourceException: Connection is invalid.
         at com.sap.aii.utilxi.sql.api.ReusableStatement.get(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.bind(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.bind(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.getBoundStatement(Selector.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.select(Selector.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.getCurrentStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.isSameStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.SynchronizedGlobalStamp.isSameStamp(Pool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java(Compiled Code))
         at $Proxy184.processFunction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor77631.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.listen(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.work(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.loop(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.run(JCO.java:8043)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Serialized server exceptions:
    MESSAGE ID: com.sap.engine.services.dbpool.exceptions.BaseSQLException (serialized)
    com.sap.engine.services.dbpool.exceptions.BaseSQLException: Connection is invalid.
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfInvalid(ConnectionHandle.java(Inlined Compiled Code))
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.checkIfValid(ConnectionHandle.java(Compiled Code))
         at com.sap.engine.services.dbpool.cci.ConnectionHandle.prepareStatement(ConnectionHandle.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.get(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.ReusableStatement.bind(ReusableStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.bind(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.AbstractStatement.get(AbstractStatement.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.getBoundStatement(Selector.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.Selector.select(Selector.java(Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.utilxi.sql.api.SelectClause.select(SelectClause.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.getCurrentStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.isSameStamp(MappingPool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.SynchronizedGlobalStamp.isSameStamp(Pool.java(Inlined Compiled Code))
         at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java(Compiled Code))
         at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java(Compiled Code))
         at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java(Compiled Code))
         at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java(Compiled Code))
         at $Proxy184.processFunction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor77631.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java(Compiled Code))
         at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.listen(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.work(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.loop(JCO.java(Compiled Code))
         at com.sap.mw.jco.JCO$Server.run(JCO.java:8043)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

    Hi,
    You should read these:
    "MAPPING" CANNOT_READ_PAYLOAD
    CANNOT_READ_PAYLOAD
    CANNOT_READ_PAYLOAD
    MAPPING CANNOT READ PAYLOAD
    Cannot  read payload
    Payload of SOAP-Message cannot be read
    There is a lot more

  • White space handling dbms_xmlstore.insertxml

    Hi,
    I have a question about white space handling.
    I have a column in table which holds white space character.
    When I loading xml file using dbms_xmlstore.insertxml white space is converted into NULL and inserted into table.
    It would fail if the column type is not null.
    How do I handle it?
    ======================================================
    Alternatively, how do I insert a tag with only whitespace in it into a table?
    <Tag> </Tag> [One whitespace]
    To elaborate the question
    If I have following data in xml file ...
    =============================================
    <Rowset>
    <Row>
    <Tag1> </Tag1>
    <Tag2>1</Tag1>
    </Row>
    </Rowset>
    I have to load this data into
    table tab1...
    create table tab1 (tag1 varchar2(5), tag2 number);
    How do I achieve it using dbms_xmlstore so that I can read the whitespace in XML and load it correctly into the table?
    ========================================================================
    To use an alternate approach, I also tried the following.....
    I tried the following test program on the xml file also shown below....
    XML File is
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <SYS_NAME> a </SYS_NAME>
    <SYS_SERIAL_NUM>000000</SYS_SERIAL_NUM>
    </ROW>
    </ROWSET>
    And small procedure is
    create or replace procedure PRO_TEST
    as
    o_sys_name varchar(10);
    spacetag varchar2(10) := ' ';
    begin
    --execute immediate 'create global temporary table gt_xmltype_tab1 (xmlfile1 xmltype)';
    insert into gt_xmltype_tab(xmlfile1)
    values(XMLType(bfilename('RESTOREDIR','ADTL_SETUP_OPTIONS.xml'),nls_charset_id('AL32UTF8')));
    select extractvalue (value(x), '/ROW/SYS_NAME')
    into o_sys_name
    from gt_xmltype_tab gt, TABLE(XMLSequence(extract(gt.xmlfile1, '/ROWSET/ROW'))) x;
    dbms_output.put_line('[' || o_sys_name || ']');
    dbms_output.put_line('ASCII:- ' || ascii(o_sys_name));
    if o_sys_name = ' ' then
    --if o_sys_name = chr(32) then
    dbms_output.put_line('I found space');
    else
    dbms_output.put_line('I found no space');
    end if;
    commit;
    end;
    When Tag is <sys_nam> </sys_name> I get [] in the output(empty).
    When Tag is <sys_nam> a</sys_name> I get [ a] in the output(space and a).
    When Tag is <sys_nam> a </sys_name> I get [ a ] in the output(space a space).
    When I has some character along with the whitespace, behaviour is correct and as expected.
    But when the tag contains only whitespace the output is empty.
    I cant seem to get around this problem.
    Upon receiving empty string, other sub systems which are reading the data stop working.
    Can someone help here?
    Edited by: userAtoZ on May 14, 2011 2:57 PM

    White space handling dbms_xmlstore.insertxmlYou may replace all whitespaces with its corresponding html entity:
    SQL> create table test (v varchar2 (5))
    Table created.
    SQL> declare
      ctx   sys.dbms_xmlstore.ctxtype := dbms_xmlstore.newcontext ('test');
      doc   xmltype := xmltype(replace('<ROW><V> </V></ROW>',' ', '&#38;#32;'));
      ret   int;
    begin
      ret := dbms_xmlstore.insertxml (ctx, doc);
      dbms_xmlstore.closecontext (ctx);
    end;
    PL/SQL procedure successfully completed.
    SQL> select v, length (v), ascii(v) from test
    V             LENGTH(V)        ASCII(V)
                          1              32
    1 row selected.

  • Problems with BPEL PM in HA environment

    Hi guys, i need your feed back for a case soa suite instalation HA for producction enviroment., BPEL PM,
    Please any recomendation, to apply before to send to TARs.
    Randomly a selection failure exception ocurr for reading payload request in BPEL instance execution for up & running two nodes BPEL PM cluster
    PLATFORM:
    Linux x86
    Enterprise Linux Enterprise Linux Server 5.2
    PRODUCT:
    Oracle SOA Suite 10gR3 10.1.3 release, 10.1.3.4.0 (FixPatch)
    DATABASE VERSION:
    10gR2 10.2.0.4 (FixPatch), using RAC database as dehydration store.
    Preparation for production.
    INSTANCE NAME(S) AND TYPE OF SYSTEM(S):
    BPEL PM cluster Active-Active on J2EE and Web Server cluster OC4J_SOA (OAS)
    Using same "staticports.ini" values during instalatin process
    Using same IP & Port for multicast in OAS & BPEL PM (jgroups-protocol.xml and opmn.xml - "*225.4.5.6:5000"
    Planning for a harware load balancer front-end for BPEL PM cluster nodes
    Now for test purpose the collaxa-config.xml with follow values, because not present any balancer for now:
    soapCallbackUrl & soapServerUrl set to corresponding Web Server nodes:
    Node1: soapCallbackUrl & soapServerUrl -> http://tvsoaapp1.com.mx:7777
    Node2: soapCallbackUrl & soapServerUrl -> http://tvsoaapp2.com.mx:7777
    DETAILED PROBLEM STATEMENT:
    When Up & Running two BPEL PM Instances in cluster active-active topology, then:
    Initiating a test instance through BPEL console (10.1.3.4.0) by passing certain parameters fill text area with the
    HTML representation (HTML Form) works fine all time or when no use xpath expression for read request variable.
    ISSUE 1:
    And if initiating a test instance through BPEL console (10.1.3.4.0) by passing certain parameters fill the following text area with the
    XML representation (XML Source) of the input message. 50% times in BPEL Console for node 1 OR node 2, execution BPEL instance fail with
    follow exception message, for the any XPATH instruction that read input request variable.
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {}
    parts: {{summary=<summary>empty variable/expression result.
    xpath variable/expression expression "/client:wsGLBCatMultiplesProcessRequest/client:catalogo" is empty at line 79, when attempting reading/copying it.
    Please make sure the variable/expression result "/client:wsGLBCatMultiplesProcessRequest/client:catalogo" is not empty.
    Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
    To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
    </summary>
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    WORKAROUNDS USED:
    Work fine for:
    . Wnen one BPEL PM instance (node) is up and another down, work fine node 1 OR node 2.
    . BPEL process without empty payload (no use xpath expression for read request variable)
    Issue 2: Another today up & running cluster, test any BPEL Service, throws their endpoint url in web browser, i view change fields correspondig
    to before test end point, so view mixe parameters betwen bpel services. the execution fail because xpath retry read another payload that
    not exist in current bpel.
    It may a bug BPEL Console UI, OHS ? or i need place set value configurations ??, Please help.

    Hi,
    can you please call this BPEL via another BPEL, just to be sure, that this is not a BPELConsole UI bug.

Maybe you are looking for

  • How do i find out or reset my user account password?

    i just downloaded osx lion and mac prompted me for a user password and i have no idea what that is or how to find out what it is.

  • Analyze Explain Plan --Query Stuck

    Hello, I am a newbie to Oracle.Urgently need help on a query running on Production Oracle 11g database. This query is getting stuck for a very long time while fetching data.Here is the explain Plan for it.Could anyone please point out what is the pro

  • Installation directory structure - help needed

    Hi, we are looking to install a cluster of weblogic servers, based on a SAN network. We are looking for advice on what the best practise is for the installation within directories /opt/bea/...etc for the various components: product, configuration, ap

  • How to data log graphs using front panel data logging?

    Hello I have a VI that collects data from DAQmx thermocouple readings and graphs the temperature vs time using a while loop to collect data and graph. I have 9 control operators that define the correction factor of the thermocouples. I want to create

  • How can i turn personal hotspot in my apple ipad 4

    how can i turn personal hotspot in my apple ipad 4 with retina display plz help me hoe turn it on.???