SOAP to SOAP Scenario with an Attachment

Hi,
We are using this scenario for transfering file from one location to another location with an attachment.  From Web service client we are succefully sending an attachment to XI system.  During mapping, we are facing problem while sending an attachment from inbound schema to outbound schema.  Being XI is using XML for mapping and important thing is here that whether XML can handle attachments or not?  If yes, then whats the way to handle attachment issue in XI 3.0? 
Thanks and Regards,
Rohit Goyal

Hi Holger,
Thanks for your reply but wanted some more inputs on this.  We have define two parameter as inbound and outbound schema as FileName and Filecontent. FileName contains the name of file and FileContent containes href link which points to an attachment.  FileContent is of type base64Binary.  Similarly FileName and FileContent are defined in outbound schema as well.  href linf should pass from filecontent Inbound schema to Outbound schema. But that is not passing.  In receiver side, we have web service running which takes these two inputs (FileName, and fileContent).
But as you r saying we don't require mapping?  Can you let me know, then how we can pass input varaibles to the webservice.
Pls elaborate more on this.
With Regards,
rohit

Similar Messages

  • Extended SOAP Scenario with Security

    Hi All,
    Could anyone send me the step by step procedure for "Extended SOAP Scenario with Security"?
    Regards,
    Sai.

    Hello,
    Please use the search option on SDN.
    There are no step by step guides as such and you will have to combine multiple different activities to achieve this, including set up of Server SSL on XI and then set up of the SOAP adapter to use the certificates.
    Refer to the guides on SDN for these.
    Regards
    Bhavesh

  • File To Mail Scenario With An Attachment

    Hi All,
    I Want to Implement a FileXI--Mail Scenario With An Attachment
    I Want to Send a Text File From the File System As An Attachment to the Mail.
    Can We Do this With out Doing JAVA Or XSLT Mappings in this ???
    Please Give me the Steps That I Have to Follow
    Regards
    Babu

    Babu,
    I am not sure how complex is your file sturcture and the mapping. But we can also achieve without java or xslt mapping also. Please check these weblogs:
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Also you have to use module swap for sending the attachment as txt file. Please check this weblog for this:
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992
    Regards,
    ---Satish

  • Proxy to SOAP scenario-With Attachment and Mapping

    I have a scenario to be developed, it is a Proxy to SOAP sceanrio.
    There are about 8 fields coming from Proxy.
    Can we create an attachment from these fields.
    Also we have to do a mapping of this attachment to a field in the target External Defination and also 2 fields of the 8 have to mapped to the other respective fields of the external defination.
    All this has to be posted on a webservice through SOAP with
    the 2 fields in payload and
    the attachment in the attachemnt section of the message
    Could this be achieved?

    In ABAP proxy you create a message with the two fields which you need for main SOAP message.
    The attachment is created exactly how it is requested from web service.
    You create a String with the XML (including tags) and do a codepage conversion to UTF-8 (or whatever is requested)
    Note: The payload is created in UTF-8 automatically, the attachment is treated as binary.
    You can also use a Java mapping for creating the attachment, if you have good Java skills, but I recommend to use program code for one purpose only on one place.

  • Sending a SOAP request with binary attachment

    hi all,
    I am sending a SOAP request from a SOAP client SOAP UI  with a binary attachment ( image file as an attachment )  and creating a file on the receiver side with attachment.
    But how do i see this attachment in XI and do i have to specify some additional configuration in my receiver or sender adapter modules.
    Regards ,
    Loveena.

    creating a file on the receiver side with attachment.
    Is this working? Receiver file adapter does not support attachment.
    But how do i see this attachment in XI
    In the pipeline steps, under payload, you will find two entries, one for payload and other for attachment.
    Regards,
    Prateek

  • Synchronous File- Soap scenario with fault message

    Hi!
    I have a File to Soap synchronous scenario.
    All is right when no exception is returned by the web service.
    I want to use fault messages to catch thoses exceptions, so I have added fault message in message interfaces and in the mapping program in the interface mapping.
    Now, when the web service return an exception like :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <soap-env:Fault>
             <faultcode>soap-env:Client</faultcode>
             <faultstring xml:lang="en">NOT_CREATED</faultstring>
             <detail>
                <n0:Z_WS_CREATE_WAGON.Exception xmlns:n0="urn:sap-com:document:sap:rfc:functions">
                   <Name>NOT_CREATED</Name>
                   <Text> does not have packaging material type and is therefore not a pack.mat.</Text>
                   <Message>
                      <ID>HUSELECT</ID>
                      <Number>041</Number>
                   </Message>
                </n0:Z_WS_CREATE_WAGON.Exception>
             </detail>
          </soap-env:Fault>
       </soap-env:Body>
    </soap-env:Envelope>
    I get the following error :
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
       <SAP:Category>XIServer</SAP:Category>
       <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
       <SAP:P1>http://www.arcelormittal.com/radis/rad IM_RAD_to_ZWsCreateWagon</SAP:P1>
       <SAP:P2 />
       <SAP:P3 />
       <SAP:P4 />
       <SAP:AdditionalText />
       <SAP:ApplicationFaultMessage namespace="" />
       <SAP:Stack>Interface mapping http://www.arcelormittal.com/radis/rad IM_RAD_to_ZWsCreateWagon does not exist in runtime cache</SAP:Stack>
       <SAP:Retry>N</SAP:Retry>
    </SAP:Error>
    My mapping program for fault message is well defined (I tested it with the exception message received from the web service).
    I have also refresh caches, but without success...
    Can anyone help me ?
    Thanks in advance,
    Laurence

    Hey Laurence,
    A File adapter is aysnchronous u cant use for synchrous because it cant acknwlodge the response it gets or itt sends.
    regarding two asynchoronus
    1. file to SOAP asychn.
    2. triggger the second one if SOAP has exception then pass the error from SOAP to New File.
    using BPM we have to use Transportion level acknowledgments
    please reward points if it helps
    Regards
    Sreeram.G.Reddy

  • Soap to soap scenario with multiple operations

    hi experts,
       I want to do a scenario in which I have sender RFC(asynchronous) and receiver SOAP(Synchronous) and response will come back to a file.
    Can anyone please help me, how many communication channels are required and how to do configuration.
    regards,
      vineetha chowdary

    > want to do a scenario in which I have sender RFC(asynchronous) and receiver SOAP(Synchronous) and response will come back to a >file.Can anyone please help me, how many communication channels are required and how to do configuration.
    RFC (ASYNC) --->SOAP(SYNC) ---> FILE(ASYNC)
    You can do this with bpm or without bpm.
    Doing WITHOUT BPM is simple.  Refer the following [link   |http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29?bc=true]for handling async sync pattern ...
    Follow closely this link .. ONly difference is file (sender) and file receiver are async and RFC is sync.  In your case RFC(sender) and FIle(receiver) async and SOAP is sync.

  • UCCX Soap request with wav attachment

    I am trying to modify my working UCCX 9.0 soap request so that I can send a wav recording from the caller.  I understand that there are several ways that an attachment could be handled by a soap request, inline, mime or mtom.
    Has anyone done an attachment like this?

    I can appreciate your point about the load of encoding and decoding the wav file.  I can guess that to load the wav file into the repository would be similar to how a prompt recording application would load new prompts. However wouldn't the soap server have to log into the CRS administration site to download the wav file.  Also the wav files would left in the repository so I would have to come up with something clean up after the wav file was downloaded. The url method not sounding as simple as just encoding the wav file.

  • One SOAP-SOAP scenario with multiple interfaces

    Hi,
    I am developing a scenario SOAP-SOAP using PI 7.10 Sp6.
    The wsdl has around 8 service interfaces and i am planning to create 8 Outbound and 8 Inbound interfaces for the same mesg type and create a scenario without MM or Operation mapping.
    If I plan to use only one Sender CC and only one configuration scenario for this developement, how do I provide my end point in the following format?
    http://<host>:<port>/XISOAPAdapter/MessageServlet?senderParty=&senderService=<SEND_BS>&interface=Interface_Out&receiverParty=&receiverService=<RECV_BS>&interfaceNamespace=http://test.com/xi/SAP/
    Venkat.

    Raj/Pavan,
    I added other service interfaces to one service interface in operations.
    But the request messages have not appeared because of which it is throwing an exception when I activate the message interface.
    I do not have problems on the receiving side, One receiver CC should take care of the problem as we dont specify in the recvr SOAP action attribute.
    I am worried about sender side only !
    Thanks,
    Venkat.
    Just now I created a dummy DT, MT and SI and added this to existing even that request message did not show up in the SI.
    Edited by: Venkat A on Jun 16, 2010 11:03 AM

  • RFC to SOAP scenario (with out XI/PI)

    Dear Experts ,
    Is it possible to push data from RFC to Webservice with out using XI/PI.
    Regards,
    Kartheek.

    It is indeed possible, however without having used PI/Xi in the middle, once the mentioned scenario would be implemented, it would be difficult to keep the track of the messages that would flow across systems (i.e. message log, corresponding data etc.). So my suggestion would be to make use of the PI module as a middle ware.
    Please check the URL that regards to your query.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
    Mutti

  • Proxy to SOAP with an attachment

    Hi all,
    we have a scenario proxy to soap,and the volume of data sending from proxy to soap is more than 20 mb.
    as the third party system can't receive 20MB of data in one single soap message and we can't split this message as the whole data is related one WorkOrder. we thought of sending the SOAP message with an attachment.could any one guide me how can i attach the payload data to soap as an attachment and send.
    thank you.

    Hi,
    It's pretty easy - just have a look at my article:
    The specified item was not found.
    and let me know if this works out for you
    Regards,
    Michal Krawczyk

  • How to send SOAP message with attachment?

    Hi Experts,
    How do I simulate to send a SOAP message with an attachment? Can I use XMLSpy?
    Please help.
    Thanks,
    Shobhit

    Ravi,
    With the generic SOAP client, it asks for the http based wsdl file location. But my wsdl has been generated by XI and I have the file stored on my desktop.
    Something to do with the path http://zpidd01:8030/XISOAPAdapter/MessageServlet?channel=NetworkPartners:NP_Order_BS:NP_SOAP_Sender_CC ??
    Stefan,
    my scenario is to send a SOAP request with attachment and post the attachment in ECC through the ABAP server proxy.
    WebService Client -
    SOAP----> XI -
    ABAP PROXY CALL ---> ECC
    Need further assistance from both of you how to achieve this scenario.
    Thanks,
    Shobhit
    Edited by: Shobhit Swarup Mathur on Jul 24, 2008 4:34 AM

  • Synchronous Proxy - SOAP Scenario (Error 500 in Response).

    Hi
    I've built a few Synchronous Proxy -> SOAP Scenarios,
    with 'Do Not Use SOAP Envelope' option.
    For two of them, I'm facing a common error.
    The error is: ADAPTER.HTTP_EXCEPTION (HTTP 500 Internal Server Error).
    When I paste the EXACTLY SAME payload picked up from XI, into the SOAP client, it works giving valid response.
    Trying to figure out the issue.
    R/3 System:
    WAS 620 (Level 0041)
    XI System:
    PI 7.0 (Level 0007)
    SOAP System:
    BizRights (Approva) 3.0
    Any help is appreciated.
    Rajendra.

    Hi,
    Following SAP notes may help you-  804124, 807000
    Regards,
    Moorthy

  • SOAP scenarios

    Hi,
    I am New to XI and want to practice on soap adapter. Could you pls give me some basic soap  scenarios with step by step like file to soap, HTTP to soap etc.....
    Thanks
    dushanth

    Hi
    1.First you need to Uploading the WSDL into the Integration Repository
    For this
    Go to your Software Component Version and open the required Namespace. Create an External Definition:
    In the external definition object, choose Category wsdl and click Import external definitions.
    2.Now create MI.
    In the message interface object, select the message types of the external definition
    object by using the input help.
    3.Creating a SOAP Sender Channel
    Here we have to define the namespace and the name of a message interface (values can be taken from Integration Repository).
    Select the Quality of Service
    4.Creating a SOAP Receiver Channel
    The obligatory parameters in the configuration are Target URL and SOAP action.
    5.Create a WSDL from an Interface Definition
    Finally Test the Scenario Using a SOAP Client.
    Get back if you have some doubts.
    Thanks

  • HTTP 500 Internal Server Error with Large Attachment in SOAP Scenario

    Hi,
    we have implemented SOAP - XI - SOAP Scenario in our landscape (Sap Neatweaver Process Integration 7.1) .
    One of the functionality of this scenario is the Upload of Documents to External Web Service through standard SOAP Attachment.
    If we try to upload a small file (smaller than 20MB), task works fine and the document is correctly uploaded.
    If we try to upload a larger file, we encountered in this generic error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1161)
    We tried to increase timeout parameters (in communication channel and in ICM Value) but the response is the same.
    We verify also if icm/HTTP/max_request_size_KB parameter was set to a value smaller than our file size limit (20MB) but is set to default value (100MB).
    The problem isn't on External Web Service Layer because if we try to upload the same documents directly to that web service upload works fine, and in External Web Service's Log there aren''t any indications of this error.
    So I ask you: are there any System Parameters to verify to solve this issue?
    For additional, in ICM Monitor LOG we can read this WARNING when we call our service:
    WARNING => IcmReadFromConn(id=53/454390): temporarily out of MPI buffers -> roll out [icxxthrio_mt 2646]
    This warning may be related to the problem? If yes, how can we solve it?
    Thanks a lot,
    Marcello Ricci

    Hi ,
      Please answer my following questiosn.
    1)  which PI version are you using?
    2) How many J2EE nodes you have.
    please be reminded that SOAP is not for the heavy messages. Then you need to increase your timeout parameters from BASIS.
    Rgds
    Veeru
    Edited by: viru srivastava on Dec 14, 2010 10:18 PM

Maybe you are looking for

  • External editor

    Hey guys, I am still using snow leopard, and Aperture 3.2.1, and really cannot seem to set up my external editor. I configure it as opening in Photoshop 5, Tiff (8 bit) and Adobe RGB 1998 but it will just not open the photo. I have trashed the prefer

  • Error in integration Engine(indicating red color)

    Hi all, I am getting error in integration engine monitoring it shows red in color. In that below PING status its telling like Unable to log on to system with PIRWBUSER. Post installation has done in 001 client by default.the user is also existijng in

  • Packet size and selection screen

    hi all., i have a requirement where user just need to give the no. of records to be processesed for a execution of a report. i am using packet size were the user gives the no. of records he want to be executed in a report. Please let me know how to u

  • Initiating a script from a created menu

    Ok, I admit that I am a novice with JavaScript, although I have experience developing using Xcode with ObjC and lots of interapplication scripting with AppleScript. However, I am clearly missing some very basic concepts trying to do some very simple

  • Lightroom changing date stamps (or more) on unopened files??

    I routinely backup my catalog to an external drive, and then I sync all the folders with images to the same drive. I have done this ever since starting with Lightroom a long time ago, with no problems. Last night, I backed up the catalog (LR 3.4), an