MFL issue. OSB 11.1.1.3.0.

Hi,
I have a MFL file to read a text input file which is pipe delimited. It works with the format tester but when we have it being used in the Proxy Service its failing.
Please help because me and my team has been stuck here for a long long time now.
Here is the MFL file and I can send the also send you the osbconfig.jar file over mail. My mail ID is sanjay_stat AT yahoo dot com.
<?xml version='1.0' encoding='windows-1252'?>
<!DOCTYPE MessageFormat SYSTEM 'mfl.dtd'>
<!-- Enter description of the message format here. -->
<MessageFormat name='InputMFLV3' version='2.02'>
<StructFormat name='Header' delimOptional='y'>
<FieldFormat name='Ifname' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
<FieldFormat name='Description' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
<FieldFormat name='Timestamp' type='String' delimRef='' delim='|\n' delimOptional='n' codepage='UTF-8'/>
</StructFormat>
<StructFormat name='Body' delimOptional='n' optional='y' repeat='*'>
<FieldFormat name='TermID' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
<FieldFormat name='TermDescription' type='String' delimRef='' delim='|\n' delimOptional='n' codepage='UTF-8'/>
</StructFormat>
<StructFormat name='Footer' delimOptional='n'>
<FieldFormat name='Ifname' type='String' delimRef='' delim='|' delimOptional='n' codepage='windows-1252'/>
<FieldFormat name='Timestamp' type='DateTime' basetype='String' delimOptional='y'/>
<FieldFormat name='NoOfRecords' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'>
<TagField type='String' value='|'/>
</FieldFormat>
</StructFormat>
</MessageFormat>
Sample input file is as follows:
C4A4G5|AP Vendor Payment Terms Data from JDE to JDA PMM|20100629131320|
001|1% 10 DAYS NET 30 |
002|NET 30 DAYS |
003|10% 10 DAYS NET 30 |
004|1% 30 NET 31 |
005|NET 22 DAYS |
006|NET 23 DAYS |
007|NET 24 DAYS |
008|NET 25 DAYS |
009|NET 26 DAYS |
014|2% 10 NET 30 |
015|2% 20 NET 30 |
016|5% 15 NET 30 |
017|2% 15 NET 25 |
018|2% 10 DUE 10TH OF FOL MONTH |
019|NET 45 DAYS |
020|3% 10 NET 30 |
021|2% 60 NET 90 |
022|3% 15 NET 30 |
023|1% BEFORE TAX |
024|1% BEFORE TAX 15 NET 30 |
025|1.5% 15 NET 30 |
026|2% 90 NET 120 |
C4A4G5|20100629131320|171|
Could you please suggest any link/development steps to create a MFL file for pipe delimited data (also considering that the input data has new line char).
Thanks,
Sanjay

Use this and it should work:
<?xml version='1.0' encoding='windows-1252'?>
<!DOCTYPE MessageFormat SYSTEM 'mfl.dtd'>
<!-- Enter description of the message format here. -->
<MessageFormat name='InputMFLV3' version='2.02'>
<StructFormat name='Header' delimOptional='y'>
<FieldFormat name='Ifname' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
<FieldFormat name='Description' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
<FieldFormat name='Timestamp' type='String' delimRef='' delim='|\r\n' delimOptional='n' codepage='UTF-8'/>
</StructFormat>
<StructFormat name='Body' delim='\r\n' delimOptional='n' optional='y' repeat='*'>
<FieldFormat name='TermID' type='String' delimRef='' delim='|' delimOptional='n' codepage='Default'/>
<FieldFormat name='TermDescription' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
</StructFormat>
<StructFormat name='Footer' delimOptional='y' optional='y'>
<FieldFormat name='Ifname' type='String' delimRef='' delim='|' delimOptional='n' codepage='windows-1252'/>
<FieldFormat name='Timestamp' type='DateTime' basetype='String' delimOptional='y' repeatDelim='|'/>
<FieldFormat name='NoOfRecords' type='String' delimRef='' delim='|' delimOptional='n' codepage='UTF-8'/>
</StructFormat>
</MessageFormat>
Edited by: user10985620 on Nov 8, 2010 12:12 AM

