J2SE Plain Adapter - Continuous Operation

Hi All,
I would like to ask for your assistance in configuring the J2SE Plain Adapter Engine for continuous operation.
This is the scenario:
We currently have the db_receiver (jdb receiver) adapter up and running. The connection to the DB is ok and also the communication to XI is successful. However we would like now to have it permanently running as NT service to avoid running the run_adapter.bat and open the web browser, enter user and pass, etc, every time we need to use the adapter.
Following the directions given by the Adapter.pdf document, under section u201CContinuous Operationu201D, the service SAPAdapterengine was successfully created, but now we have two doubts with regards to this:
1-     The service mentioned above is not started right after the installation and every time we try to do it, the following message is displayed: The SAPAdapterengine service on Local computer started and stopped. Some services stop automatically if they have not work to do, for example, the Performance Logs and Alert service.
2-     How the newly created service detects the configuration weu2019ve done for the db_receiver adapter in the very first time?
Is there any extra step to link the service and the previous configuration made for db_receiver? Could you please give me or point me to some info source that explain the way the service works?
Thanks in advance. Your help is highly appreciated.
Kind regards

Hi Diego,
Have you had any luck in getting this to work. I am having the same issue, would really appriciate the help.
Kind regards

Similar Messages

  • Configure SSL in J2SE Plain adapter

    I tryed to configure SSL in J2SE Plain adapter. (7.0)
    I've generated a certificate file "certif_file.cer" and
    while I put in GUIBrowserEngine Property File the following
    line:
    HTTP.SSLcertificate=F:\tech_adapter_70\certif_file.cer
    I've got the following error message:
    16:19:10 : Error(s) in GUIBrowserEngine configuration
    parameters found:
    ERROR: Certificate file 'F: ech_adapter_70certif_file.cer' not
    found, must quit!
    It seems that something wrong with my definition of full path
    to this file. But I do not find from SAP Library any solution
    about this problem.
    Could you help me?

    Hi Boris,
    Please try to give the full path using backslash '/' :
    e.g.  F:/tech_adapter_70/certif_file.cer
    I hope it will work.
              The J2SE Adapter Engine uses SSL only for communication line encryption, not for client and server authentications. Since this is a drawback with respect to security, you should use the J2EE Adapter Engine in insecure environments.
                             All configuration data for the Plain J2SE Adapter Engine is maintained in flat property files.The file for the engine administration data itself is located in the following directory:
    <installation directory>/tech_adapter/BaseConfiguration
    The file for the adapter configuration data is located in the following directory:
    <installation directory>/tech_adapter/Configuration
                       The adapters of the Plain J2SE Adapter Engine are configured locally and not in the Integration  Directory. Exchanged messages are also stored directly in the file system.
    Therefore, ensure that only the operating system user, who has started and therefore owns the adapter engine process, can read the property files and has access to the directories used for message exchange.
    *Pls: Reward points if helpful*
    Regards,
    Jyoti
    Edited by: Jyoti Acharya on Dec 19, 2007 5:05 PM

  • J2SE Plain Adapter

    Hi,
    We are using J2SE Plain Adapter ...
    In one of my scenario i need to send a flat file from one system to another.
    To achieve this i have created a sender file adapter in J2SE with content conversion. file is picked successfully ..i have given a sample file as follows
    123;abc;xyz
    456;qwe;fds
    then in moni i can see this file as in XML.
    now  i need to convert this xml file into flat file by using J2SE receiver file adapter.
    Can anybody help me how to configure receiver file adapter in J2SE?
    Please see the below code... for sender file J2SE adapter..
    <b>## file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    version=30
    mode=FILE2XMBWITHSTRUCTURECONVERSION
    Use Password Tokens
    PWD.tokenHandler=PWtokens
    Integration Engine address and document settings
    XI.SLDConfiguration=SLDaccessor
    XI.TargetURL=http://abc.com:8000/sap/xi/engine?type=entry
    XI.User=xyz
    XI.Password=xyz
    XI.Client=100
    XI.Language=en
    Quality of Service (EO,EOIO,BE)
    XI.QualityOfService=EO
    Repository Information
    ##XI.SenderParty=ADAPTER
    XI.SenderService=BS_SENDER_FCC
    XI.Interface=MI_FCC1_Out
    XI.InterfaceNamespace=http://www.sap-press.com/xi/training/00
    #XI.ReceiverParty=
    #XI.ReceiverService=
    File processing config
    file.sourceDir=f:/abc/
    file.sourceFilename=xyz*
    file.type=TXT
    #file.encoding=UTF-8
    file.pollInterval=10
    file.processingMode=delete
    xml.documentName=MT_FCC1
    xml.documentNamespace=http://www.sap-press.com/xi/training/00
    xml.recordsetName=Data
    xml.recordsetStructure=item,1
    xml.item.fieldNames=ID,Name,Address
    xml.item.fieldSeparator=,</b>
    Thanks in Advance..
    Regards,
    Reehan

    use this help link as a reference;
    http://help.sap.com/saphelp_nw04s/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm
    it is as similar to the sender side configuration

  • How to register a file adapter in XI Server? [XI 3.0 / J2SE Plain Adapter]

    Hi,
    I am trying to register an outbound file adapter (J2SE Plain Adapter Engine) in the XI server to finally map the adapter to a communiction channel.
    What I tried is to activate the SLDaccessor service in the J2SE Plain Adapter Engine (as mentioned in Plain Adapter Docs -> Serive: SLDaccessor Service).
    After restarting the Adapter, the protocol in Plain Adapter Engine didn´t show any errors.
    Now my problem is where can I find in the "XI-Tools" (SLD, Configuration Builder, ABAP-based Server GUI) that the registration of the adapter did run properly?
    What I expected was that my file adapter would appear in the Integration Builder in my communication channel under the tab "Parameters" in the drop-down box "Adapter Engine". Unfortunately, it is not listed there.
    Furthermore, I do not exactly understand the benefit of registering the adapter in the SLD. What is the real advantage than establishing a connection between the adapter and the XI with the parameters XI.TargetURL etc.
    Regards,
    Kris

    Jason, thanks for your answer.
    Unfortunately, it is not running yet. The Adapter protocol states now:
    11:03:00 : No entry in SLD found for Bus.System 'WeissmannBuisSys1'
    The corresponding adapter configuration looks like:
    XI.SenderParty=
    XI.SenderService=WeissmannBuisSys1
    XI.Interface=OrderMI
    XI.InterfaceNamespace=http://www.foobar.de/sap/xi/test170604
    Can I at least assume that there has been a connection to the business SLD?
    If yes, I do have a Business System 'WeissmannBuisSys1' in SLD -> Business Landscape as well as in my Configuration Scenario under 'Business Systems'. Is this the right one to specify in the parameter XI.SenderService or will there be something else expected?
    Besides that, the corresponding documentation is somehow confusing to me:
    You can set the following arguments (except in mode FILE2XMBSTREAM) and use them to identify the adapter configuration during routing and mapping in the Integration Engine pipeline. You can also find an explanation about each argument there.
    - XI.SenderParty=<sender party name>
    - XI.SenderService=<sender service name>
    - XI.SenderInterfaceNamespace=<namespace URI>
    - XI.SenderInterface=<name>
    - XI.ReceiverParty=<receiver party name>
    - XI.ReceiverService=<receiver service name>
    You must set at least XI.SenderService and XI.Interface. The receiver is generally determined by routing in the Integration Engine. This specification is not mandatory.
    The XI.Interface mentioned in the last paragraph is not listed above in the parameters list. I assume XI.Interface == XI.SenderInterface.
    In the german documetation there is also another XI.InterfaceNamespace mentioned in the last paragraph which I assume is XI.SenderInterfaceNamespace.
    Regards,
    Kris

  • FTP protocol in J2SE Plain Adapter

    HI All,
                I have to achieve FTP in J2SE (sender)adapter as i am picking the file from different server.In simple File adapter we can easily achieve it using FTP transport protocol but how to achieve the same in J2SE .What configuration i have to do in my J2se adapter?.Plz help me as it is urgent................
    Regards
    Saurabh Sharma

    When you have achieved this already in J2EE adapter, there should not be any problem in configuring the J2SE adapter. The parameters you need are described in only help:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    &#9675;       ftp.host=<ftp-server>
    &#9675;       ftp.port=<port-no.>
    &#9675;       ftp.user=<user name>
    &#9675;       ftp.password=<password>
    &#9675;       ftp.connection=perFileTransfer|permanently
    &#9675;       ftp.mode=<Binary|Text>
    Regards
    Stefan

  • Send Filename from j2se FILE Adapter

    Hi,
    I need store filename from local file to xml element. When I use j2ee adapter there is no problem. I sended Filename to Adapter Metadata and through DynamicConfigurationKey in mapping I write it to element.
    My question is: How could i do it in j2se plain adapter? (In our customer there is no way for using j2ee adapter)
    Many thanks,
    Paul.

    hi,
    try this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //obtengo la Key del FileName
    DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    /people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
    Hope it helps
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM

  • J2SE JDBC Adapter

    Hi
    I'm trying to setup a Plain J2SE JDBC adapter but i'm not sure what format the properties should have in the configuration.
    What should i fill in for the JDBC driver section? I have a MS SQL implementation -
    db.jdbcDriver=?????
    i tried db.jdbcDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver but that didnt work.
    The log says ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: ")
    Thanks

    >
    Riaz Patel wrote:
    > Hi
    >
    > I'm trying to setup a Plain J2SE JDBC adapter but i'm not sure what format the properties should have in the configuration.
    >
    > What should i fill in for the JDBC driver section? I have a MS SQL implementation -
    >
    > db.jdbcDriver=?????
    >
    >
    > i tried db.jdbcDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver but that didnt work.
    >
    > The log says ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: ")
    >
    > Thanks
    Have you upload the DB Driver on PI System?
    I think that you did't do this...

  • How to get the filename from J2SE File adapter

    In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping  and J2SE for Deliveying the message .
    In one senario, routing will be based on the filename .
    J2SE Sender File adapter --- XI Adapter --- XI pipe line
    So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
    When we are using the dynamic configurator in the XI to get the filename
    we are not able to get the file name  becasue it is coming to XI via
    XI adapter.
    How to get the filename ????Hope I am clear about the problem.

    hi,
    try this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //obtengo la Key del FileName
    DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    /people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
    Hope it helps
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM

  • Question about J2SE-File-Adapter

    Hallo,
    i would send with the J2SE-File-Adapter a *.CSV to SAP XI.
    The structure in the SAP XI is:
    PlaintMaintenanceMessagetype
    ......Datasource..................string
    ......Data
    ..........item
    ..............EquipmentID.............string
    ..............FunktionalLocation......string
    ..............Data....................string
    ..............Time....................string
    The *.csv File structure is:
    6ATESTDEMOYVES,
    1234,
    Limo,
    20060105,
    122030,
    The configuration of the J2SE-File-Adapter is:
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    version=30
    mode=FILE2XMBWITHROWCONVERSION
    ##File Adapter specific parameters (example, see docu)
    ##file.type=BIN
    file.type=TXT
    file.encoding=UTF-8
    xml.documentName=ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender"
    xml.structureTitle=6ATESTDEMOYVES
    xml.processFieldNames=fromConfiguration
    xml.fieldSeparator=;
    xml.fieldNames=Datasource,EpuipmentID,FunctionalLocation,Data,Time
    But it not runing! Can anybody help me? Are any How to guide to send a *.csv with the J2SE-File-Adapter.
    Thanks laura
    With the XML File it works. But there are ofer 40000 records in the *.csv, and i will not create this in *.xml!
    The structure of the XML.File are:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:PlaintMaintenanceMessagetype xmlns:ns="http://doehler.com/sapxi/krausdemosender">
      <Datasource>6ATESTDEMOYVES</Datasource>
      <Data>
        <item>
          <EpuipmentID>1234</EpuipmentID>
          <FunctionalLocation>Limo</FunctionalLocation>
          <Data>20060105</Data>
          <Time>122030</Time>
        </item>
        <item>
          <EpuipmentID>1235</EpuipmentID>
          <FunctionalLocation>Bier</FunctionalLocation>
          <Data>20060106</Data>
          <Time>122031</Time>
        </item>
       </Data>
    </ns:PlaintMaintenanceMessagetype>

    Hi Laura,
    You can navigate thru these links to get more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
    Cheers,
    Chandra

  • Plain adapter after SP19 - Qos EOIO

    Hi All,
    after having applied SP19 on my XI 3.0, in an integration scenario "plain adapter to Idoc" with QoS EOIO, the registred outbound queues are not more SAP_ALE_<idqueueu>, but XBQO1_<idqueue>.
    Have anybody ever heard?
    How solve?
    Thanks in advance
    matteo

    .

  • Can Scheduler be used in ORACLE SOA to trigger FTP Adapter read operation

    I need to create an ESB project where scheduler should trigger the File/FTP Adapter read operation.
    Where can I provide the time settings viz. (xx HR: yy MM: zz SS everyday)?
    Is it possible in Oracle SOA?
    Please provide any tutorial where scheduler has been used to invoke the File/FTP Adapter rather than invoking it real time (gets triggered the moment files are placed).
    Thanks

    You should the quartz timer within the SOA Suite to obtain this functionality.
    understanding configuration of Quartz and BPEL
    Marc
    http://orasoa.blogspot.com

  • XI 2.0 Standalone J2SE SOAP Adapter as client - SOAP:encodingStyle

    Hi,
    We're setting up the J2SE SOAP Adapter of XI 2.0 to talk to a synchronous web service provided by a webmethods platform.
    When we generate the Request message using the WSDL and post it directly via the HTTP test tool the message is understood and a response message is returned.
    Here is the Request:
    <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">
         <SOAP-ENV:Body>
              <m:callFP091 xmlns:m="http://destserver/FP091.flows" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <iw1_RECTPE xsi:type="xsd:string">String</iw1_RECTPE>
                   <iw1_DLRCODE xsi:type="xsd:string">String</iw1_DLRCODE>
                   <iw1_FRNCODE xsi:type="xsd:string">String</iw1_FRNCODE>
                   <iw1_JOBNUM xsi:type="xsd:string">String</iw1_JOBNUM>
                   <iw1_CHASIS xsi:type="xsd:string">String</iw1_CHASIS>
                   <iw1_COLOUR xsi:type="xsd:string">String</iw1_COLOUR>
                   <iw1_DESCRIP xsi:type="xsd:string">String</iw1_DESCRIP>
                   <iw1_INVNUM xsi:type="xsd:string">String</iw1_INVNUM>
                   <iw1_CAPAMT xsi:type="xsd:string">String</iw1_CAPAMT>
                   <iw1_INTFRE xsi:type="xsd:string">String</iw1_INTFRE>
                   <iw1_LOC_IND xsi:type="xsd:string">String</iw1_LOC_IND>
                   <iw1_REGISTRATION xsi:type="xsd:string">String</iw1_REGISTRATION>
                   <iw1_ENGINE_NUM xsi:type="xsd:string">String</iw1_ENGINE_NUM>
                   <iw1_VIN_NUM xsi:type="xsd:string">String</iw1_VIN_NUM>
              </m:callFP091>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When we try to use the SOAP Adapter and pass it the following message from XI:
    <m:callFP091 xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:m="http://destserver/FP091.flows"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
              <iw1_RECTPE xsi:type="xsd:string">E1</iw1_RECTPE>
              <iw1_DLRCODE xsi:type="xsd:string">3009838</iw1_DLRCODE>
              <iw1_FRNCODE xsi:type="xsd:string">333</iw1_FRNCODE>
              <iw1_JOBNUM xsi:type="xsd:string">123</iw1_JOBNUM>
              <iw1_CHASIS xsi:type="xsd:string">2</iw1_CHASIS>
              <iw1_COLOUR xsi:type="xsd:string">3</iw1_COLOUR>
              <iw1_DESCRIP xsi:type="xsd:string">4</iw1_DESCRIP>
              <iw1_INVNUM xsi:type="xsd:string">5</iw1_INVNUM>
              <iw1_CAPAMT xsi:type="xsd:string">6</iw1_CAPAMT>
              <iw1_INTFRE xsi:type="xsd:string">7</iw1_INTFRE>
              <iw1_LOC_IND xsi:type="xsd:string">8</iw1_LOC_IND>
              <iw1_REGISTRATION xsi:type="xsd:string">9</iw1_REGISTRATION>
              <iw1_ENGINE_NUM xsi:type="xsd:string">1</iw1_ENGINE_NUM>
              <iw1_VIN_NUM xsi:type="xsd:string">2</iw1_VIN_NUM>
    </m:callFP091>
    The SOAP adapter wraps the envelope and body around this message, provides an empty header but changes the SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" attribute to SOAP:actor='http://schemas.xmlsoap.org/soap/encoding/'.
    The generated SOAP message is:
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
    <SOAP:Header/>
    <SOAP:Body>
    <m:callFP091 xmlns:m='http://196.11.134.83/FP091.flows'
    SOAP:actor='http://schemas.xmlsoap.org/soap/encoding/'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
              <iw1_RECTPE xsi:type='xsd:string'>E1</iw1_RECTPE>
              <iw1_DLRCODE xsi:type='xsd:string'>3009838</iw1_DLRCODE>
              <iw1_FRNCODE xsi:type='xsd:string'>333</iw1_FRNCODE>
              <iw1_JOBNUM xsi:type='xsd:string'>123</iw1_JOBNUM>
              <iw1_CHASIS xsi:type='xsd:string'>2</iw1_CHASIS>
              <iw1_COLOUR xsi:type='xsd:string'>3</iw1_COLOUR>
              <iw1_DESCRIP xsi:type='xsd:string'>4</iw1_DESCRIP>
              <iw1_INVNUM xsi:type='xsd:string'>5</iw1_INVNUM>
              <iw1_CAPAMT xsi:type='xsd:string'>6</iw1_CAPAMT>
              <iw1_INTFRE xsi:type='xsd:string'>7</iw1_INTFRE>
              <iw1_LOC_IND xsi:type='xsd:string'>8</iw1_LOC_IND>
              <iw1_REGISTRATION xsi:type='xsd:string'>9</iw1_REGISTRATION>
              <iw1_ENGINE_NUM xsi:type='xsd:string'>1</iw1_ENGINE_NUM>
              <iw1_VIN_NUM xsi:type='xsd:string'>2</iw1_VIN_NUM>
    </m:callFP091>
    </SOAP:Body>
    </SOAP:Envelope>
    This message has no SOAP:encodingStyle attribute and is therefore not understood by the WebMethods web service. Here is the error message from the web service:
    [B2BCORE.0076.9201] SOAP Message Coder cannot decode message; no encoding style is specified
    How do I configure the outbound SOAP adapter within the XI 2.0 J2SE adapter engine to add the SOAP:encodingStyle attribute to the outbound message?
    I have tried playing around with the XMBWS.* parameters outlined in the adapter engine documentation but these don't seem to have any influence on the way the SOAP request message is formed.
    Any suggestions would be appreciated.
    Regards,
    -Derek

    Hi,
    You could use the webMethods XI adapter to create the connection.
    Best Regards,
    Sander

  • Soa11g: DB Adapter Delete Operation and Transaction

    Guys,
    I need your help to understand the transaction flow in SOA 11g.
    We have two table with primary and foreign key replationship.
    Master Table: Employee (empId Primary Key)
    Child Table : Department (empId Foreign Key)
    Employee is associated with Department table with 1 to N relationship.
    We have a composite with BPEL process. In Input of the BPEL we are getting 1 employee with many department. Our design is like below.
    1) get the message.
    2) read the empId from Input.
    3) delete N records from Department table using DB adapter Delete Operation by passing empId as an Input. *(INVOKE 1)*
    4) delete 1 records from Employee table by passing empId as an Input. *(INVOKE 2)*
    I have following doubts.
    1) Since without deleting the child records we can't delete parents. Before INVOKE 2(invoking DB adapter to delete parent record), I want to make sure that INVOKE 1 has completed ( all the child records have deleted successfully.) How to achieve this in BPEL?
    2) let's say we have 5 child records. after deletion of 3rd record, DB gets down or some fault occurs ...will the entire transaction be roll back?
    In this scenario we want to delete only 3 records without deleting the parent records . How to achieve this in BPEL.
    3) what all are the transaction property available in SOA 11g to control the transactions.
    Any inputs is appreciated!!
    Thanks,
    AB

    Hi,
    1 st DB adapter Delete operation(Child Table deletion) successfully completed with out DB Down or with out any errors.
    2 nd DB adapter delete operation failed (Master Table Deletion) due to DB down (or) due to remote fault.
    In the above scenario ... Is 1 st DB adapter delete operation gets roll back?
    ( or)
    It commits even second one get failed...
    In case of first one commits how can i achieve roll back of first one automatically if second one fails...
    Any one can explain how the transaction concept works with DB adapters..?
    Thanks&Regards,
    Sridhar Rachumallu

  • Will B2B Adapter receive operation with default triggers the SOA Composite

    Hi,
    Can any one provide me answers to this questions?
    *1. Will B2B Adapter receive operation having default protocol will trigger SOA Composite? if so how can we achieve it?*
    *2. will Listening channel with JMS protocol do EDI------XML translation? if so what are the configuration that need to be done?*
    *3. Will B2B Adapter receive operation listens messages from other protocols like File ,FTP ? if so what need to be done ?*

    1. Will B2B Adapter receive operation having default protocol will trigger SOA Composite? if so how can we achieve it?Yes, it can trigger SOA composite. First deploy the inbound B2B agreement with no channels selected under Host TP channels dropdown and then deploy your SOA composite which is referring to the deployed doc-def. Run an inbound test and you should be good to go.
    2. will Listening channel with JMS protocol do EDI------XML translation? if so what are the configuration that need to be done?Yes, you may translate native EDI to XML with JMS listening channel as well. Make sure that listening channel is not marked as internal and an inbound EDI agreement is deployed for corresponding EDI doc. Following custom JMS headers must be set so that B2B can identify the partner -
    FROM_PARTY
    TO_PARTY
    3. Will B2B Adapter receive operation listens messages from other protocols like File ,FTP ? if so what need to be done ?No. B2B adapter supports only three modes - JMS/AQ/Default (fabric), however you may use file/ftp adapter to receive files from B2B over file/ftp respectively.
    Regards,
    Anuj

  • J2SE file adapter

    i,
    When I post a XI message via SAP PI 7.10 SP7 integration server to a J2SE adapter engine to a file adapter, then when I use mode "XMB2FILE" in the receiver file adapter configuration on the J2SE Adapter Engine then the XML file is delivered into the appropriate folder with the correct XML format and content (As expected). However when I change the mode to XMB2FILEWITHCONVERSION then message fails in the integration Engine on the PI server.
    With:
    <Trace level="2" type="T">Addressing mode: url</Trace>
      <Trace level="3" type="T">Host = "HOST"</Trace>
      <Trace level="3" type="T">Port = 8111</Trace>
      <Trace level="3" type="T">Transport protocol = HTTP 1.0</Trace>
      <Trace level="3" type="T">Message protocol =</Trace>
      <Trace level="3" type="T">Path = /file/receiver?action=execute&pipelineid=Receiver</Trace>
      <Trace level="2" type="T">Auth mode: basicNonSAP</Trace>
      <Trace level="3" type="T">Conversion of language from char2 to char1</Trace>
      <Trace level="3" type="T">User = rip</Trace>
      <Trace level="3" type="T">Client =</Trace>
      <Trace level="3" type="T">Language =</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 500</Trace>
      <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="System_Error">Error while sending by HTTP (error code: 500, error text: Internal Server Error:java.lang.NullPointerException)</Trace>
      </Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="T">Persist Message in Retry State</Trace>
    A file is created in the target folder with no content and each time PI retries a new file is created.
    If I look at the J2SE adapter trace file the following error is displayed:
    Apr 3, 2009 3:05:03 PM   ...i.messaging.adapter.XMB2FileProcessor [Thread[Thread-1145,5,main]] Error: Message processing failed with
    java.lang.NullPointerException
         at com.sap.aii.af.sdk.xi.adapter.Conversion.convertXML2Plain(Conversion.java:621)
         at com.sap.aii.messaging.adapter.XMB2FileProcessor.persistFile(ModuleXMB2File.java:1658)
         at com.sap.aii.messaging.adapter.XMB2FileProcessor.onMessage(ModuleXMB2File.java:1346)
         at com.sap.aii.messaging.adapter.ModuleHttpServer$ListenerDetails.onMessage(ModuleHttpServer.java:448)
         at com.sap.aii.af.sdk.xi.net.HTTPRequest.run(ServerHttpImpl.java:437)
    Please can you assist in the resolution of this problem?
    Regards
    Willie Hugo

    Hi Stefan,
    Thank for the prompt reply. I am sending the XI message to a plain J2SE Adapter Engine. As I under stand the process, the XI message XML to flat file conversion will take place in the J2SE Adapter Engine in the File Adapter, configured there. If I under stand correctly we need to deploy a patch to the J2SE Adapter Engine and the note refers to XI 3.00 & 7.00, these Adapter Engines I can only assume is J2EE. Also the scenario described in the note is from csv to XML and not the required XML to CSV.
    Please can you assist further?
    Regards
    Willie Hugo

Maybe you are looking for