Message mapping: SOAP Receiver to IDOC Sender

hi,
i have an idoc sent to SOAP receiver. SOAP Response will have only the "Status code" and the "Reason of failure".
IDOC Sender will have the PO Number and the Vendor Name to which we are sending.
The SOAP Response will not have the PO Number and the Vendor Name.
How can i have the Reason of failure, PO Number and Vendor in one message type?
Thanks in advance,
Tirumal

Praveen -
Thanks for the response and appreciate your observation.
Very tight deadlines with the client and have to finish lot of tasks in short time so putting hands in everything.
There are lot of vendors who run their proprietary web services. So cannot change their stuff.
How would i map the SOAP request to the SOAP Response since some information is in one message type and other half of information available in other message type.
I created a SOAP Response Type with the "Reason Code" information.
I created another message type with all the information that i want.
How would i map the SOAP Request to the SOAP Response msg type and the other message type.
Let me know.
Thanks in advance,
Tirumal

Similar Messages

  • Java heap space error occured during message mapping of FILE to IDOC

    hello Friends,
                          I am trying to do the message mapping for File to Idoc scenario.
    Idoc which I am using is HRMD_A.HRMD_A06 and infotype which I want to update is 14. I am trying to map the message type which I hav created for infotype 14 with the IDOC
    Its very simple scenerio but  every time I try to save the mapping before activating it I get an error:
    Java heap space
    Internal problem occurred (INTERNAL_PROBLEM)
    Java heap space.
                I am not able to figure out what possibly is the problem wheather its from my end or the BASIS end.
    Kindly help.
    Regards,
    Lokesh

    As the server probably survives (you restart your Integration Builder and can probably connect immediately), the problem will be on your side (client). Did you add one or more large xml-test-instances to the mapping ? If yes, delete them, because they lower the performance and can make problems. If not, then this is a strange problem. Even if the Idoc structure is complex, the mapping object itself cannot be that large.Is this problem only with this one mapping ?
    CSY
    Edited by: Christian Sy on Mar 9, 2010 6:26 AM

  • SOAP Receiver- Error While Sending Message: 500 Internal Server Error

    Hello,
    Our scenario: IDoc to SOAP
    I have added a third party system in the SLD and have used the same in my ID configuration.
    An idoc will be triggered from R/3, which will received in PI, PI will transform the IDoc into SOAP message for the third party system.
    I have tested the scenario in ID from Interface Determination and its successful.
    But when i try to try to test it from RWB, using Test Message in Adapter Engine, I get an error,
    "Error while sending message:500 Internal server error"
    If we test it using a testing software like SOAP UI, it works fine but from PI we get the error mentioned above.
    Regards,
    Abhishek

    Hello,
    Since the IDOC adapter resides on the ABAP stack, you can use this URL instead (it will be sent to the integration engine as Venkata suggested)
    http://host:port/sap/xi/engine?type=entry
    Also check your firewall settings from PI to the third-party system.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 7, 2012 11:48 AM

  • Error while sending message to SOAP receiver

    Hi ALL,
    when i send message from the Service Regestry my interface is working,but when i coppy the same WSDL file in the Service registry in desktop and send message using AltovaSPY  i am getting this error.
    com.sap.aii.af.service.cpa.CPAException: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve inbound binding for the given P/S/A values
    need u'r help.
    thanks
    Souz..

    Hi Dominic,
      Looks like Cache is not got updated.
    Go to SXI_CACHE and check whether it is green or not.If not refresh it.
    Also refresh CPACache with PIDIRUSER or any user with similar roles.
    to refresh use this URL : http://host:port/CPACache/refresh?mode=full
    After this inactivate and activate ur CC.
    If this wont work for u...then restart J2EE server.
    Regds,
    Pinangshuk.

  • PI  7.0 SOAP receiver don't send the request to the destination web service

    Hello everybody.
    I have a problem with a synchronous scenario.
    RFC -> XI -> SOAP
    The Web service is outside our network.
    It's a communication HTTPS and the certificate is installed.
    The mapping between RFC and the outgoing message is made by XSLT because I had to put data in SOAP:Header.
    When I use the soap enveloppe in XMLSPY from my PC, that works, but when it is used by PI, the request is well generated and the adapter say that that the "call is completed" and the "request entering" but our partner doesn't  receive anything.
    Message souce extract coming from the adapter SOAP :
    <?xml version="1.0" encoding="utf-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:m0="http://www.w3.org/2000/09/xmldsig#">
    <SOAP-ENV:Header>
    <m:credentials xmlns:m="http://eu.toyota.com/security/credentials/1.0">
      <username>minivomws.user@TBEL</username>
      <password>tars456</password>
      </m:credentials>
      </SOAP-ENV:Header>
      <SOAP-ENV:Body />
      </SOAP-ENV:Envelope>
    Could it be a problem of firewall or something else like this?
    Is there anybody who can help me?
    Thanks in advance for your answers
    Regards.

    Hi,
    In SOAP communciation channel, you have the parameter as Target URL, just below that you will fine some checkbox as Configure Proxy.
    Select this option and it will ask for HOST and PORT, these details will be available with the contact person of receiver Web Application, just fill up and this is HTTPS so may required related User ID and Password also to be specify. for this select the chek box Configure Proxy User Authetication.
    Hope this will help.
    thanks
    Swarup

  • Mac Mail & POP Error Message - Unable to receive, Able to send

    I am in a bind -- our company (okay, me) had gotten fed up using Yahoo Small Business email (multiple problems with customer service, they deleted my email, their tech fixes take weeks, I could go on and on...), so we switched to Network Solutions, a company I've used personally and been pretty happy with. HOWEVER, we've switched over and a remote party who uses Mac Mail to access his email set up using the exact settings suggested by Network Solutions and is unable to receive email. He's able to send it (using Earthlink as the outgoing mail server), but he's unable to receive it, and it's becoming a BIG pain.
    He's running:
    Mac OS 10.4.6
    Mac Mail 2.0.7
    He receives the error message:
    "The server error encountered was: The server "mail.latitude-entertainment.com" cannot be contacted on port 110."
    He operates wirelessly using a home router for multiple computers and has Earthlink DSL.
    One bizarre twist: He's even not able to access the webpage for webmail (http://mail.latitude-entertainment.com)
    At first I thought it was a firewall issue, but he doesn't believe he has any firewall software installed.
    Needless to say, I'm an admin here looking like a fool in front of the big wigs. Not a good position. Network Solutions runs me down their usual list of things to look for, but not looking at the computer, I'm running blind (and he's not in a position to contact tech support himself).
    Any help out there?
    Any help would be appreciated.
    Laptop, not sure what type   Mac OS X (10.4.6)   Mac Mail 2.0.7

    Hello, and welcome to the Discussions.
    Probably the number one thing check and/or experiement with, is the form of the Username entered in the Mail Preferences when setting up the account. Mail is very precise about whether the form is the portion of the email address in front of the "@domain", or the entire email address. The standard will be set by the server, of course, Mail will not take Username from any place, other than the Username entry box in the preference, and not from the email address entry box.
    Have him try it each way. Do you access this server with Mail 2.0, or otherwise?
    Ernie

  • Can you set SOAP receiver as sender?

    i am running PI7.11 SP0.4.
    Can i set a SOAP Receiver as a sender to give the impression of a Synchronous interface?
    as sometimes there may be a response?   or am i asking the impossible?

    i have been going round in circles here...  trying to get a solution....
    i have a service interface (async) in erecruit SWCV. 
    i have created service interface (async and sync) in my custom namespace
    it is the operational mapping that messes up...
    as the initial erecruit is async, i cannot use it in a sync process....  i cannot copy the contents of the async process into my namespace as that then loses the scalability and flexibility of using standard content (and against the project guidelines)
    and you cannot have an async - > sync in OM...
    Interface modi are different. Source interface Operation JobPositionPublication_Out | http://sap.com/xi/ERECRUIT/Global is asynchronous, target interface PostJob_SI_Sync | urn:JobBoard.PostJobs is synchronous
    but then the response i get is going somewhere else...
    it is a three stage/system i send a message to ws, get a response to send on elsewhere..
    as the scenario crosses several different SWCV i cannot successfully use BPM for this and i have to stay within the project guidelines for development....  :o(
    does that make sense???  any ideas?
    so i was trying to to do async -> async -> async without bpm.....

  • IDoc and Message Mapping

    Hi,
    I have a question.
    In a idoc to file scenario,idoc as a sender,.If the idoc is updated in r/3 system due to some change request after we finish the mesage mapping,what steps need to be followed to ensure the correct mapping.
    Do we need to change the mapping.
    Regards,
    Haritha

    Hello,
    if just the values of your IDoc changed you don't have to change
    your message mapping.
    If the structure has changed you have to reload the metadata (idx2)
    and the IDoc in your Repository and then update your message mapping with reloading your IDoc.
    Regards
    Patrick

  • Doubt in fields - message mapping (file 2 idoc scenario)

    while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names
    ( i am following this wiki help
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& )
    cremas04 idoc
    vendorNo LIFNR
    vendor name Name1
    Pur_org   ? ( I could not able locate field with the similar desc in idoc MT side)
    Company code  ?
    Acc_Grp  ?
    Search term MCOD1
    Address ADRNR
    City ORT01
    Pin_code PSLTZ
    could you help me out with this?
    Message was edited by: praba
            praba

    hi,
    I got the answer.

  • Dynamic URL in SOAP Receiver adapter

    Hi all,
    I have a scenario where I am using a SOAP receiver adapter to send a cXML document to some vendors. I need to change the URL based on the vendor number (passed by sender SRM system). So I have created a user-defined function and used in message mapping to assign the right URL to the variable TServerLocation. But the communication channel still prompts for a static URL which appears to be a mandatory field. Even though the DynamicConfiguration tab in Message Monitoring shows that the TServerLocation was correctly assigned, the scenario does not work when I put some dummy in the static URL field like 'dummy' or '*'. Any ideas on how to make the communication channel go for the dynamic URL field and ignore the static URL field? I have already selected the'Use Adapter Specific Message attributes' and 'Variable Transport Binding' check boxes. Am I referring to the correct variable that references the target URL? Also other than the two checkboxes that I mentioned, I am not displayed anything else under "Adapter Specific Message Attributes" section in the comm. channel.
    Thanks

    James,
    I ve just been digging into SAP help, and have tried it too ... Looks like it doesnt work the way it is supposed to.
    Anotheer point i found was, in the FILE ADAPTER, when we say ADAPTER SPECIFI ATTRIBUTES , we can select the attirbutes.. This is not possible in a SOAP adapter...
    Maybe, we can only access the ADAPTER SPECIIFC ATTIRIBUTES of a SOAP adapter, but cannot set them dynamically.
    Let me know if you find something on this issue.
    Regards,
    Bhavesh

  • SOAP receiver adapter error using Google Search web service

    Hi all,
    I'm trying to connect and old 4.5b system to XI SP16 to make it receive information from external Web Services.
    My scenario is made up of a sender RFC adapter and a SOAP receiver which is sending the message to the Google web service (http://api.google.com/GoogleSearch.wsdl) and then awaiting a response from it.
    I'm stuck with this error: "No Deserializer found to deserialize a ':key'". The problem is that XI is sending this kind of message:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key>mykey</key>
                   <q>testing</q>
                   <start>0</start>
                   <maxResults>1</maxResults>
                   <filter>true</filter>
                   <restrict>String</restrict>
                   <safeSearch>true</safeSearch>
                   <lr>String</lr>
                   <ie>String</ie>
                   <oe>String</oe>
              </m:doGoogleSearch>
    while Google is expecting this:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key xsi:type="xsd:string">mykey</key>
                   <q xsi:type="xsd:string">testing</q>
                   <start xsi:type="xsd:int">0</start>
                   <maxResults xsi:type="xsd:int">1</maxResults>
                   <filter xsi:type="xsd:boolean">true</filter>
                   <restrict xsi:type="xsd:string">String</restrict>
                   <safeSearch xsi:type="xsd:boolean">true</safeSearch>
                   <lr xsi:type="xsd:string">String</lr>
                   <ie xsi:type="xsd:string">String</ie>
                   <oe xsi:type="xsd:string">String</oe>
              </m:doGoogleSearch>
    with explicitly declared xsi:type.
    I've tested both messages with XMLSpy and the first one is always returning the same error.
    Is there a way to make XI send an XML message with written xsi:type?
    Many thanks in advance!
    Max

    Hi Ricardo!
    I followed your suggestion to create a simple XSLT mapping program (in the ABAP stack) and I added it to the Interface Mapping in the Integration Repository. The result is exactly the soap message that the Google web-service is expecting.
    I'm attaching the XSLT code below in case somebody has the same problem... thanks again for your hint!!
    Regards!
    Max
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sap="http://www.sap.com/sapxsl"
    >
    <xsl:strip-space elements="*"/>
    <xsl:template match="/">
    <ns1:doGoogleSearch xmlns:ns1="urn:GoogleSearch" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
          <key xsi:type="xsd:string"> <xsl:value-of select= "//key"/> </key>
          <q xsi:type="xsd:string"> <xsl:value-of select= "//q"/> </q>
          <start xsi:type="xsd:int"> <xsl:value-of select= "//start"/> </start>
          <maxResults xsi:type="xsd:int"> <xsl:value-of select= "//maxResults"/> </maxResults>
          <filter xsi:type="xsd:boolean"> <xsl:value-of select= "//filter"/> </filter>
          <restrict xsi:type="xsd:string"> <xsl:value-of select= "//restrict"/> </restrict>
          <safeSearch xsi:type="xsd:boolean"> <xsl:value-of select= "//safeSearch"/> </safeSearch>
          <lr xsi:type="xsd:string"> <xsl:value-of select= "//lr"/> </lr>
          <ie xsi:type="xsd:string"> <xsl:value-of select= "//ie"/> </ie>
          <oe xsi:type="xsd:string"> <xsl:value-of select= "//oe"/> </oe>
       </ns1:doGoogleSearch>
    </xsl:template>
    </xsl:transform>

  • Error in SOAP receiver channel: java.io.IOException: invalid http response:

    Hi experts,
    I have a IDOC to SOAP scenario where SOAP receiver channel is sending data to web service. In the receiver channel I am getting error as below. Kindly help me to resolve this issue. Thanks.
    "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: null"

    Did you check this?
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    Regards
    Pothana

  • XI 2.0 Message Mapping Activation Problem

    Hi All,
    When I attempt to activate a message mapping, I receive the following message:
    Activation of change list cancelled
    Check Result for Object Message Mapping ZHRMD_A05toEAI | http://com.sl.xi:
    *Starting Compilation
    *Error while Compiling
    This is a rather large IDoc, so I'm wondering if it's a memory problem. Do you know where I can "Check Result"? The actual mapping is very routine, so I don't think it's a syntax problem.
    Any help is greatly appreciated!
    Kind Regards,
    Jeff
    Message was edited by: Jeff Kocur

    It does appear to be a resource issue. Following your suggestion, I ran a test and received this message:
    Messages:C:\jdk1.3.1_11\bin\javac -encoding UTF8   -classpath .;.\system-lib\boot.jar;.\system-lib\jaas.jar -extdirs .\additional-lib;.\services\deploy\work\applications\ExchangeRepository -d C:\WINNT\TEMP\12_9_21_22_10_2004 C:\WINNT\TEMP\12_9_21_22_10_2004\com\sap\xi\tf\_ZHRMD_A05BtoEAIZHRMD_A05B_.java
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    Compilation error

  • Soap Receiver adpater: HTTP 20 OK, canu2019t parse the document

    Hi Everyone,
    The scenario is SAP ECC -> PI -> server (third party remote server).
    Here the PI has to post the message (payload) which is coming from the SAP ECC to the third party remote server.
    We have the soap receiver adapter to send the payload to the remote client system.
    When we do the end-to-end testing, in RWB the soap receiver adapter is throwing an error
    HTTP 20 OK, canu2019t parse the document
    Any idea what might the error or any configuration we missed out.
    Thanks,
    Lalitkumar.

    Hi Stefan,
    You mentioned that PI will be waiting response ,
    The Web service has to respond an empty SOAP envelope, but it does not return anything.
    Itu2019s fine if it is waiting for the response.
    But when we logon to the server using different link (that the portal of the server) to which we submit the payload, none of the invoices is seen whenever we submit.
    just a basic question, can we use the soap receiver adapter to post the invoices to external server (async scenario)
    i had tried with the HTTP receiver adapter too, with that also facing the same problem.
    kindly reply to that thread also...
    [unable to post the payload|successfully configured http receiver adapter, unable to post the payload;
    Thanks,
    Lalitkumar.

  • SOAP Receiver/Sender in IDOC- XI- SOAP receivers?

    hi,
    i have idoc-> xi-> soap receiver.
    1. How can i get a response back from soap receiver?
    2. in the above scenario is SOAP the receiver or agian the sender?
    3. not sure how i can get a response back from the soap receiver?
    any tips would be helpful.
    thanks,
    tirumal

    Hi,
    It should be
    <i>
    Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    What are you specifying?
    Can you give the entry in Target URL...
    Regards
    Suraj
    Message was edited by: S.R.Suraj

Maybe you are looking for

  • Select Expert

    When using the Record Selection tool from the Standard report creation wizard, the drop down list in the Record select is not being populated with data. However, when using the select expert from a blank report the drop down is working just fine. Any

  • SP return parameters in select statment

    how is it possible to return SP parameters(north, east etc) in select query under SP your help is appreciated.

  • Elements 6.0 Organizer crashes

    Recently, I've developed a problem with Adobe Photoshop Elements 6.0. When I click on the Organize tab, the program crashes. I have repeatedly followed the advice given in earlier FAQs to delete the Organizer folder in the User Data sub directory. Ho

  • ITunes 9 64-bit for Windows, but not Snow Leopard?

    So I installed iTunes 9 on my MBP running Snow Leopard, and when I go into Activity Monitor, under the CPU tab, in the "kind" column it clearly singles out iTunes as the ONLY app not running in 64-bit. Now doing a brief search the only discussion of

  • Apps, when downloading, just "waiting"

    Whenever I download or update an app it just goes into the waiting mode.  It does not download even if left for days.  This is something new.  I have been able to download apps for several months and this just started happening a couple days ago.  An