Similar Messages

  • JMS Dequeue issue -- OSB

    Hi,
    We have created a JMS Queue in WLS 10.3.0 and OSB (10.3.1) process is using proxy service - JMS transport to dequeue messages.
    WLS JMS Queue -->OSB Proxy --> Business Service (JCA Db adapter) to insert data into a table
    IF error in db --> Invoke OSB error handler and write to a file
    Case - Success
    Messages are deleted from the queue
    Case - Failure
    Messages are not deleted from the queue. Error handler is invoked in OSB and messages are written to a file.
    This is creating an issue since OSB retries and number of files are created. We have tried setting retry settings in OSB, but in vain.
    Please provide inputs, this is a bit of emergency.
    Regards,
    AP
    Edited by: ARPL on Oct 15, 2009 3:41 AM

    Am also dumb...
    You need to create a new proxy service (and select the message type which suits your process, anysoap any xml, wsdl, etc), on the second tab you can select the transport.
    In here select jms from the listbox and for the endpoint insert "jms://yourhost:yourpost/yourconnectionfactory/yourqueue"
    thats all what is needed to let your proxy service pick up the messages from the queue.
    eventually you want to route this message to something else, so for that you need to decide what sort of business service you use (webservice wsdl based, or just some other jms endpoint,or file...you name it)
    @@JMS implementation in OSB
    OSB concepts are really hard to digest if u r SOA developer from start. Proxy Service will act as a Inbound for JMS. It still shows the "Destination type" in JMS Transport Config tab
    Really Confussing....
    Sushil
    Edited by: Sushil Deshpande on Jan 26, 2011 2:22 AM

  • How to process file with fixed length using MFL in OSB

    Hi Team,
    I need to translate this file using MFL. its fixed lenght[each line is having 81 chars] file in below format.
    Please help me to process this in OSB using MFL.
    ==================================================================
    START
    [email protected]
    [email protected]
    END
    Subject : CALIFORNIA STEEL IND Renege #00424523 Hse580 CTH580
    BODY:
    User_ID: LARRY014
    Xpd2 Hse/Customer # : 580/1196310
    Xpd Order Number: 580094624
    Customer E-Mail: [email protected]
    Customer E-Mail 2:[email protected]
    Customer Phone : 9093506458
    Dear Salesperson,
    gexprosupply.com Order # : 00424523
    gexprosupply.com User ID : LARRY014
    Customer CALIFORNIA STEEL IND has entered order 00424523
    through gexprosupply.com.
    THIS ORDER HAS RENEGED for the following reason(S):
    I. ORDER LEVEL
    NOTE SEGMENTS FOUND IN INPUT - SENTRY
    CDF REQUIRED CUSTOMER - ORDER RENEGED
    II. ITEM/LINE LEVEL
    LINE # ECOM LINE NAED QTY STATUS ALLOW SUBS
    Please resolve the renege and release the order in Sentry
    01 as soon as possible. Thank you.
    EMAIL-END
    ==================================================================
    Thanks
    Reddy
    Edited by: 913248 on Feb 8, 2012 2:07 PM
    Edited by: 913248 on Feb 8, 2012 2:08 PM

    Hi Prabu,
    thanks a lor fro you replay.......
    the above file is having mail content[from id, to id, subject and body] i need to read this file using OSB and need to sent to the respective email id.
    the file format is :
    it will have
    0- its a fixed length in each line [81 chars]
    1--"START" tag....starting of the email
    2--after START, the email ID is "FROM" email ID
    3-after "FROM" emailid, 3rd line onwards....will have "TO email IDs
    4-"END"---end of the email IDs
    5- "Subject " ...will have subject of the email
    6-"BODY".... the email body will start in this tag
    7-"EMAIL-END"..end of the email....
    so my requirement is ..i need to read above file in OSB and send notification emai.
    Thanks
    Reddy

  • Issue in MFL Transformation

    Hi All,
    I am trying to convert a NON-XML file to XML using MFL in OSB, but I am facing issue in doing so.
    The file which I read is in the below format
    Group of header and details (Can have multiple header-details group)
    11/28/2012|01|3
    50|1|001|045775401|001|05/15/2012|05/27/2012|04/07/2012|05/06/2012|47.10
    60|2|001|045772801|001|05/15/2012|05/27/2012|04/08/2012|05/07/2012|119.98
    30|3|001|045769501|001|05/15/2012|05/27/2012|04/07/2012|05/06/2012|136.80
    11/25/2012|02|4
    55|4|001|045761101|001|05/15/2012|05/27/2012|04/08/2012|05/07/2012|278.38
    30|5|001|045684102|001|05/15/2012|05/27/2012|04/09/2012|05/08/2012|35.99
    60|6|001|045683401|001|05/15/2012|99/99/9999|04/09/2012|05/08/2012|734.86
    61|7|001|045673701|001|05/15/2012|99/99/9999|04/09/2012|05/08/2012|284.52
    The XSD I created using Native file format builder for this file is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://twc.com/ReadDetailFile"
    xmlns:tns="http://twc.com/ReadDetailFile"
    elementFormDefault="qualified" attributeFormDefault="unqualified"
    nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="Header">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="TransmissionDate" type="xsd:date"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="SequenceNumber" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="NoofStatements" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="${eol}"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="StatementDetail">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="DivisionId" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="CorpSubCorp" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="SiteId" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="AccountNo" type="xsd:string" nxsd:style="terminated"
    nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="StatementCode" type="xsd:string"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="StatementDate" type="xsd:date"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="StatementDueDate" type="xsd:date"
    nxsd:style="terminated" nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="PeriodFrom" type="xsd:date" nxsd:style="terminated"
    nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="PeriodTo" type="xsd:date" nxsd:style="terminated"
    nxsd:terminatedBy="|"></xsd:element>
    <xsd:element name="Due" type="xsd:decimal" nxsd:style="terminated"
    nxsd:terminatedBy="${eol}"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Detail">
    <xsd:complexType>
    <xsd:sequence maxOccurs="unbounded" minOccurs="1">
    <xsd:element ref="tns:Header" minOccurs="1" maxOccurs="1"/>
    <xsd:element ref="tns:StatementDetail" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    But this is not working for me. Any help is highly appreciated in solving this issues.
    Thanks in Advance!!
    Thanks,
    Anju

    Hi Dibya,
    Can you try configuring OSB Proxy Service (Message Type - binary) and test your service. Let me know the process how you have created MFL file using cobol copybook. I mean, have you imported cobol copybook using import option available in MFL editior?

  • OSB, CSV, MFLBusiness Service, Data Mismatch Exception (OSB 11.1.1.6)

    I am having a problem transforming a big CSV file.
    The situation:
    I am using the following setup: OSB 11.1.1.6, developing with Eclipse OEPE on Windows 7. The behaviour described below is the same on a Linux server running the same version OSB though.
    My CSV source file has 162 columns and is mapped to a CSV file with 52 columns with some logic to exclude rows or transform values.
    Right now my adapter looks like this:
    MFL Proxy Service: FTP Pickup of CSV File
    - 1 stage:
    -- 1 Action: XQuery Transform the source MFL to the target MFL
    - Route to MFL Business Service on SFTP protocol (to write to CSV file)
    Right now the error I am getting is this one:
    <5-dec-2012 16:19:57 uur CET> <Error> <SFTPTransport> <BEA-381801> <Error occured for endpoint <MFLException>
    <ErrorMessage>Data mismatch exception.</ErrorMessage>
    <Details>
    <Detail>
    <Name>ErrorCode</Name>
    <Value>-1</Value>
    </Detail>
    <Detail>
    <Name>DataOffset</Name>
    <Value>0</Value>
    </Detail>
    <Detail>
    <Name>NodeName</Name>
    <Value>CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>FullyQualifiedName</Name>
    <Value>ProductMasterDataGroup.ProductMasterData.CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>ExpectedValue</Name>
    <Value>CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>Reason</Name>
    <Value>CatalogVersion is missing from the input XML, parent node is: ProductMasterData</Value>
    </Detail>
    </Details>
    </MFLException>
    <MFLException>
    <ErrorMessage>Data mismatch exception.</ErrorMessage>
    <Details>
    <Detail>
    <Name>ErrorCode</Name>
    <Value>-1</Value>
    </Detail>
    <Detail>
    <Name>DataOffset</Name>
    <Value>0</Value>
    </Detail>
    <Detail>
    <Name>NodeName</Name>
    <Value>CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>FullyQualifiedName</Name>
    <Value>ProductMasterDataGroup.ProductMasterData.CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>ExpectedValue</Name>
    <Value>CatalogVersion</Value>
    </Detail>
    <Detail>
    <Name>Reason</Name>
    <Value>CatalogVersion is missing from the input XML, parent node is: ProductMasterData</Value>
    </Detail>
    </Details>
    </MFLException>
         at com.bea.nonxml.common.MFLException.create(MFLException.java:221)
         at com.bea.nonxml.common.MFLException.create(MFLException.java:329)
         at com.bea.nonxml.writers.NonXMLWriterVisitor.writeEndElement(NonXMLWriterVisitor.java:415)
         at com.bea.nonxml.writers.NonXMLWriterInputStream.getmoredata(NonXMLWriterInputStream.java:199)
         at com.bea.nonxml.writers.NonXMLWriterInputStream.read(NonXMLWriterInputStream.java:96)
         Truncated. see log file for complete stacktrace
    From what I understand, there is a value missing for CatalogVersion. However, this is static content in the XQuery, so it should always be filled. I have written the Body variable to disk during the various steps in the service, the XML which is written is valid and is not missing this node. It appears to me that OSB is discarding this node in the last step when the CSV file is being written.
    The strange thing is that this error only occurs when I use a bigger file (say > 100kB). When using smaller files it works fine.
    Tests done so far:
    - Small file size (say less than 100 rows and smaller than 100kB), this is working fine
    - Conversion of CSV to XML with MFL in the MFL Builder, it works fine (for small filesize)
    - Conversion back to CSV from XML with MFL in the MFL Builder, it works fine (again, also only with smaller files)
    - Change of streaming settings on the proxy service, no change in behaviour
    - Change of Proxy Service and Business service to type File to make sure there is no latency interfering
    The strange thing is that I have seen quite some posts on various blogs which explain a solution like this, appearently they are using bigger files (I've seen 150MB+ mentioned) so I am wondering what I am doing wrong..

    A small addition to the above post;
    I have changed the Business Service from SFTP to File and the adapter is working as it should. The exported CSV has all the rows and is written like it should.
    Perhaps the combination of SFTP Business Service with a MFL type is causing this problem right now.
    As a work around I am following this flow now:
    1.) CSV on SFTP via MFL mapping -> OSB -> CSV to FILE via MFL Mapping
    2.) FILE -> OSB -> SFTP
    The second flow does not contain any logic, only moves the file to the SFTP server.
    When I have time I will investigate further and post the results when I find a better solution..

  • Message transformation supported in Oracle Service Bus.

    hi,
    please let me know the types of message transformation supported by OSB.
    i have found that it supports xml to xml message transformation based on XQUERY and XSLT.
    Can anyone please tell me if it supports message transformation from xml to flat, aml to ISO and vice versa.
    Thanks in advance.

    Apart from Xquery and XSLT (XML to XML transformation), you may use MFL in OSB. A Message Format Language (MFL) document is a specialized XML document used to describe the layout of binary data. MFL resources support the following transformations:
    XML to binary—There is one required input (XML) and one output (binary).
    binary to XML—There is one required input (binary) and one output (XML).
    Each transformation accepts only one input and provides a single output.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/mfls.html#wp1090749
    http://biemond.blogspot.com/2008/12/flat-file-to-xml-with-oracle-service.html
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/mfls.htm#i1100502
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/intro_fb.htm#CHDCAHHA
    Regards,
    Anuj

  • OSB MFL UTF-8 Issue

    I'm having a similar issue as in the discussion linked below:
    https://community.oracle.com/thread/3554623
    I have a Binary to XML MFL setup, with UTF-8 codepage set for each field and as Default MFL Encoding (File->Properties in Format Builder) set to UTF-8 as well.
    However when I pass UTF-8 characters as the input to Transform to XML, they all get changed to '?'

    For my future self that will read this, I got it working by creating a proxy service as Messaging Type - Text Request Message Type and MFL Response Message Type.
    Use this as a Service Callout instead of MFL Transform within the main Proxy.

  • Base64Binary OSB and File Adapter Issue

    Hi all,
    I am converting an xml to flat file after that i want to write the flatfile to a file using File Adapter in OSB.
    So using java callout we converted the binary content to base64 string and we are able to write the data using file adapter .
    But the file contains as extra line in between each line which my legacy system wont accept.
    I printed the base64 string in the output file and when i decode that file using the website as safe decode as text i am able to get the correct file.
    So where is the problem ? File Adapter ? Why i am getting extrace line in between each line . How to write safely using file adapter.
    If i use file transport of OSB i am able to write without any issues but i want to write dynamic location so i am looking for file transport of OSB.
    Thanks
    Phani

    Hi Anju,
    Thanks for the response . If i decode the base64 binary data using this website if i use Notepad++ i cant see an extra line in the notepad++ it showing as below
    Its a fixed length file 1 to 513 then next line so for the file transport it showing as below
    ISA ............................
    1 to 513 CRLF
    For file adapter it is showing as below in the same notepad++ editor
    ISA..........................
    1 to 513 CR
    CRLF
    an extra CR so an extra line .
    I used MFL and converted the xml to non-xml ( flat file fixed length file) for file transport i am i created another proxy message type Text .It is working fine
    Added to the above problem i have another few questions on the file transport
    How can append to an exiting file using File transport ?
    How to change the File directory dynamically ?

  • Issue in Dynamic routing (OSB)

    Hi,
    I implemented dynamic routing in OSB,using xQuery:-
    +<tradingPartnerList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\bea910\user_projects\eclipse\TradingPartners.xsd">+
    +     <tp>+
    +          <Name>Platinum</Name>+
    +          <URL>DynamicDispatch/p1</URL>+
    +     </tp>+
    +<tp>+
    +          <Name>Gold</Name>+
    +          <URL>DynamicDispatch/p2</URL>+
    +     </tp>+
    +</tradingPartnerList>+
    I am routing it on to another proxy using following xml:-
    <ctx:route>
    <ctx:service isProxy='true'>{$endpoint}</ctx:service>
    <ctx:operation>null</ctx:operation>
    </ctx:route>
    Where the Endpoint is from the above xQuery..
    All work fine but i have a one Issue:-
    In <ctx:service isProxy='true'>{$endpoint}</ctx:service> we specify the folder structure of the proxyservice. but what if i move my proxy in future,if i move some of my proxy to other folder the xquery need to be changed which i feel is vv poor design.
    Is there any way where is can specify URL or URI of the proxy service????

    Is there any way where is can specify URL or URI of the proxy service????First of all, you would not like to move your resources here and there frequently in production. Secondly, if you move the resources, definitely you have to change X-Query/Message flow. There is no alternative.
    If you want this feature to be enhanced, please raise a ER with Oracle Support and if they find it valid, will provide a patch for the same.
    Regards,
    Anuj

  • SFTP Issue in OSB invocation resulted in an error: com.maverick.ssh.SshException: ssh-dss Key Not Found for host hostname,ip

    I created a Proxy Service to do pull file and push it to sftp server
    known_hosts file is present on OSB server.
    It has abcserverhostname,IP ssh-rsa AA................. ==
    I created a business service to do SFTP push to sftp server (remote) - Its not working.
    <Error> <SFTPTransport> <BEA-381826> <Key Not Found for host hostname,10.124....>
    com.maverick.ssh.SshException: ssh-dss Key Not Found for host hostname,10.124.....
      at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.onUnknownHost(KnownHostVerifier.java:37)
    My Business Service
    End Point URI : sftp://sftpserverhostname:22/directorypath
    Authetication Mode : user name, password.I have created a Service Account for sftpserver and imported in Business Service.
    Do I need to give anything else in known_hosts file ?
    and hostname can be any random name?
    <Dec 11, 2013 1:45:37 PM GMT+08:00> <Error> <SFTPTransport> <BEA-381801> <Error occured for endpoint com.bea.wli.sb.transports.TransportException: com.maverick.ssh.SshException: ssh-dss Key Not Found for host hostname,10.124....
    com.bea.wli.sb.transports.TransportException: com.maverick.ssh.SshException: ssh-dss Key Not Found for host
      at com.bea.wli.sb.transports.sftp.connector.SFTPTransportProvider.sendMessage(SFTPTransportProvider.java:161)
      at com.bea.wli.sb.transports.sftp.connector.SFTPTransportProvider.sendMessageAsync(SFTPTransportProvider.java:111)
      at sun.reflect.GeneratedMethodAccessor566.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      Truncated. see log file for complete stacktrace
    Caused By: com.maverick.ssh.SshException: ssh-dss Key Not Found for host eirnode2,10.124.10.16
      at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.onUnknownHost(KnownHostVerifier.java:37)
      at com.sshtools.publickey.AbstractKnownHostsKeyVerification.A(Unknown Source)
      at com.sshtools.publickey.AbstractKnownHostsKeyVerification.verifyHost(Unknown Source)
      at com.maverick.ssh2.TransportProtocol.C(Unknown Source)
      at com.maverick.ssh2.TransportProtocol.processMessage(Unknown Source)
      Truncated. see log file for complete stacktrace

    BEA-381826 suggest that there is any issue with your public key in known_host file, can you cross verify it again. Also can you check if known_host file has appropriate permissions and I am assuming it is in /OSB_DOMAIN/osb/transports/sftp folder.
    Hostname,IP algorithm publickey are the hostname, ip, and public key of SFTP server.
    As per troubleshooting guidelines
    The Key not found for IP, host error message indicates that the known_hosts file does not contain an entry that corresponds to the specified IP-host combination. If the entry exists, then try with another algorithm key; for example, if the earlier attempt was with an RSA key, try again with a DSA key.
    Cheers,
    Sahil

  • Getting remote file using FTP Server Issue in OSB

    Hi Guys,
    I have configured a FTP server on my local system and I created a proxy service to get file from ftp location to some other location but it fails . I used ftp protocol for getting file
    and my ftp location is D:\host\ftp and it has another folder called osb . I used ftp as protocol and EndPointURI is ftp://localhost/. It fails to get files and shows error message like
    com.bea.wli.sb.transports.TransportException: <user:osb>Unable to list files for
    directory: .
    at com.bea.wli.sb.transports.ftp.connector.FTPWorkPartitioningAgent.exec
    ute(FTPWorkPartitioningAgent.java:218)
    In case of Business Service, writing a file to ftp location (i.e ftp://localhost/ means D:\host\ftp\osb) working.
    I used service account for both proxy,BS to connect . osb is username and same as password.
    Can Any one please suggest me How to solve this issue?
    Thanks,
    Srinivas.
    Edited by: 863597 on May 22, 2012 1:06 AM

    Hi Vijay Thank you,
    Can we do the pooling directly using FTP protocol like JMS protocol in OSB with out using FTP JCA Adapter.I did in such a way but it fails. For pooling files the mentioned endpoint uri is as ftp://localhost/ and it actual path is D:\host\ftp and ftp has another folder called osb here i have to get the files from this osb Can any one suggest me if there is any problem with the ftp protocol end point.
    Thank You,
    Srinivas.

  • OSB DB Adapter Polling Issue

    Hello Everybody,
    Requirement
    I am doing DB Adapter polling in OSB.I have a db adapter which polls order table whenever there is a record with status='N'.The OSB component is on single node of Weblogic Server.
    1.The db adapter picks the order data with status='N' in the proxy service
    2.It transforms to webservice xsd
    3.Invokes a webservice.
    4.The webservice returns acknowledgement number.
    5.The order table should be updated with status 'Z' and attribute1=acknowledgement number
    OSB Service Design
    1.Proxy service calls business service to poll the order table
    2.Converts the payload to the xsd format required by target
    3.Invokes the webservice on target
    4.Receives acknowledgement number
    5.calls a plsql procedure which updates all the records within this batch with the acknowledgement number and status='Z'
    My configurations in db adapter
    Logical delete option in db adapter.
    Unread Value :'N'
    Read Value : 'A'
    Polling frequency : 300 seconds
    no of databse rows per XML document : 10
    Database rows per transaction : 10
    Issue
    1.My process after getting the acknowledgement number it updates the status with Z and attribute1=acknowledgement number.At the of this transaction I am seeing that the status is being updated by
    the adapter to 'A' based on read value.I want the read value only to be updated initially but as soon as my OSB process picks it for further processing it should not update again.How can i prevent
    the status from getting updated to 'A'.
    2.I have 40 records in order table.Per the database rows per transaction it should process 10 records at a time and for each batch of 10 i should get one acknowledgement number.Instead i see that
    all the 40 records are updated with the same acknowledgement number.Kindly help as to how I can resolve this situation.
    Thanks & Regards,
    Radha

    Hi Arik,
    I tried setting the property(idempotent) in jca file of the polling adapter and it gave me below error.Kindly help
    <adapter-config name="EBS_FETCHDATA" adapter="Database Adapter" wsdlLocation="EBS_FETCHDATA.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/newebs" UIConnectionName="EBS" adapterRef=""/>
    <endpoint-activation portType="EBS_FETCHDATA_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="EBS_FETCHDATA.XxcmfOtmOrderHdrIfaceTmp"/>
    <property name="QueryName" value="EBS_FETCHDATASelect"/>
    <property name="MappingsMetaDataURL" value="EBS_FETCHDATA-or-mappings.xml"/>
    <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
    <property name="MarkReadColumn" value="OTM_INTERFACE_STATUS"/>
    <property name="MarkReadValue" value="A"/>
    <property name="MarkUnreadValue" value="N"/>
    <property name="PollingInterval" value="60"/>
    <property name="MaxRaiseSize" value="10"/>
    <property name="MaxTransactionSize" value="300"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="idempotent" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    ---------------------ERROR---------------
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: BINDING.JCA-12532 Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setIdempotent is not defined for oracle.tip.adapter.db.DBActivationSpec Please verify the spelling of the property.
    Thanks,
    Radha

  • In OSB , xquery issue with large volume data

    Hi ,
    I am facing one problem in xquery transformation in OSB.
    There is one xquery transformation where I am comparing all the records and if there are similar records i am clubbing them under same first node.
    Here i am reading the input file from the ftp process. This is perfectly working for the small size input data. When there is large input data then also its working , but its taking huge amount of time and the file is moving to error directory and i see the duplicate records created for the same input data. I am not seeing anything in the error log or normal log related to this file.
    How to check what is exactly causing the issue here,  why it is moving to error directory and why i am getting duplicate data for large input( approx 1GB).
    My Xquery is something like below.
    <InputParameters>
                    for $choice in $inputParameters1/choice              
                     let $withSamePrimaryID := ($inputParameters1/choice[PRIMARYID eq $choice/PRIMARYID])                
                     let $withSamePrimaryID8 := ($inputParameters1/choice[FIRSTNAME eq $choice/FIRSTNAME])
                     return
                      <choice>
                     if(data($withSamePrimaryID[1]/ClaimID) = data($withSamePrimaryID8[1]/ClaimID)) then
                     let $claimID:= $withSamePrimaryID[1]/ClaimID
                     return
                     <ClaimID>{$claimID}</ClaimID>                
                     else
                     <ClaimID>{ data($choice/ClaimID) }</ClaimID>

    HI ,
    I understand your use case is
    a) read the file ( from ftp location.. txt file hopefully)
    b) process the file ( your x query .. although will not get into details)
    c) what to do with the file ( send it backend system via Business Service?)
    Also noted the files with large size take long time to be processed . This depends on the memory/heap assigned to your JVM.
    Can say that is expected behaviour.
    the other point of file being moved to error dir etc - this could be the error handler doing the job ( if you one)
    if no error handlers - look at the timeout and error condition scenarios on your service.
    HTH

  • OSB XML to Flat file(write)- MFL?

    Hi,
    OSB 11G
    I will be invoking the db to get XML data and I have to write to a text file(pipe delimiter).
    I saw below forum, but I am not sure how to create MFL .Can you anyone pls mention the steps. (MFL ->XML to flat file )
    Do I have import xsd in Native Builder and convert to a flat file with pipe delimiter ?
    How to write a CSV file in OSB
    Thanks
    Edited by: soauser on Jul 7, 2011 8:07 PM

    truth must be said, MFL is very sensitive to input data, any deviation from the contract is punished with a NullPointerException, especially when the input is in binary format. One would expect a better error message, but what can we do.
    Make sure your input data complies with the Schema, for instance do a xsd validation...

  • Fault Handling Issue in OSB

    Hi,
    This is regarding SOAP fault handling in OSB11g.
    i am expecting that whenever OSB proxy service recieves a fault response the flow should move to service error handler if any. But its not happening.
    We tested our service with SOA Test stubs and SOAP UI mock services. When SOA test stub send fault response OSB considering it as normal response. But when the same fault is sent by SOAP UI mock service OSB is considering it as fault and going to service error handler.
    Now the same is happening when we replaced the service provider with one of the .NET service. The fault response is in SOAP 1.1 structure.
    Please let me whats the difference or any setting or HTTP response code we need to look at.
    Thanks & Regards
    Siva

    Hi Anuj,
    I am using the same fault structure which is working in Soap UI mock service. Still its not working in Soa test stub. And now facing the same issue when fault comes from .NET based service provider.
    Will verify once to see whats the response code thats being sent.
    Thanks
    Siva

