Dynamic Adapter Configuration

Hi,
I have a need to do the following in a receiver adapter (SOAP/HTTP):
- Dynamically set the complete web service url (that is http://host.com/somePath)
- Dynamically set SOAP action in HTTP header
- Communicate via HTTPS
Both URL and soap action is in XI received in payload from sender.
The above need to be performed in a way that is scalable - in time solution should be able interact with several hundreds of different web services.
Now as far as I know this is not possible using either SOAP or HTTP adapter.
SOAP does not allow for dynamic conf. of web service url.
HTTP adapter does not allow for a scalable way of setting the complete web service url and at the same time communicating via HTTPS.
I assume this is no bigger deal using adapter module in receiver SOAP adapter.
However adapter modules is not yet allowed at customer.
Anybody got an idea?
Best Regards,
Daniel

Hi Raj,
Thanks for your quick reply.
Yes I've tried this - but with no success. TServerLocation seems not to equal 'Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to'. I'm very sure of this.
At time of writing I can't remember the exact error message - believe it was something like 'no scheme' but maybe I'm mixing things up.
SOAP action is no problem neither with SOAP or HTTP adapter - it can be set as a dynamic property in both.
Best Regards,
Daniel

Similar Messages

  • Dynamic filename configuration via custom EJB

    Hi Experts,
                        We are doing a poc on whether we can do the dynamic filename configuration,i.e. set the file name dynamically in a custom EJB deployed on the server and called in the sender comm. channel of any J2EE based adapter.
    The requirement is for some interfaces, there is no mapping requirement other then setting the filename dynamically, which maybe based on a certain value of the input file or a specific portion of string in the payload.
    The custom EJB takes the namespace and attribute as input parameters along with other string manupulation parameters to determine the receiver file name. That is if we are using sender JMS adapter, we can have namespace = http://sap.com/xi/XI/System/JMS and attribute as DCJMSMessageProperty1. The bean would read the value and perform the manipulation based on certain other input parameters and set the file.
    There is one particular bean : AF_Modules/DynamicConfigurationBean but it does not allow us to manipulate the filename.
    Any help would be much appreciated.
    Regards,
    Shiladitya

    Hi,
    please refer to the following links for your reference
    Re: Reading Dynamic Configuration information in side adapter module.
    Re: Dynamic Filename in File adapter
    Regards,
    Bhanu

  • File name naming convention in File Adapter configuration in ID

    Hi All ,
    I have a query related to xml filename created in IDOC-XI-FILE scenario based on value of one of IDOC field .
    The scenario is like this :
    I have to send one xml file per store for material master . In this case how can I define my file name with store name in File adapter configuration in ID .
    Naming convention should be
    <b><storename>_date_masterdataname.xml</b>where store name is one of field of IDOC .
    Plz help me .
    Thanks in Advance
    Regards
    Prabhat Ranjan

    Hi Prabhat,
    take a look at this weblog:
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    you have to specify variable substitution
    (in the file adapter)
    and give the path to the store name (in the variable sustitution table)
    you <b>file name schema</b> (from the file communication channel can look like this)
    %storename%_date_masterdataname.xml
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • SOAP receiver adapter configuration issue

    Hi Everyone,
    When I am trying to excute a sync scenario from SAP<>XI<>Webservice from Integration engine , I am getting the below error message.
    Error while sending message: com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.
    In the receiver SOAP adapter, I have configured Transformation module where I kept the MessageTransformationBean in processing sequence as a priority and also provided the module configuration.
    ModuleKey: transform
    ParameterName: Transform.ContentType
    Parameter Value: application/soap+xml;charset=utf-8.
    But still get the above error message in the communication channel. I am using certificates in my configuration that were deployed in visual Admin.
    In the adapter configuration, I have just provided the Target URL, Configured User Authentication, certificate authentication and SOAP action.
    Can anyone help me.. how to rectify the issue.....
    Thanks in advance,
    Hareen

    HI Hareen,
    I decided to give SOAP1.2 using the standard SOAP Adapter a try
    There are a few noticeable differences between the request message of SOAP1.1 and SOAP1.2
    1.) SOAP 1.1 uses a different namespace from SOAP 1.2. For SOAP 1.1 it is "http://schemas.xmlsoap.org/soap/envelope/" while for SOAP 1.2 it is "http://www.w3.org/2003/05/soap-envelope".
    2.) SOAP 1.2 does not use SOAPAction in its header.
    3.) Content type is also different, for SOAP 1.1 it is "text/xml" while for SOAP 1.2 it is "application/soap+xml"
    So a sample request for SOAP 1.1 would be like this:
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "http://sampleaction"
    While for 1.2 it is:
    Content-Type: application/soap+xml;charset=UTF-8;action="http://sampleaction"
    The SOAP action is moved to the content type (experts please correct me on this).
    Based on the differences, you need:
    1.) Construct the correct SOAP Envelope for request message mapping and remove it for the response mapping
    2.) Use MessageTransformBean to change content type
    3.) Leave SOAPAction as blank
    I think dynamic soap action is no longer possible because the action is hardcoded in the module configuration (please correct).
    Hope this helps,
    Mark

  • SOAP Receiver : Dynamic URL configuration vs. TAuthKey capability

    Hello all,
    I plan to use dynamic URL configuration of web service URL in SOAP Receiver CC. I got an idea, which is more or less described on SDN already. But one thing bothers me a lot.
    In my scenario we talk about 10 and more WebServices' URLs to be called dynamically. The WS call will include also authorization username:passwd and it is expectable, that each WS will have different uname:passwd definition to be authorized with.
    I made a capability analysis of SOAP Receiver CC - tab Advanced - Authetication keys and there are prepared only 10 possibilities to define password for authentication key (which I'll handle to CC via TAuthKey parameter).
    In the help page http://help.sap.com/saphelp_nw04s/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm there is a note regarding authentication key:
    If authentication is required for the receiver system, you can enter a password with confirmation for each key value. This means that you do not need to write passwords in the enhanced message header.
    So in other words there should be a way, how to send to CC even the password with other adapter-specific message attributes. (or maybe I miss the meaning of this comment, like the other way is to develope own module for CC and process additional attribs from enhanced message header)
    Does anyone have some experience with handling the authentication data in "enhanced message header" ?
    Thanx for you info in advance.
    Regards
    Tom

    Hi all,
    I got an idea that the solution could be to use "Enhanced receiver determination" and use a set of Services-CommChannels with special naming convention. With this (little bit complicated) scenarion I'll get a possibility to define more then one SOAP Receiver CC => I'll get more than 10 options to store the logon password.
    What do you think ?
    Points for ideas guaranteed.
    Tom

  • Error -17600 when switching from LabVIEW Development System to LabVIEW Run-Time Engine in Adapter Configuration

    I receive an error message (code -17600) while loading my test sequence after switching from LabVIEW Development System (2009 f3) to LabVIEW Run-TIme Engine using the Adapter Configuration.
    ErrorCode: -17600,
    Failed to load a required step's associated module.
    LabVIEW Run-Time Engine version 9.0.1f3.
    When I switch back to the LV development system, everything is OK, and the sequence loads and runs perfectly.
    My TestStand Engine Version is 2012 f1 (5.0.0.262).
    I'd appreciate any help on this issue.
    Roman

    Hi Roman,
    There are a couple of things you can try:
    1) Determine if the LabVIEW RunTime Engine is corrupted in some way. Create a new simple VI with no sub-VIs, using the same LabVIEW Development system you used for mass-compiling the VIs. Create a TestStand step that calls this VI and ensure it runs correctly. Now switch your LabVIEW adapter to use the RuntimeEngine and choose the "Auto detect using VI version" option.
    Check if the simple VI is loadable and runs without errors in TestStand.
    If the step generates the same error, you should try a re-install of the LabVIEW development system.
    If not, its most likely that there is some VI you are using that is not loadable in the LabVIEW Runtime Engine because:
    1) Some sub-VI is still not saved in the right version or bitness. Open the VI heirarchy of the top-level VI that you are calling from TestStand and examine the paths of all the sub-VIs to check if they were in the folder you masscompiled and re-save any that are outside this directory.
    Also, when you try to close the top level VI, do you get a prompt to save any unsaved files? If so, they could be the sub-VIs that are not saved in the right version. Save all of them.
    Check if you are loading any VIs programatically and if these are compiled and saved in the right version as well.
    2) There is some feature you are using in your LabVIEW code that is not supported in the LabVIEW RunTime Engine. To check this, add your top-level VI to a LabVIEW project and create a new build specification and create a new executable from this VI.
        Right-click "Build Specifications" and choose "New->Application(EXE)".
        In the Application Properties window, select Source Files and choose the top level VI as the start-up VI.
        Save the properties.
        Right-click on the newly created build specification and choose Build.
    Run this executable (it will be run using the LabVIEW RunTime) and check if the VI has a broken arrow indicating that it cannot be loaded and run in the LabVIEW Runtime Engine.
    You might need to examine your code and find the feature which is not supported in the LabVIEW RunTime and find an alternative.
    Another thing i forgot to mention the last time around is if you are using 64-bit LabVIEW with 32-bit TestStand, then executing code using LabVIEW RTE from TestStand will not work since the 64-bit LabVIEW RTE dll cannot be loaded by the 32-bit TestStand process.
    If none of the above steps resolve the issue, consider sharing your LabVIEW code so i can take a look.
    Regards,
    TRJ

  • File adapter configuration parameter for "hexadecimal conversion"

    (File adapter for XI 2.0)
    Does anybody know the exact File adapter configuration parameters for reading a file with hexadecimal control characters as seperators. My file has
    3 types of seperators - i.e "2F", "05" & "0D2F"
    Eg: xml.fieldSeparator= "2F"
    When I specify this the file is getting split into fields
    at all the seperators in the file. I guess I am not using the right format in my defination ?
    Dorai

    Is there any special format for reading a file containing hexadecimal control characters?
    The file to be processed has hexadecimal separators:
    Field Delimiter        : '09' or '05'
    End of record delimiter: '0A' or '25'
    End of Table delimiter : '07' or '2F'
    Initially i would like to read the file into XI as it is i.e without any split by using "xml.fieldFixedLengths= "
    However, everytime I process the file(with hexadecimal contol characters), I have noticed that my file is getting split, even when I did not specify anything for field separator(i.e when i used fixed field length).
    Thanks,
    Dorai

  • Using adapter specific message attributes in SOAP adapter configuration

    Hi,
    Can you please let me know how to use adapter specific message attributes in receiver and sender SOAP adapter configuration. If possible , with example.

    See here:
    Adapter-Specific Message Attributes in the Message Header
    http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/frameset.htm
    Sender Soap Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    Receiver Soap Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm

  • Sender Mail Adapter Configuration error

    Hi,
    I am working on scenario mail adapter to CRM system. And when I tried to configure the sender email adapter I have got the error following error, Can any one help me to resolve this issues
    error occured: <b>exception caught during processing mail message; java.net.ConnectException: Connection refused</b>
    the details I have provided are as follows
    Transport protocol is POP3
    URL - POP://mailservername/Inbox/folder
    And I have tried with the IMAP4 also
    URL - IMAP://mailservername/Inbox/folder
    And we have cross checked that the XI server is able to ping that particular mail server.
    Regards,
    Venkat.

    Hi Venkateswara,
    I would suggest that you go through these to know how to configure your sender mail adapter,
    <a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step mail adapter step by step</a>
    <a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure adapter Scenario</a>
    Also, to know the various parameters of a sender mail adapter, just go through this link,
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm">Configuring sender mail adapter</a>
    Check your mail adapter configuration against these details. Also, check if the mail server you are trying to access is running.
    Also go thru this pdf to make yourself more comfortable with mail adapters.
    https://websmp205.sap-ag.de/~sapidb/011000358700004556712005E/HowTo_Mail_Adapter2.pdf
    Regards,
    abhy

  • Sender JMS adapter configuration for IBM MQSeries

    Dear All,
    i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
    i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
    in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
    1. Transport Protocol: Websphere MQ - is it okay?
    in JMS provider settings:
    2. in channel name - what should be there?
    3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
    4. JMS Complaint - whether WebsphereMQ or JMS API.
    in JMS Settings:
    5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
    6. JMS Message Selector - what data to take here.
    So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
    Regards,
    Rajeev Gupta

    Hi Swaroop,
    you can send me those documents at my gmail-id : [email protected]
    Hi All,
    one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
    Why Channel name is required in JMS configuration data?
    Thanks,
    Rajeev Gupta

  • Mail Adapter Configuration in XI 3.0

    Hi all,
    i tried to set up a process using the mail adapter. Unfortunately it doesn't work. Has anyone succeeded in setting up a process with the mail adapter using POP3 and SMTP?

    Hi Michael,
    I did not find any documentation of the XI 3.0 mail adapter so result of practical test only for outgoing mail using SMTP:
    <b>Mail server settings:</b>
    SMTP port 8025 (you can configure any port of course)
    Account demo, password test
    <b>Mail adapter configuration:</b>
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl
    Part 0 : common part ######
    Mail.MailSubject="mail from adapter z_outmail"
    Mail.MailFrom=[email protected]
    Mail.MailTo=demo@<you mail server name>
    XIALL or XIPAYLOAD
    Mail.MessageProtocol=XIPAYLOAD
    Mail.Log=1110
    Part : XI client to Mail server ######
    OMail.TargetURL=smtp://<you mail server name>:8025
    OMail.User=demo
    OMail.Password=test
    The port and path where the adapter waits for XMB messages from clients.
    XI.Port=8240
    XI.Path=/z_outmail
    It look so that there is no POP3 support, just only IMAP.
    Jiri

  • Error in Adapter Table Adapter Configuration IDM - Oracle 10g

    Error in the configuration of Oracle Database Table Adapter Configuration.
    Log:
    2007-10-02 10:26:40,843 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : DBProvisioner::createUser : userProperties is xel_usr_id#:#V04#;#xel_usr_password#:#56pddssd#;#xel_usr_status#:#1#;#xel_usr_first_name#:#Juana#;#xel_usr_last_name#:#Rengifo#;#xel_usr_group#:##;#xel_usr_title#:#Analista#;#xel_usr_dept#:##;#xel_usr_comm_lang#:##;#xel_usr_logon_lang#:##;#xel_usr_email#:[email protected]#;#xel_usr_tel_no#:#111-222-4444#;#xel_usr_time_zone#:##;#xel_usr_date_fmt#:##;#xel_usr_dec_ntn#:##;#xel_usr_role#:#System Admin
    2007-10-02 10:26:40,859 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : Starting time for createUser method :1191346000859
    2007-10-02 10:26:40,875 ERROR [DBADAPTERLOGGER] DBSchemaErrorHandler::error : ERROR : 1:227cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.

    Based on your error a few questions come to mind...
    What does your Configuration XML file look like? It's root XML node should be xdb_app_map. Your error makes me think you may be pointing at an adapter file versus db schema mapping file.
    Are you starting from one of the provided examples like OraApp1.xml? If you followed Step 3: the connector file copy instructions during deployment, you should find the samples in "OIM_home/xellerate/XLIntegrations/DBAppTables/xml/DB_Schema" Or you can search for OraApp1.xml or OraApp2.xml.
    Have you configured your IT Resource with the appropriate path to the XML file? If you are on Unix it's going to be case sensitive, I can't speak for a windows path.
    I hope this helps. I know I had a few challenges myself when I first took a swing at the DB Table Adapter from the 9.0.4.1 connector pack.
    regards,
    Jason

  • JDBC Adapter configuration not initialized:null

    i
    we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
    1.JDBC Driver installation is done
    2.RFC Destination type t is done in sap(sender) system.
    3.checking the jdbc in VA is done
    while running it is giving the following error.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    where we have to initialize JDBC Adapter configuration
    Thanks in advance
    Prasad Nemalikanti

    hi prasad
    There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
    also check  the driver string for the SQL  driver 2 parameters
    i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
    'com.microsoft.sqlserver.jdbc.SQLServerDriver'
    This will solve your problem
    follow this link
    Re: MS SQL Server jdbc Driver installation on XI .
    XI JDBC Adapter using stored procedures
    thanks
    sandeep
    Reward points if helpful

  • Error in adapter configuration

    Hi folks,
    I get an error saying:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '0227331228')', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '0227331228')', probably configuration error in file adapter (XML parser error)'.
    But i dont find more fields defined in the datatype or in the content conversion during adapter configuration
    Kindly help me on this

    hi,
    i think you have hierarchy  structure in the adapter level.
    Like
         <Details>
             <Employee Details>
                     <Name>
                     <Id>
             <Company Details>
                      <Name>
                       <Id >
    If you have  like this then just add  Details.field Separator 'nl'.
    *Reward Points If Useful*
    Regards,
    Prakasu

  • JDBC Adapter configuration not initialized Error

    Hi,
    I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
    In communication channel monitoring, it shows the following,
    Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    The JDBC parameters for driver & connection are correct only.
    Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
    Edited by: senthil nathan on Mar 25, 2009 10:57 AM

    Hi Senthil,
    Your drivers are not installed properly. Please re-deploy them through SDM.
    Regards
    joel

