Transform payload to SOAP message using XSLT

Hello,
I'm working with e-invoice for Finland (called Finvoice) and is supposed to send a soap message as a file via file/ftp adapter.
The output from SAP is an INVOIC idoc that is mapped to a given output structure. This works fine.
The soap envelope is created via xslt transformation.
The Envelope is created correctly but I'm struggling with how to add the payload to the message. It needs to look as shown below, (I'm just showing the essential part).
My problem is that I don't know how to add the doctype part via xslt:
<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
I get validation errors when adding this in the xsl. The content of the payload looks good.
Does anyone know how this can be solved?
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest eb:id="Manifest" eb:version="2.0">
<eb:Reference eb:id="Finvoice" xlink:href="1017000018">
<eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
</eb:Reference>
</eb:Manifest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
<?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
<Finvoice Version="1.2">
<SellerPartyDetails>
<SellerPartyIdentifier>SellerPartyIdentifier23456789012345</SellerPartyIdentifier>
<SellerOrganisationName>SellerOrganisationName3456789012345</SellerOrganisationName>
// Best regards Hans

hI,
How to add the the below soap frame thru XSLT mapping.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<SOAP-ENV:Header>
<eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" SOAP-ENV:mustUnderstand="1" eb:version="2.0">
<eb:From>
<eb:PartyId>0037123456678</eb:PartyId>
<eb:Role>Sender</eb:Role>
</eb:From>
<eb:From>
<eb:PartyId>NDEAFIHH</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:From>
<eb:To>
<eb:PartyId>FI2757800750155448</eb:PartyId>
<eb:Role>Receiver</eb:Role>
</eb:To>
<eb:To>
<eb:PartyId>OKOYFIHH</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:To>
<eb:CPAId>yoursandmycpa</eb:CPAId>
<eb:ConversationId/>
<eb:Service>Routing</eb:Service>
<eb:Action>ProcessInvoice</eb:Action>
<eb:MessageData>
<eb:MessageId>20081228-010142</eb:MessageId>
<eb:Timestamp>2008-12-28T01:01:42+03:00</eb:Timestamp>
<eb:RefToMessageId/>
<eb:RefToMessageId>XS1027.LPTF82/268</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest eb:id="Manifest" eb:version="2.0">
<eb:Reference eb:id="Finvoice" xlink:href="XS1027.LPTF82/268">
<eb:Schema eb:location=" http://www.finvoice.info/yrityksen_verkkolasku/ladattavat/Tekniset tiedostot/schemat/Finvoice.xsd" eb:version="2.0"/>
</eb:Reference>
</eb:Manifest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
<?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
Thanks and Regards,
Hymavathi

