Send a file usring SOAP adapter

Can I send a file using SOAP adapter on the sender side.
reg,

Henrique Pinto,
I am trying something out. The scenario I am trying would be a very small but imp part of a bigger business requirement.
I am trying out different options to show the clinet.
<b>1.Started XMLSPY and selected, SOAP>Create new SOAP request>
Now u r asked to browse for the wsdl....DONE. Clicked on OK
Now the request created as an xml file.
2.Go to SOAP> Send SOAP request > there is a new xml file which is the response.
I did not get any errors. I see a file in the target directory.
My problem is where it would really be picking up the data.
WSDL has only referrence to the definition of the message type
(in the definition of O/B interface )</b>
As you have already mentioned that in XI, message type should be refering to file message. If this is the case, how would I incorporate the data in that message.
I hope I am clear.
reg,
Message was edited by:
        Naveen Chitluri

Similar Messages

  • Send and Receive an xml file over SOAP adapter

    hi,
    I want to send an xml file as an attachment over SOAP adapter and Response also should be file.
    Can anybody tell the exact solution.
    Useful responses will be appreciated
    Thanks
    Jaideep Jain

    Hi Jaideep,
    Yes you can send the any file throgh SOAP adapter by selecting the Keep Attachments option.
    For your requirement you can go throgh the following link
    Re: Attachments in SOAP adapter
    http://www.w3.org/TR/SOAP-attachments
    http://www.theserverside.com/tt/articles/article.tss?l=SendingAttachmentsWithSOAP
    Regards
    Sridhar Goli

  • Reading huge flat file through SOAP adapter

    Hi Everybody,
        In one of our interface we need to read big flat file using soap adapter at sender side into xi and we are using java map to convert into xml. but before that i need to split this flat file into multiple files  in the first message mapping. and in the second map we have to write a java map to do the flat file conversion to XMLBut i got struck up in reading this big flat file into XI as i need to declare some datatype to read this entire file. Can anybody tell me how i can do this. is it a possible to do first of all with SOAP adapter . 
    Thanks
    raj

    hi vijay,
      Thanks for your prompt reply. Due to some reasons i am not allowed to use file adapter . i can use only JMS adapter or SOAP adapter. we tried few scenarios with JMS content conversion but what ever scenario i am asking here is complex at multilevel i can't even use JMS in this case. so we are thinking to read whole file using SOAP adapter and then we are planning to split the file into multiple files, as file can be huge size ,using java mapping and in next level we want to use another mapping to do content conversion. SO I have to do experiements whether this is a feasible solution or not. because when u declare at sender side
    <ffdata_MT>
    <Recordset>
        <ROW>    String type
    when u declare like this and when u sent the flat file using SOAP adapter at sender side we are getting whole file which we sent at part of "ROW" as string. but inside java mapping i need to see whenther i can split this in XI ,so that i can use these split files in next mapping for content conversion. Hope i am clear now. I want to know whether it is a feasible solution or not.
    I really appreciate if sombody give some idea on this
    Thanks
    raj

  • Sending empty files using SFTP Adapter

    I am trying to send empty files using SFTP adapter. The interface has to send the file whether its empty file or containing data using SFTP adapter. I am using BizTalk Server 2013 R2. Is it a bug or the hotfix is already there for this issue.

    The issue here is not your SFTP not able to send 0KB files, but the file receive adapter that is receiving the file. The file adapter deletes 0 KB files and doest not transmit it further.
    If u have a ftp receive for example you should be able to send 0KB files.
    If u have a custom file receive adapter , is it handling 0KB files ?
    Regards &lt;br/&gt; When you see answers and helpful posts,&lt;br/&gt; please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • How to write won WSDL file for SOAP adapter ?

    Hi experts
      Can any one expalin me how to write WSDL file  for SOAP adapter ?
      What and all things i need to know ? i have no idea on this....
      I got the business but to WSDL ...i am very new to this
    Adv...thanks
    Rakesh

    HI,
    Please see the below links,
    Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    /people/kevin.liu/blog/2006/04/12/wsdl-11-binding-extension-for-soap-12
    Regards
    Chilla..

  • How to Send Multiple Attachment by SOAP Adapter

    Hi,
    How to send multiple attachment by SOAP Adapter.
    I am able to send single attachment but at the time of sending multiple attachment i am not able to see in SXMB_moni.
    Regards,
    Anurag

    On the communication channel, please check the 'Do Not Use SOAP envelope' option. Also, please, add the "nosoap" attribute to the SOAP adapter caller. Check the note below for more information
    #856597 FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    > "How does the nosoap mode work for the SOAP sender adapter?"

  • Flat file with soap adapter

    Hi,
      Can anybody tell me is it possible to send flat file as an atttachment via soap adapter.
    Regards,
    Dhill

    Hi Doss,
      Thank you, my user have given details as
    URL Name : https:
    xxxxx
    and
    Headers details as :
    Ent-sender:   XXXX
    Ent-receiver:  YYYY
    Ent-APRF:  ZZZZZ
    Ent-filename: client_file_name
    Please let me know how we need to specify this in receiver soap communication channel.
    Regards,
    Dhill

  • File to SOAP adapter

    Hey guys
    can anyone provide me with step by step process for a Asynchronous File to Soap scenario,i m new to XI and would really appreciate if u explain the steps a bit in detail
    thanx
    ahmad

    Hi,
    Hope you have a Webservice ready to test the scenario.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    Go thru these blogs -
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    All these case, you need to remember, Sender is File in your case. Remaining configuration about SOAP will remain similar.
    Regards
    Moorthy

  • SEND SYNC IN BPM SOAP ADAPTER FOR WS

    Hi all,
    I´m having problems with an BPM that send a sync message to a ws using a Soap adapter. I have the following error
    Work item 000000087293: not possible execute CL_SWF_XI_MSG_BROKER, method SEND_SYNCHRON.
    I´m on SP15.
    Any Idea?
    Many thanks
    Noelia

    Hi,
    Go thru this thread:
    Interface Mappings in BPM Collect Pattern
    Then try this
    1)do a CACHE REFRESH. Is it working?
    2) Check transaction SWDD
    3) If no other go then try this:= Copy your old BPM to a new name and delete the old one. The again eport it in the Configuration with the old name.
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • File adapter sends return message to SOAP adapter

    Hi,
    I have managed to send a message using a SOAP sender adapter to a file using the file adapter. The respective message is written to a file. Though both adapters are configured to work in an asynchronous way, the file adapter seems to try to return as message. This results in an error message: "Das Interface-Mapping ... ist nicht im Laufzeit-Cache vorhanden". I have updated and checked the runtime cache. The respective mapping program is available and working, since the file adapter writes the send date to the file. So why this message?
    Kind regards,
    Heiko

    The file adapter replies the sent message, when it is addressed in sync mode.
    Set in the SOAP sender channel the Quality-of-Service to Exactly-Once to avoid this behavior.
    Regards
    Stefan

  • Send attachment with receiver SOAP adapter

    Dear Guru's,
    We have created a scenario SAP ERP (ABAP Proxy) -> PI 7.0 -> (Webservice) OSB.
    In the ABAP Proxy have we attached a file (jpg). In the SXMB_MONI we see first the file (named attach), and second the MainDocument. It seem's this is the wrong sequence.
    We tried to correct this with AF_Modules/PayloadSwapBean in the receiver SOAP adapeter, but it does not work.
    There are blogs who tells about how to configure the parameters. We did it as follows:
    AF_Modules/PayloadSwapBean swap1
    AF_Modules/PayloadSwapBean swap2
    swap1:  swap.keyName = payload-name
    swap1:  swap.keyValue = attach
    swap2:  swap.keyName = payload-name
    swap2:  swap.keyValue = MainDocument
    In the communication channel audit log the swap is processed succesfully, but we don't see nothing changing in the message sequence.
    Can somebody please help me with this issue?
    Kind regard,
    Jeroen Jung

    Hi Stefan,
    The main thing at this moment is to change the sequence of the payload and attachement. PI puts the attachement first and than the payload and in that sequence the receiver application can't deal with it.
    This is a multipart related message and in the header it refers to the image (image/jpeg) first instead of the payload (application/xml).
    As you can see in the first message we have used PayloadSwap Adapter module in the receiver SOAP Communication Channel to change this sequence and in the Audit Log of the SOAP CC we can see that it does SWAP functionality succesfully but the result is the same and nothing happens.
    Here below you can see the result of a http snapper grabber:
    POST /EnterpriseContentManagement/ProxyServices/PS_EnterpriseContentManagement_v1 HTTP/1.0
    Accept: */*
    Host: localhost:8090
    User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
    CallingType: SA
    Content-Type: multipart/related; boundary=SAP_00e371ef-3ca3-11df-9503-001f2966194a_END; type="image/jpeg"; start="payload-9A6BAB4B2FE1273DE10000000A503151 @ sap.com"
    Content-Length: 939196
    SOAPACTION:
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END
    content-id: payload-9A6BAB4B2FE1273DE10000000A503151 @ sap.com
    Content-Type: image/jpeg
    *********binary attachment data************
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END
    content-id: payload-9B6BAB4B2FE1273DE10000000A503151 @ sap.com
    Content-Type: application/xml
    <?xml version="1.0" encoding="utf-8"?>
    *********XML Message************
    --SAP_00e371ef-3ca3-11df-9503-001f2966194a_END--
    Do you have an idea how we can switch the sequence of payload and the attachment? Or why the SWAP functionality doesn't have any result?
    Kind regards,
    Danke
    Jeroen Jung

  • Sending Text File through Mail Adapter

    Hi Group,
    I need to send my Target as Mail attachment in the Text File?Can any body Suggest

    Hi swabap,
         You need to use PayloadSwapBean module in the Mail receiver adapter. This module will send the payload as an attchment to the mail server.
    Check the following link
    <a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure:///people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards,
    Akshay

  • Sending xml files via AS2 adapter

    Hi Experts,
    I have an interface which requires an IDOC to XML scenario.
    This is a simple pick and drop scenario with no mapping required.
    We just have to send the IDOC to the 3rd party via AS2 receiver in XML format.
    Currently, the 3rd party receiver receives the file in binary format with no extensions (i.e. 9876543210123)
    Although when opened via notepad, the content is in xml format
    Is it possible to have the file sent as a .xml file (i.e. PO IDOC.xml)?
    Please see current configuration below:
    Currently, 3rd party is still receiving the file with no filename extensions.
    Thanks,
    Mike

    Hi Luis,
    Thanks for your reply.
    However, I am a bit confused because the thread mentions that the module configuration is for the file and JMS adapters. Also, the scenario is an AS2 to FTP interface
    I want to do the filename change in the AS2 receiver channel of a IDOC to AS2 scenario.
    Where exactly do I define the filename that I want to output such as "test.xml" instead of the default filename with 13 numerals?
    Thanks,
    Mike

  • How to send images using SOAP adapter

    hi All,
    I want to send images using the SOAP adapter . ( Sender and Receiver )
    Can anybody help out with this requirement
    Regards,
    Loveena

    Hi,
    Following links may help U
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    to know the basics about soap adapter u cn check out this link
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    to get in detail about the attachments chk out this link
    hi i am unable to attach an attachment in File to mail scenario
    Regards
    Pullarao

  • How to send XML file into XI using sender HTTP adapter

    I am using HTTP sender adapter to post the XML file into XI. I tried to form the URL by using the following String query , but I am unable to execute file.
    String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";
    How can I execute xml file by using HTTP sender adapter.
    Any one with better suggestions, about this idea?
    Thanks in advance for all.
    Ram Raj

    Hi
    Just use the following parameter to send xml file using HTTP adapter.
    "http://xiserver:8000/sap/xi/adapter_plain?namespace="senderNamespace"&interface=senderinterface&service=sender service";
    "&party=sender party"&agency=&scheme=&QOS=BE&sap-user=userid &sap-password=password&sap-client=100&sap-language=D";
    with the help of this you are able to point out which interface you would like to use.
    And in payload pass the xml.
    and thats it
    carry on
    Cheers
    Regards
    Piyush

Maybe you are looking for

  • How to get GUID of a milestone?

    Hi, In my requirement, I need to identify each and every milestone uniquely. I know that every milestone is assigned to a GUID. How to find out a GUID for a milestone? Where these GUIDs for milestones are stored?  Also, please tell me how to give our

  • GPO Run these programs at user logon not taking effect when configured in Computer Configuration section

    [EDIT 20140207]: I found that the default domain policy sets "run these programs at user logon" and (other than I expected) not BOTH GPO settings become active, but the setting from the default domain policy overrides the setting from my new GPO. So

  • Error: Request for resource at

    Hi, I am getting following error, Kindly help me to resolve this. Error: Request for resource at http://dwm3va-inst1:1111/soap/rpc by requestor from http://localhost:8080/giftCardDashBoard/GiftCardDashBoard.swf is denied due to lack of policy file pe

  • Display Raw data image with JSF

    Hi, I have a raw data image in bytes and I need to display this image using JSF. How to do? Thanks Jamil

  • Error configuration HTTP / SMS

    Hi, I problem configuration HTTP for SMS (SCOT) after the step by step configuration, not send SMS Show error: No delivery to BAL:04120116292 due to problem with communication connection Message no. XS839 Diagnosis The message could not be delivered