Maybe you are looking for

  • Query xml data from a CLOB datatye

    All, I read in an oracle white paper that is is possible to query XML data from CLOB datatype using oracle text index using operators HASPATH() and INPATH(). I am not able to find any example on how to do this. Can someone please post a simple exampl

  • Repairing permissions before and after updating software

    What is the reason to repair permissions before and after updating software? This may sound like a stupid question to many of you, but I am new to computers and I am trying to learn how and why of some of the things of my PowerBook. I installed some

  • How do you tell if the other person is typing or not?

    Hi, I have ichat 5.0.3 but I have had this problem on all my ichat versions since I started using it on my eMac way back in 2004. When I use AIM, or Yahoo, Skype, or MSN messenger, I can tell if the other person is typing or not and then if they are

  • What is CSS?

    Pardon my abysmal ignorance but I'm very confused about something. What exactly is CSS? Can it be produced using the DESIGN view on Dreamweaver or must it be hand coded? I'm new to web development. I did a training course on Dreamweaver, and am makin

  • Creating view for DataSource from table containing Structures.

    Hello All, I need to make a datasource for HR PY master data from a table PA9004(its special for a HR infotype) which needs some fields like PFOBEE(PF-Opening Balance-Ee). Field(PFOBEE) is part of a structure(PS0008) which is included in the table PA