Maybe you are looking for

  • Photoshop display a little too wide

    I haven't been able to figure out a solution to this annoying problem. I'm running Windows Vista on an HP with a 24" LCD monitor, an NVidea 8800# series video card and when I bring up Photoshop the display is a little too wide for the screen. Not a l

  • Corrupt Indesign Mac SDK on Adobe Site

    Has anyone tried downloading the Mac SDK from adobe recently. I have tried 5 times from various Mac's and using a variety of browsers and always end up with a .dmg with will not mount, claiming an invalid checksum. If anyone can provide an alternativ

  • HDV Capture Slow in PPro CS6

    I am experiencing what feels like very slow capture times when capturing live HDV footage through FireWire. I am shooting in my home studio with a Canon HV20 HDV thru FireWire. It takes about half the time length of the clip for PPro to insert it int

  • Bug found - Restrictions Passcode

    I believe that I have found a problematic bug with the Restrictions Passcode entry, but hopefully someone will convince me otherwise. ISSUE: I set up a Restrictions passcode on my young son's iPad Mini (1st Gen Wifi/AT&T/GPS 16GB, version 8.3).  He c

  • ITunes sees iPhone as camera.

    When I dock my 4s to my laptop it acts like it is a camera and open Picasa.  I have removed and reinstall itunes.  What else?  Thanks.