WS Adapter - Sender - Confusion on config parameters

Hi All,
I am trying to understand the logic behind the use of WS sender parameters. It would be nice if some one could help me with it.
For WS Sender ,
Target client , host and other parameters available
For applications to consume , we need to expose the CC via a Sender agreement. As PI is the provider and as the wsdl needs to point to PI system , the parameters for sender cc will always point to PI system isnt it..
My confusion is if the sender parameters are always PI systems , why do we need to set these inputs for this adapter.. ???
Thanks in advance
Regards
Bharathwaj

Hi Bharath,
>>For applications to consume , we need to expose the CC via a Sender agreement. As PI is the provider and as the wsdl needs to point to PI system , the parameters for sender cc will always point to PI system isnt it..
For this type of scenario you need to use SOAP Adapter instead of WS Adapter (Though I dont see any harm in using the WS one)
The use of WS Adapter is for two purpose
1. Direct communication (Where Integration Server is not used) : Only WS Receiver is used here
2. Communication with IS : WS Sender and WS Receiver Adapters are used
Since you want to send the message to IS, you are specifying all parameters like Target client , host etc
Check this link http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce29e73a8e5430e10000000a42189b/content.htm
Regards
Suraj

Similar Messages

  • Sender and receiver channel parameters

    Hi Experts,
    I am working on a flat file to flat file scnario. I need to remove the first two lines and last two lines from the flat file and send it to ECC via PI
    The flat file looks like this
    %802 750285 7502857 7502
    %JHKJ UYOU 99 9090
    dfafds 2255425 4545 sdfs fsdfsdf dsffs fsfda sfsf
    rewre ewrewr wetwt wtwtw
    %iuoi iuipo
    %7878 8787
    so i need to remove the first two lines (starts with % symbol) and last two lines (starts with % symbol) and convert back to flat file and send it to ECC.
    I have created the data types as
    Source Data type
    DT_Source
    Header 1..1
      Header1
      Header2
    Recordset 1.. Unbounded
      Record 1.1
    Trailer 1...1
      Trailer1
      Trailer2
    Target Data type
    DT_Target
    Recordset 1.. unbounded
      Record 1.1
    Could you plz let me know the sender and receiver channel parameters
    Regards,
    Vai

    Hi Vaigai,
    Grzegorz is right.
    You can read all the flat file and remove the first two and last two lines using a mapping.
    Check this link. There are some content conversion parameters in the sender file adapter that can be helpful
    [http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
    Regards,
    Diego Estanguini Gabriel

  • Cannot process a Fixed Field Length file using the File Adapter (Sender)

    Hi -
    I have checked throughout these posts and blogs but I still have not been able to find a solution to my issue.  When using the File Adapter (Sender) I get a Conversion initialization failed with "xml.keyfieldName", no value found.  Why would I require a key field when I am using fixed field lenghts?  The file is comprised of 2 structures - 1 header and multiple details (see below).  There are no key fields in the flat file that I would be able to use.  Any suggestions?
    011000390      Customer Americas        20080605164317 000000000000000800000008000000000016000000                              
    12345678          100500       100500       Supplier 1                         0000000000030000002008040400                    
    12345678          100501       100501       Supplier 2                         0000000000052000002008042100 
    The File Adapter is configured as follows:
    Document Name = Rfchke00
    Document Namespace = 'my namespace'
    Recordset Name = Rfchke00
    Recordset Structure = Dtachkh,1,Dtachkp,*
    Recordset Sequence = Ascending
    Recordsets per Message = 1
    Key Field Type = String (Case-Sensitive)
    Dtachkh.fieldFixedLengths = 15,25,8,6,1,8,8,8,15,3,31
    Dtachkh.fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11
    Dtachkh.processFieldNames = fromConfiguration
    Dtachkp,fieldFixedLengths = 18,13,13,35,15,3,8,2,21
    Dtachkp,fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9
    Dtachkp,processFieldNames = fromConfiguration
    Thanks,
    Dave

    Hi,
    you can use the module from which u can convert your structure to
    H011000390 Customer Americas 20080605164317 000000000000000800000008000000000016000000
    D12345678 100500 100500 Supplier 1 0000000000030000002008040400
    D12345678 100501 100501 Supplier 2 0000000000052000002008042100
    Please note the extra H,D in the struture added by the module.
    You can then use them as your key fieldValues.. The module should be deployed in Visual Admin and then can be used in the Module tab of your adapter CC
    While writing the content conversion after that please dont forget about the added new characters
    Please note also that i can find that the word supplier kept repeating in all the Dtachkp records
    Please use that
    Also if you feel that the field is of 13 characters and that would cause a problem dont worry... create a dummy field eg split tht 13 to two fields and use the common one as key field Value and identifier... as i see in ure case its like 500 Supplier , 502 Supplier . u can split the first 4 char and the remaing 9 char are key field value.
    try this out
    Rgds
    Aditya

  • SOAP Adapter Sender PI7.1: 400 Bad HTTP request

    Hello,
    I have a problem with a SOAP adapter sender communication channel.
    I'm trying to migrate a scenario from XI 3.0 to PI7.1 SP6 (PI_BASIS 2006_1_710 SAPKIPYN06).
    I can send messages successfully to the old system using the URL
        http://host:port/XISOAPAdapter/MessageServlet?channel=:BC_Name:CC_SOAP_Sender
    On PI7.1 I get
        400 Bad HTTP request
        Error: -21
        Version: 7010
        Component: HTTP_PLG
        Module: http_plgrt_mt.c
        Line: 5226
        Error Tag:
        Detail: illegal request version
    I have created a Sender Agreement, generated the wsdl from that and tried the URL in there.
    Surprisingly it has the old format, namely
        http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_Name&receiverParty=&receiverService=&interface=myInterface&interfaceNamespace=urn:my.Interface:ns
    although the 7.1 documentation describes the ?channel=party:service:channel style only.
    Anyway, the result remains the same.
    I tried some other approaches like escaping the colons in the URL without success.
    The user has the role SAP_XI_DEVELOPER_J2EE assigned.
    Any idea what's wrong here?
    Thanks in advance
    Rainer

    >>In RWB the channel appears as "started but inactive".
    Yeah,it will be like that because you are posting messages directly to Integration server."Propose URL" does that.You are bypassing the adapter engine when you use the URL generated by "Propose URL" button.
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    The above blog gives the reason for this,if you want to bypass the adapter engine,then generate the URL as given in the above blog
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    This blog explains how to post message to adapter engine,here you need to change the URL,don't click on "Propose URL" button.You can monitor SOAP adapter in RWB only if you generate the URL as given in second blog
    The URL which is working for you in XI 3.0 is posting messages to adapter engine,so generate the URL in PI 7.1 in the same way,by following the second blog i have mentioned.
    Thanks
    Aamir

  • Mail Adapter Sender error

    Hi,
    I need to use Mail Adapter Sender with MAPI protocol.
    I have create my Comunication Channel of type IMAP4 and configured URL as mapi://server and actved one.
    In RWB appears the message "mail client job stopped completly"
    Can anybody help me?

    The URL must be: imap://server/inbox
    This is hard coded in the mail adapter and cannot be changed.
    Only imap4 and pop3 are supported.
    Regards
    Stefan

  • Synchronous file adapter sender side configuration in sap pi

    Hi Experts
    synchronous file adapter sender side configuration in sap pi
    can you explain any one tell me step by step procedure?
    Regards
    Sagar

    Hi,
    You can use RequestResponseBean in the sender file adapter module .
    RequestResponseBean (SAP Library - SAP Exchange Infrastructure)
    Request/Response Bean for IDOC_AAE adapter
    Instead of IDOC_AAE adapter you can use FILE adapter.
    Regards,

  • FTP Adapter (Sender)

    Hi Experts,
    The usual scenario and setting for an FTP adapter (sender) to trigger an event if there are no files being picked up? If it's possible, how will I do it?
    Cheers,
    R-jay

    Hi Neetesh,
    I have my existing configuration the adapter finds a file, it will just delete the file since the target system is the one creating a log (let say) every 1min. My configuration is set to every 2mins to check the folder and if there's a file, the adapter just delete the file. Then if the adapter doesn't find any of the file, then it will create a target output to another directory informing that no files are found. I only create 1 log file and just append the new log (overwrite the file) 
    Sample (output): message.log
    Server A: Critical. No file has been found
    Server B: Critical. No file has been found
    Server C: Critical. No file has been found
    Someone will be looking onto this file and they will be creating like an automated alert.
    Note: I'm not using the Alert Framework of SAP PI since it will only trigger on application level of PI. This will like monitor an external application Server.
    Cheers,
    R-jay

  • Seeburger - XI AS2 Adapter Sender service configuration

    Hi,
    I need to know how to configure the seeburger AS2 adapter sender service in XI ( EDI -
    > IDOC).
    I have some pre-requisites that are needed to setup.
    1. SSL certificate
    2. AS2 Certificate (public key)
    Kindly anyone provide me the guidance or if any docs/pdf's. your help is appreciated.
    Thanks,
    lakshmi

    Refer these
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    Thanks

  • Update in JDBC-Adapter (Send)

    Hallo,
    I´m trying to execute a Update in the JDBC-Adapter (Sender). When a Select-Statement results in exactly one entry back from the data-base I wont to Update this entry.
    How refrencing to the enty (for example by an primary key)? I found only documentation for Receive-JDBC-Adapter...
    Thanks in advance,
    Frank

    Hi Frank,
    At last I get your scenario..
    One solution to your problem can be the following though i am not sure if this is a perfect soultion or a viable solution but, it is a workaround solution which you can surely try.
    1. To update the status of your database on the basis on the events that have taken place, you can configure a JDBC Adapter as a receiver.This JDBC adapter will contain the event and the flag value as well as Update condition.
    Just check this blog and SAP help to understand how JDBC receiver adapter works,
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    2. In your JDBC sender adapter that is polling over your DB table, you can give the value for UPDATE as <test>. This means that you are not changing anything even after the adapter has picked up intfo from the table. Ofcourse, you would have to increase the polling interval time as the JDBC receiver has to update the DB.
    I know this solution is a long shot and an added headache but if nothing works out, you can always do it this way.
    Hope this helps,
    Regards,
    Bhavesh.

  • WS Adapter Sender Error

    I am using the WS adapter Sender and communication security as HTTPS(Transport Channel Security).
    This is an outbound interface from ECC to PI to 3rd party. While sending the message from ECC it gives as error message as HTTP unauthorization. Could you please guide me on this. Thanks.

    Looks like authorization not related to ssl.  Check few things..
    a) You might be sharing PI cert  in the ECC system to make a request from ECC to PI. Make sure that is installed valid or not.
    b)  Talk to basis team and see your PI integration looks for user credentials (user/password) in addition to Https transport secured communication.

  • SOA B2B adapter(send) - B2B console not identifying partners correctly

    Hi there,
    My case is like this.
    Trading partner is sending a doc through custom http server which B2B cant reach.
    So I wrote a SOA Composite to fetch this xml from remote & then send the document to B2B.(as if partner is sending to host)
    I used B2B adapter & send operation for this.
    The issue is, B2B is not correctly recognizing the sender trading partner.
    B2B engine is assigning the same TP for both sender and receiver.
    I am setting Generic Identifier to set the sender/receiver value.
    (for example... am using Google as Host & Amazon as Partner.. )
    Properties Set in B2B Adapter:
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerId", value is "Google".Sending property "b2b.toTradingPartnerId", value is "Google".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".Sending property "b2b.documentProtocolVersion", value is "Amazon_1.50".
    28-Apr-2011 10:43:20 Sending property "b2b.documentProtocolName", value is "Custom".Sending property "b2b.documentProtocolName", value is "Custom".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerId", value is "Amazon".Sending property "b2b.fromTradingPartnerId", value is "Amazon".
    28-Apr-2011 10:43:20 Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.toTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentDefinitionName", value is "PO_Defn".Sending property "b2b.documentDefinitionName", value is "PO_Defn".
    28-Apr-2011 10:43:20 Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".Sending property "b2b.fromTradingPartnerIdType", value is "Generic Identifier".
    28-Apr-2011 10:43:20 Sending property "b2b.documentTypeName", value is "PURCHASEORDER".Sending property "b2b.documentTypeName", value is "PURCHASEORDER".
    28-Apr-2011 10:43:20 Invoked 1-way operation "send" on partner "SendB2BOrder".Invoked 1-way operation "send" on partner "SendB2BOrder".
    As seen In B2B Console:
    Sender Type     Generic Identifier
    Sender Value     Amazon
    Receiver Type     Generic Identifier
    Receiver Value     Google
    Sender     Google (????)
    Receiver     Google
    Any help will be greatly appreciated.
    Thanks
    Ganesh
    Edited by: Ganesh on Apr 28, 2011 6:13 PM

    Not sure, What exactly are you trying to achieve.
    Please check with your TP that url should be http://<url>:<port>/b2b/httpReceiver . "http://<url>:<port>/b2b/httpReceiver" or "http://<url>:<port>/b2b/transportServlet" URLs are used by B2B to receive the http request.
    To send the message out from B2B, values should be like this:
    Sender Type Generic Identifier
    Sender Value Google
    Receiver Type Generic Identifier
    Receiver Value Amazon
    b2b.toTradingPartnerId = Amazon
    b2b.fromTradingPartnerId = Google
    This means message to going from Google to Amazon.
    If still the issue persist, Send the log to my mail.
    Rgds,
    Nitesh
    [email protected]

  • How to configure JDBC Adapter(Sender & Receiver)

    How to configure JDBC Adapter(Sender & Receiver)
    Rgds
    Ruchitha

    Hi ruchitha thakur ,
    These r the following web-sites which give u detailed information about configuring of JDBC Adapter(Sender & Receiver)
    JDBC is a technical Adapter provided by SAP.
    Configuring the Sender JDBC Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
    Configuring the Receiver JDBC Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d36d51d-0b01-0010-b3aa-9cb313b63cf4
    SAP XI Utilize SAP Adapters to connect to heterogenous systems
    https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3fc4bd90-0201-0010-68bd-ab931b06f9c2
    cheers!
    gyanaraj
    ***Pls reward points if u find this useful

  • Using the RFC adapter (sender), how do I know which RFC is being sent?

    Hello everyone!
    Has anyone used the RFC adapter (sender) in XI to pick up RFC messages? How would I know which RFC is triggered for example when a user creates a PO (purchase order)?
    Warm Regards,
    Glenn

    Glenn,
    When u are writinfg RFC program, u will have destination right?  There u know u have to give RFC Destination(SM59) while creating RFC destination we will be giving Program ID .
    Similarly in XI while creating Sender RFC u have to give the program id. So with these program id these programs are linked together and triggered from R/3 to the exact Sender adapter.
    Please see Michal weblog for more details
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    I hope it clears your doubt!!!
    Best regards,
    raj.

  • Technical System vs  RFC adapter config parameters

    Hi All
             I am working on a scenario with Receiver RFC adapter.While configuring the adaptor ,I had to provide Application Server name and other log in details.
    Also the revceiver determination had a business System associated.And in SLD we map the business system with a technical system.
    Does the technical system(host name ) has anything to do at runtime?I  had to use it to import the RFC though at design time.
    Thanks,
    Premjit

    >
    Premjit Mishra wrote:
    > Thank  you all for the  responses.So just to understand a bit more,at run time ,which properties are used ito connect to backend SAP system ie frm Technical System config or from the RFC receiver config property.
    AFAIK, RFC receiver adapter config proeperties are used at runtime for connection ..
    Technical system details provided are useful in case in case if you are going to use IDOC as the details like
    system no and client will be referred from there in your business system associated...
    HTH
    Rajesh

  • RFC Sender adapter - Sender agreement not found Error

    Hi ,
    I am getting this error when i send an RFC request to XI from SAP.
    Exception thrown [Fri Aug 05 10:10:35,624]:Exception thrown by application running in JCo Server
    com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, dapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fomService 'HORIZONISU', toParty '', toServ
    #at com.sap.aii.af.rfc.afcommunication.Message.getEmptyMsMessage(Message.java:345)
    #at com.sap.aii.af.rfc.afcommunication.Message.buildMsMessage(Message.java:215)
    #at com.sap.aii.af.rfc.afcommunication.ToAdapterFramework.sendSynchronous(ToAdapterFramework.java:341)
    #at com.sap.aii.af.rfc.core.server.RfcServer.handleRequest(RfcServer.java:525)
    #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:6926)
    I have configured a sender RFC adapter in XI with a specific "program id". This RFC adapter is available under a Business System of type WebAS ABAP in integration directory.
    I have created an RFC in my SAP system (it just has IMPORT & EXPORT parameters, no SrcCode), i also have an RFC destination of type T in SAP which has the program id specified in my RFC adapter config. The application host & gateway in this RFC destination point to itself(points the same SAP system where the RFC destination is created)
    Now i trigger the RFC from an other function module with destination parameter pointing to the RFC destination of type T created in SAP.
    Is the above config ok ? If not what do i need to check , pointers pls. I get a dump in SAP when i execute the function  module calling the RFC , and i see the above stacktrace in XI log.
    Thanks
    Saravana

    Hi Saravana,
    1. have you created a senderAgreement for your scenario? (senderAgreement not found)?
    2. do you commit your RFC call with commit work? ( just to make sure )
    3. is your RFC dest working? when you test it in SM59?
    Regards,
    michal

Maybe you are looking for