Similar Messages

  • Remove SOAP Envelop using XSLT  mapping.

    Hi,
    I need a code to remove SOAP Envelop using XSLT mapping.
    Source:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com">
    <soapenv:Body>
    <getServerTimestampResponse>
    <result>
      <timestamp>2008-06-19T14:22:25.004Z</timestamp>
      </result>
      </getServerTimestampResponse>
      </soapenv:Body>
      </soapenv:Envelope>
    target:
    <?xml version="1.0" encoding="UTF-8" ?>
    <a>
          <b>
             <c>2008-06-19T14:22:25.004Z<c>
           </b>
    </a>
    Please help me in this
    Thanks&Regards,
    Yuga

    hi,
    <?xml version='1.0' ?>
    <xsl:stylesheet version="1.0" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"
                                  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
       <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
       <xsl:template match="/">
          <ns0:c>       
                   <xsl:copy-of select="SOAP-ENV:Envelope/SOAP-ENV:Body"/ />
          </ns0:c>
       </xsl:template>
    </xsl:stylesheet>
    This will get your whole body...
    Your root node should belong to some namesapce...i.e. getServerTimestampResponse .
    Thanks,
    Vijaya.

  • What is payload, xi-soap message and xml payload....

    can any 1 explains abt What is payload, xi-soap message and xml payload....

    Hi Shiva,
    see this abstract from messages file:
    "The SOAP header of a message contains all the important information that the Integration Server requires to forward the message, while the payload contains the actual business data (such as <PurchaseOrder> in the example above). <b>You can also append an unlimited number of attachments to the message before it is sent. Attachments typically comprise non-XML data, for example, pictures, text documents, or binary data."</b>
    Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm
    Regards,
    Subhasha

  • How to get Payload of SOAP Message in Advance Adapter Engine

    HI All,
    I am wondering if anybody can tell me how to view the Payload of SOAP Sender and Receiver Message in Advance Adapter Engine?
    Does Anybody know how to check mapping payload in Advance Adapter Engine because in ABAP you can see the mapping payload under Request Message Mapping but when you use AAE you can't see the Request Message Mapping Payload.
    I have a SOAP to RFC Scenario in which I can't see the SOAP Sender and RFC Receiver Mapping Payload.
    When I am sending incorrect data to an RFC I am getting this error which is very strange and new to me.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Unable to split a synchronous message
    Any comments would be much appreciated.
    Thanks,
    Iqbal

    HI All,
    I have managed to find Michal's Blog which is talking about getting the mapping payload but unfortunately I don't know how to create Adapter Module so I am wondering if somebody can please provide me EAR file so that I will request the Basis guys to deploy the code and hopefully this will solve my query.
    Michal's Blog
    As you all probably know while using local Advanced Adapter Engine (AAE) processing in SAP PI 7.1 the message is logged only once (during processing by sender adapter). This is great in terms of performance but what if we need to check the mapping output? Is there a way do do it somehow? It turns out that we don't have such an option in standard yet. Is there any alternative then?
    It turns out there is - a simplest adapter module there is...
    Local AAE works in such a way that from the sender adapter it executes the receiver adapter so in the outbound message to PI processing you can see the adapter info logs of the receiver adapter and this is what we can use. The idea is to add an adapter module to the receiver adapter which will put the content of the message into the audit log of PI message processing. We can do it by writing a few lines of code:
    PI/XI: target message logging with local AAE not possible ? not anymore...
    *Please upload the file in any free site or <REMOVED BY MODERATOR>
    <READ RULES OF ENGAGEMENT>
    Thanks,
    Edited by: Prateek Raj Srivastava on Jan 6, 2012 9:10 PM

  • Retrieving a message using XSLT

    Hi,
    I have XML file like the following
    <doc xmlns="http://schemas.soap.org/...."
    xmlns:ems="http://www.dummy.com/ems"
    xmlns:op="http://www.dummy.com/ems"
    >
    <Message>Hello<Message>
    </doc>
    Now using XSLT I want to extract the message 'Hello' from Message tag.
    The XSLT is
    <xsl:template match="doc">
    <xsl:value-of select="Message">
    </xsl:template>
    This XSLT is not returning me the message Hello. Had the XML been like
    <doc>
    <Message>Hello<Message>
    </doc>
    then this XSLT works fine.
    Can somebody please help me get the message??
    Thanks
    Prashant

    XML should be well formed.
    1.)In your XML document <Message>Hello<Message>,that is a serious error.
    I suggest you close the tag <Message>
    2.)In your XSLT, similar error :<xsl:value-of select="Message">
    I suggest u close that as well and change it to
    <xsl:value-of select="Message"/>. (Notice the " /" at the end of the tag.
    It works for me..i see no reason why it shouldnt work for u after u have introduced these changes

  • Formating WSDL  SOAP  message using external .xsd file

    Hi,
    I am trying to build web service from java method using xml schema in .xsd file to format soap messages. How can I do this? What steps should I take to accomplish this?
    When I tried to do this using wizard for building web service, and map custom java classes to xml schema types , I got generator error: java.util.NoSuchElementException.
    When I managed to generate web service using that custom mappings (without generator error) , I couldn't deploy that service on server. At deploy time i alway get compile error without named source where error is....

    hI,
    How to add the the below soap frame thru XSLT mapping.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" SOAP-ENV:mustUnderstand="1" eb:version="2.0">
    <eb:From>
    <eb:PartyId>0037123456678</eb:PartyId>
    <eb:Role>Sender</eb:Role>
    </eb:From>
    <eb:From>
    <eb:PartyId>NDEAFIHH</eb:PartyId>
    <eb:Role>Intermediator</eb:Role>
    </eb:From>
    <eb:To>
    <eb:PartyId>FI2757800750155448</eb:PartyId>
    <eb:Role>Receiver</eb:Role>
    </eb:To>
    <eb:To>
    <eb:PartyId>OKOYFIHH</eb:PartyId>
    <eb:Role>Intermediator</eb:Role>
    </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId/>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
    <eb:MessageId>20081228-010142</eb:MessageId>
    <eb:Timestamp>2008-12-28T01:01:42+03:00</eb:Timestamp>
    <eb:RefToMessageId/>
    <eb:RefToMessageId>XS1027.LPTF82/268</eb:RefToMessageId>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="XS1027.LPTF82/268">
    <eb:Schema eb:location=" http://www.finvoice.info/yrityksen_verkkolasku/ladattavat/Tekniset tiedostot/schemat/Finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-15"?>
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    Thanks and Regards,
    Hymavathi

  • Http Header for a SOAP message using SAAJ.

    Hello java community,
    I need to set the 'SOAPAction' field in the HTTP Header of a soap message. I am using SAAJ to build the message.
    Does anyone know how to do this?
    Help is greatly appreciated as always.

    You have to put a Handler in front of your WebService to intercept it.

  • SOAP Messaging Using Crystal Reports Web Services To Return Report in PDF or Excel Format

    All,
    I am trying to use SOAP messaging to fetch a Crystal Report through a Managed repository and getting back either a PDF or Excel file. For some reason, any reference to web services on this site I cannot access. Like thread, "Using Web Services on the Crystal Report Server XI to return reports".  Can anyone point in a direction to Web Service Calls API documentation or does this not exist ?????? I would hope this product has this capability.
    Thanks In Advance,
    Tom

    XI Release 2 Service Pack 2 introduced the Business Process BI Web Services, that allow you to retrieve reports using SOAP messaging.
    It's documented here:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf
    Sincerely,
    Ted Ueda

  • Splitting xml message using XSLT

    Hi,
    I have XML message that I want to split up using XSLT. Following is the structure of the XML message.
    <Meters>
    <Meter>
    <ID>1</ID>
    <Type>A</Type>
    <Reading ref="1A" />
    </Meter>
    <Meter>
    <ID>2</ID>
    <Type>A</Type>
    <Reading ref="2A" />
    </Meter>
    <Meter>
    <ID>3</ID>
    <Type>B</Type>
    <Reading ref="3B" />
    </Meter>
    <Reading>
    <refLink>1A</refLink>
    <quantity>Watts</quantity>
    <value>221.00</value>
    </Reading>
    <Reading>
    <refLink>2A</refLink>
    <quantity>Wh d</quantity>
    <value>0.00</value>
    </Reading>
    <Reading>
    <refLink>3B</refLink>
    <quantity>Wh r</quantity>
    <value>3.00</value>
    </Reading>
    </Meters>
    The split up should happen on the <Meter> tag. Currently, this message has three <Meter> elements. The output should result in 3 different XML messages each having its own <Meter> element. Also, please note that each <Meter> has <Reading> which is linked to the actual <Reading> data using "ref" attribute and "refLink". The value of "ref" attribute will be unique through out the XML message.
    Expected output: 1.xml
    <Meters>
    <Meter>
    <ID>1</ID>
    <Type>A</Type>
    <Reading ref="1A" />
    </Meter>
    <Reading>
    <refLink>1A</refLink>
    <quantity>Watts</quantity>
    <value>221.00</value>
    </Reading>
    </Meters>
    and similarly 2 more XMLs.
    Please let me know if anyone has done this kind of work in XSLT.

    You are right I see that xsl:document is in 1.1 recommendation, but was referred by
    XSLT books I have.
    I found one site that's explaining this
    http://www.vbxml.com/xsl/elmxsl_document.asp
    http://www.w3.org/TR/xslt11/#multiple-output
    I am almost trying now to reverting to using java.util.regex and doing the split
    brutforce.. :))))
    - Ravi

  • How to access SOAP message using JAXP and SOAP class?

    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder b = factory.newDocumentBuilder();
    FileInputStream fr = new FileInputStream(args[1]);
    Document doc = b.parse(fr);
    Envelope msgEnv = Envelope.unmarshall (doc.getDocumentElement()); <---
    the exception raised:
    java.lang.IllegalArgumentException: Root element of a SOAP message must be: 'htt
    p://schemas.xmlsoap.org/soap/envelope/:Envelope'
    And the xml file is:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"...>
    </env:Envelope>

    The problem is that your DocumentBuilderFactory is not set to be namespace aware. If add a call to factory.setNamespaceAware(true) that should fix your problem.

  • Payload of SOAP-Message cannot be read

    Hi,
    I'm sending an easy message to the XI 3.0 soap-adapter:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header/>
         <SOAP:Body>
              <plain>test</plain>
         </SOAP:Body>
    </SOAP:Envelope>
    Unfortunately I get always the error:
    <SAP:Code area="MAPPING">CANNOT_READ_PAYLOAD</SAP:Code>
    Thank you for reading und help,  
    Udo

    Hi Stefan,
    Yes, I go from Client to XI to R/3 via SOAP.
    I don't know how the wsdl can solve my problem.
    I use wfetch to send the message. I sent to
    http://host:port/XISOAPAdapter/MessageServlet?channel=
    :service:channel
    as described in sap bibliothek.
    Without the right namespace in the channel the receiver determination runs to an error but it works fine.
    We are on XI 3.0 SP 9.
    The error message coming from XI back to wfetch:
    [code]<?xml version='1.0'?>\r\n
    <!-- see the documentation -->\r\n
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>\r\n
      <SOAP:Body>\r\n
        <SOAP:Fault>\r\n
          <faultcode>SOAP:Server</faultcode>\r\n
          <faultstring>failed to call the adapter engine</faultstring>\r\n
          <detail>\r\n
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>\r\n
              <context>XIAdapter</context>\r\n
              <code>DeliveryException</code>\r\n
              <text><![CDATA[\r\n
    com.sap.aii.af.mp.module.ModuleException\r\n
    \tat com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:697)\r\n
    \tat com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)\r\n
    \tat com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:221)\r\n
    \tat com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)\r\n
    \tat com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:513)\r\n
    \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:760)\r\n
    \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:853)\r\n
    \tat com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)\r\n
    \tat com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)\r\n
    \tat com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:339)\r\n
    \tat com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:317)\r\n
    \tat com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:810)\r\n
    \tat com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:238)\r\n
    \tat com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)\r\n
    \tat com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)\r\n
    \tat com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)\r\n
    \tat com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)\r\n
    \tat com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)\r\n
    \tat java.security.AccessController.doPrivileged(Native Method)\r\n
    \tat com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)\r\n
    \tat com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)\r\n
    Caused by: com.sap.aii.messaging.srt.BubbleException: failed to call the adapter engine [null "null"]; nested exception used by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CANNOT_READ_PAYLOAD:\r\n
    \tat com.sap.aii.af.mp.soap.ejb.AFCallerApplication.perform(AFCallerApplication.java:122)\r\n
    \tat com.sap.aii.messaging.srt.ApplicationBubble.onMessage(ApplicationBubble.java:29)\r\n
    \tat com.sap.aii.messaging.srt.ExtensionBubble.onMessage(ExtensionBubble.java:56)\r\n
    \tat com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:576)\r\n
    \t... 20 more\r\n
    Caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CANNOT_READ_PAYLOAD:\r\n
    \tat com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:366)\r\n
    \tat com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:123)\r\n
    \tat com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:419)\r\n
    \tat com.sap.engine.frame.core.thread.Task.run(Task.java:60)\r\n
    \tat com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)\r\n
    \tat com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)\r\n
              ]]></text>\r\n
            </s:SystemError>\r\n
          </detail>\r\n
        </SOAP:Fault>\r\n
      </SOAP:Body>\r\n
    </SOAP:Envelope>\r\n
    [/code]
    Regards (and thanks for your help), Udo

  • Constructing soap message using jaxm

    Hi all,
    I want to constrct a soapmessage using jaxm package.
    My code is like below.
    DocumentBuilderFactory dbf =
    DocumentBuilderFactory.newInstance( );
    DocumentBuilder db = dbf.newDocumentBuilder() ;
    File file = new File( "C:/Ramana/hey.xml");
    Document doc = db.parse(file);
    domsrc = new DOMSource(doc);
    soapPart.setContent(domsrc);
    message.writeTo(System.out);
    I am getting always the following exception..
    javax.xml.soap.SOAPException: Unable to get header stream in saveChanges: SOAP exception while trying to externalize: Unable to create envelope from given source: com.sun.xml.messaging.soap.dom4j.ElementImpl
         at com.sun.xml.messaging.soap.MessageImpl.saveChanges(MessageImpl.java:357)
         at com.sun.xml.messaging.soap.MessageImpl.writeTo(MessageImpl.java:396)
    I am thankful if any body could help me what the problem is.
    thanks in advance,
    Ramana

    for more information I use the following xml file
    <?xml version='1.0' encoding='UTF-8' ?> <library> <!-- the isbn could have been an element --> <book isbn='0-312-85172-3'> <title>Aristoi</title> <author>Walter Jon Williams</author> </book> <book isbn='0-812-51349-5'> <title>Enders Game</title> <author>Orson Scott Card</author> </book> </library>
    I also did some tests using some other xml files..
    I got the same exception.
    Any help is really appreciable.
    I heared it can be the problem of name space settings in xml file.
    if so?Can u please tell me what should I do?

  • Could not access SOAP header - sending sopa message using weblogic

    i am using saaj to send a SOAP message ,through weblogic, i am getting an error like below
    Could not access SOAP header
    what should i do for sending a soap message using weblogic

    You're going to have to provide many more details than that. If it's useful, you could go here and read all the documentation books covering web services.

  • 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

  • How to send a signed SOAP message with additional HTTP Header fields

    Our Partner's integration requirements are that we send them asynchronous SOAP messages, that are digitally signed, and whose HTTP headers contains 5 or 6 additional header fields, of which 3 or 4 will need to be dynamically set during the message mapping.  I believe we can use the HTTP adapter for adding new fields to the HTTP header, but don't believe it supports signing.  I believe that the SOAP adapter supports signing, but I'm not clear on how to use it to add fields to the HTTP header.  What is the most straight-forward way to achieve both the signing of the message and the addition of the HTTP header values?
    Thanks,
    Kurt

    >>>What is the most straight-forward way to achieve both the signing of the message and the addition of the HTTP header values?
    Use Java mapping for both.
    1) Signing the message
    You can digitally sign the soap message using many standard api like WSS4j? or  refer Java XML signature API which comes in Jdk1.6.
    Refer these links
    WSS4J  -  http://ws.apache.org/wss4j/axis.html
    Java XML signature : http://java.sun.com/developer/technicalArticles/xml/dig_signature_api/
    2) >>whose HTTP headers contains 5 or 6 additional header fields, of which 3 or 4 will need to be dynamically set during the message mapping
    Use Dynamic configuration API to set the additional header fields during message mapping.

Maybe you are looking for

  • Where online can I find Update Photoshop 13.1.2 for Creative Cloud as suggested to install

    reason for the upload is a failure in the Adbode Uploader from CC due to U44M1P7 code WouterJ ([email protected])

  • Quicktime 2093 error

    Everything worked fine until I attempted to upgrade to Itunes 7.0. Itunes will not load and it produces "Quicktime gives a fail to initialize error 2093" I've tried the various troubleshooting suggestions I've been able to find on this forum. 1. thro

  • Dynamic ODBC in CF7.02

    Hi, I have some CF5.0 code which uses the dynamic ODBC feature to connect to different XLS files, SQL them for various data, read them in and then process. If I upgrade to 7.02 I believe that these feature has been removed. Is anybody aware of any wo

  • Script for retraction button

    HI ,     I need to do retraction using a button in Wad - it should call a class , this executes and data is pushed through an XI system and flushes the data in ECC box. if you could give the jave script code it would be really helpful. thanks Edited

  • Quick links portlet..

    I want to know whether weblogic server supports quick link functionality as I am new to weblogic serv er... Does it provide site map functionality ? How do we get the links...how is site navigation is provided ? PLs let me know ..Thanks in advance