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.

Similar Messages

  • 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 ?

  • 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

  • UTF encoding issues on file adapters and mappings

    Hi,
    We did some tests regarding to UTF-8 and UTF-16 encoding using file adapters. Our conclusion so far is (when using Windows OS):
    1. Inbound adapter can handle UTF-8 and UTF-16 correctly, but do not specify the encoding!
    2. XI mappings will set the XML encoding to UTF-8 correctly when sending an UTF-16 file to XI.
    3. Outbound adapter can only handle UTF-8 (and US-ACSII and ISO-8859-1) correctly.
    The exact test results are:
    >>Outbound file adapter bug.
    If no encoding is specified in the outbound file adapter, UTF-8 and UTF-16 are handled correctly. However if the encoding is set to UTF-16, XI mapping will fail with the error:
    During the application mapping com/sap/xi/tf/_CHRIS_OUTBOUND_TO_INBOUND_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    Part of the trace:
    com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_CHRIS_OUTBOUND_TO_INBOUND_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) a0d, a0d, 6e3c(:main:, row:3, col:2) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:72) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:78) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest
    >>Inbound file adapter bug.
    If the encoding of an inbound file adapter is set to UTF-16 everything works ok (except the XML encoding is not set correctly, but this may be a mapping issue and not an adapter issue). However the default UTF-16 encoding seems to be UTF-16BE, where I would expect UTF-16LE since this is the most commonly used encoding.
    If the encoding UTF-16LE or UTF-16BE the characterset used in the message is correct, except the BOM of the file. The BOM is empty which means UTF-8 encoded file. Since the file is UTF-16BE or UTF-16LE encoded, this is wrong and the correct BOM should be added by the adapter.
    Encodings like US-ASCII and ISO-8859-1 are handled correctly.
    >>Mapping bug
    When we send in a message encoded in UTF-8 and want to send it out as a UTF-16 encoded message, we need to set the XML encoding to UTF-16. Normally this is done by an XSLT mapping using the <xsl:output encoding=”UTF-16”/> command.
    The UTF-8 message will get processed by the XSLT and any special character will be converted to its UTF-16 value. However the output message is not UTF-16 encoded (1 byte in-stead off 2 bytes).
    When this 1 byte message is send to the inbound adapter (encoding is set to UTF-16) the message will be translated from 1 byte to 2 byte (UTF-8 to UTF-16). The characters that were converted from UTF-8 to UTF-16 will be read as single byte characters and will be converted again. This will result in an incorrect message with illegal characters.
    So basically characters will be converted to UTF-16 2 times, which is incorrect.
    Maybe someone can confirm this on another XI system (maybe different OS). If you need test files or mapping, please let me know.
    Kind regards,
    Christiaan Schaake.

    Update after carefully reading all the UTF related documents on the internet.
    For UTF-16 the BOM is required and the adapter is handling this correctly. (encoding=UTF-16 will create the BOM).
    For UTF-16LE and UTF-16BE the BOM must not be set. The application should be able to handle the conversion. The adapter is working correct again.
    If the adapter is set to binary mode in stead of the text mode, the file will always be read correctly.
    About the mapping issue, I'm still experimenting with this one.
    Kind regards,
    Christiaan Schaake.

  • JAXP XSLT transformation UTF-8 issue

    Hi all,
    I have XML file generated from Java app. File is valid and is in UTF-8.
    I have XSLT template created with Altova StyleVision. Template is to produce RTF output file from above XML.
    I Java app there are two variant for XSLT transformation - with and without Saxon. I have simplified the code and it is almost the same in two variants.
    File outputFile = new File("path");
    *if (saxonToBeUsed) {*
    ClassLoader saxonClassLoader = SaxonLoader.getInstance(saxonPath);
    TransformerFactory transFact = TransformerFactory.newInstance("net.sf.saxon.TransformerFactoryImpl", saxonClassLoader); //$NON-NLS-1$
    Transformer trans = transFact.newTransformer(xsltSource);
    trans.setOutputProperty("encoding", "UTF-8"); //$NON-NLS-1$
    StreamResult res = new StreamResult(outputFile);
    trans.transform(xmlSource, res);
    *} else {*
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer trans = transFact.newTransformer(xsltSource);
    trans.setOutputProperty("encoding", "UTF-8"); //$NON-NLS-1$
    StreamResult res = new StreamResult(outputFile);
    *// Same result -> StreamResult res = new StreamResult(new OutputStreamWriter(new FileOutputStream(outputFile), "UTF-8"));*
    *// Same result -> StreamResult res = new StreamResult(new PrintWriter(new OutputStreamWriter(new FileOutputStream(outputFile), "UTF-8")));*
    trans.transform(xmlSource, res);
    XML file contains Arabic or Chinese text. RTF is generated.
    When RTF and XML are opened with text editor or web browser Arabic/Chinese whatever text is readable.
    The issue is that when RTF is opened with MSWord/WordPad/Open Office Writer :
    - Saxon generation -> RTF file can be opened and Arabic/Chinese text is normal i.e readable. English language is readable too.
    - JAXP generation -> RTF file can be opened but Arabic/Chinese is scrabmbled, messed up. English language is readable.
    All three files (XML,XSLT,RTF) are in UTF-8
    I have installed Chinese and Arabic true type fonts. When I create manual MSWord doc i can write some of their symbols.
    Please suggest some solution.
    Thanks

    Hi jtahlborn,
    I found the difference between two RTFs. This is one table cell containing random Arabic text
    XSLT 1.0 generated:
    {\*\bkmkstart محمود_شمام_لرويترز:_القذافي_قتل_في_هجوم_للمجلس_الانتقالي}{\fs16 محمود شمام لرويترز: القذافي قتل في هجوم للمجلس الانتقالي}
    XLST2.0 generated:
    {\*\bkmkstart محمود_شمام_لرويترز:_القذافي_قتل_في_هجوم_للمجلس_الانتقالي} {\fs16\u1605?\u1581?\u1605?\u1608?\u1583?\u32?\u1588?\u1605?\u1575?\u1605?\u32?\u1604?\u1585?\u1608?\u1610?\u1578?\u1585?\u1586?\u58?\u32?\u1575?\u1604?\u1602?\u1584?\u1575?\u1601?\u1610?\u32?\u1602?\u1578?\u1604?\u32?\u1601?\u1610?\u32?\u1607?\u1580?\u1608?\u1605?\u32?\u1604?\u1604?\u1605?\u1580?\u1604?\u1587?\u32?\u1575?\u1604?\u1575?\u1606?\u1578?\u1602?\u1575?\u1604?\u1610?}
    But I don't know how to fix it. Both files are generated with Saxon, same Java code, only XSLTs are different.
    Any ideas ?

  • OSB 11g Dynamic Routing issue

    Hi,
    I am going to insane for not being able to get DynamicRouting to work. I am using DynamicRouting option in RouteNode and in the *service variable panel of this action I have the following:
    <ctx:route>
         <ctx:service isProxy='false'>/MyProject/Services/BusinessServices/MyBizService.biz</ctx:service>
         <ctx:operation>{$operation}</ctx:operation>
    </ctx:route>
    The business service is there and the path is correct. $Operation is verified to have the correct value.
    The setup is I have a proxy service based on a WSDL and in the route node I am trying to dynamically route to a business service.
    I get the following error:
    The invocation resulted in an error:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
              <soapenv:Fault>
                   <faultcode>soapenv:Server</faultcode>
                   <faultstring>BEA-382612: Error preparing message for dispatch</faultstring>
                   <detail>
                        <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
                        <con:errorCode>BEA-382612</con:errorCode>
                        <con:reason>Error preparing message for dispatch</con:reason>
                             <con:location>
                                  <con:node>RoutingToDataServices</con:node>
                                  <con:path>request-pipeline</con:path>
                             </con:location>
                        </con:fault>
                   </detail>
              </soapenv:Fault>
         </soapenv:Body>
    </soapenv:Envelope>
    If just use Routing Table or Route action, there is no error and flow works fine.
    Has anyone else encountered issues with Dynamic Routing in this nature?
    Thanks in advance,
    Mani

    I use the web console for my OSB development and when I click on the business service The path appears like "CommonServices/BusinessService/CreditRatingTemplate" (based on the sample downloaded from the link given by me)
    I guess you are using the Eclipse/Workshop for development and hence you are getting the below:
    */* NGWS/Services/BusinessServices/NGWS_http.*biz*
    Can you replace it without the front / in the beginning of the URL and see if it works.
    Thanks,
    Patrick

  • OSB JCA Adapter performance issue

    Hi,
    We have to use OSB as an ESB at integration level which need to populate the result from local services e.g. from DB as well as from external services. Actually we need to use switch [split -join] and connector [individual proxy for individual services] features.
    As for external services, we do not have questions but to access data from local system e.g. Database, whether it will be a performance issue in OSB, in case if we are using JCA Adapter and exposing it as a service? Because some one objected that accessing JCA layer in OSB will be a performance issue.
    If some one can shed the light on it, it will be great.
    Thanks & Regards,
    V D

    Hi,
    Have a look at the Developer Guide for OSB... Oracle JCA Adapter for Database is supported... Have a look at the limitations, there's nothing mentioning performance...
    http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jca.htm#i1110405
    Also have a look at the following blogs... One of them even suggests that jca performs better than xquery with fn-bea:execute-sql...
    http://victor-jan.blogspot.com.au/2012/06/osb-fn-beaexecute-sql-vs-jca-dbadapter.html
    http://reallifeserviceorientedarchitecture.blogspot.com.au/2011/09/oracle-service-bus-osb-and-jca-adapters.html
    If you are still in doubt open a SR with Oracle Support...
    Hope this helps...
    Cheers,
    Vlad

  • [URGENT] UTF-8 issue in weblogic SOAP implementation

    Guyz,
    I am finding an issue with **weblogic.xml.saaj.MessageFactoryImpl** SOAP message factory mplementation class of weblogic. When it creates SOAP from inputstream which includes portuguese characters it does not recognise those characters.
    Any idea how to solve this issue?
    Chinmoy

    Will this really be a problem? UTF-8 is a superset of US-ASCII, I believe,
              so there should be no incompatability. This is assuming that you will only
              be sending latin characters in the form, since the recieving end can only
              accept latin characters. If this is NOT true, then they need to use UTF-8.
              Otherwise, I would test it and see what happens.
              "Volker Mader" <[email protected]> wrote in message
              news:3d3326c4$[email protected]..
              >
              > Hi there,
              >
              > can anybody help me.
              > I have a webapp in wls 6.1 sp2. All of the web is utf-8 based, so i set
              the charset
              > in the page-directive and the html content type to utf-8. Also I set the
              <input-charset>
              > Tag in weblogic.xml to utf-8 for context "/".
              > Problem: I want to send a from out of this webapp to another server which
              serves
              > a iso-8859-1 based application.
              > How can I do that?
              >
              > Thanks for help
              > Volker
              

  • OSB 11gR1 Cluster Environment Issues

    Hi,
    I installed Oracle Service Bus 11gR1 on a clustered environment with two nodes and extended the domain for OSB. (First Node: osb_server1, Second Node: osb_server2)
    I am facing the problems below on this environment:
    1. When I login on SB Console on second node, on "Operations" menu a warning message (Unable to obtain metrics data from the server. ) is displayed and the message below is logged on osb_server2:
    <Aug 14, 2012 3:21:00 PM GMT+03:00> <Error> <ALSB Statistics Manager>
    <BEA-473003> <Aggregation Server Not Available. Failed to get remote aggregator
    java.lang.IllegalArgumentException: Server 'null' not found
    at com.bea.alsb.platform.weblogic.WlsDomainConfigurationImpl.getServer(WlsDomainConfigurationImpl.java:98)
    at com.bea.alsb.platform.weblogic.WlsDomainConfigurationImpl.getAggregationServer(WlsDomainConfigurationImpl.java:119)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.getRemoteAggregator(ALSBStatisticsManager.java:291)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.access$000(ALSBStatisticsManager.java:38)
    at com.bea.wli.monitoring.statistics.ALSBStatisticsManager$RemoteAggregatorProxy.send(ALSBStatisticsManager.java:55)
    Truncated. see log file for complete stacktrace
    >
    2. In SB Console on both nodes when "Security" menu is selected, an error message (Message The server encountered an unexpected condition which prevented it from fulfilling the request. ) is displayed and the message (
    <Aug 14, 2012 3:16:03 PM EEST> <Error> <User-Management-WLI-OAM> <BEA-000000>
    <[BEA-WLI-Security-UserManagement:482200]The operation searchUsers is not supported by the provider null for user/group .>
    <Aug 14, 2012 3:16:03 PM EEST> <Error> <User-Management-WLI-OAM> <BEA-000000>
    <[BEA-WLI-Security-UserManagement:482200]The operation searchUsers is not supported by the provider null for user/group .>
    <Aug 14, 2012 3:16:03 PM EEST> <Error> <ALSB Console> <BEA-494002> <Internal error occured in OSBConsole : null
    com.bea.p13n.security.management.OperationNotSupportedException
    at com.bea.p13n.security.management.authentication.AtnManagerProxy.getUserNames(AtnManagerProxy.java:579)
    at com.bea.alsb.console.oam.usermanagement.UserManagementHelper.getUserNames(UserManagementHelper.java:857)
    at com.bea.alsb.console.oam.usermanagement.UserManagementHelper.searchUsers(UserManagementHelper.java:138)
    at com.bea.alsb.console.usermanagement.user.UserManagement.viewUsersByName(UserManagement.java:244)
    at com.bea.alsb.console.usermanagement.user.UserManagement.viewUsers(UserManagement.java:71)
    Truncated. see log file for complete stacktrace
    >
    How can I solve these two issues?

    For the first error - Refer to this http://tim.blackamber.org.uk/?p=975
    For the second error - Looks like there is an issue loading the default ldap configuration. Please do the following:
    1. Take a backup of the following folders cache+, data+ and tmp+ in each of the servers.
    2. Then delete the contents of the above folders in each server
    3. And restart all the servers in the cluster. This should reinitialize all the required files at startup.
    Hope this helps.
    Thanks,
    Patrick

  • OSB: WebLogic lo4j performance issue

    Hi
    I have configured log4j on WebLogic server 11g.
    Oracle Service Bus (OSB) uses this log4j file and writes log in AdminServer/logs/ApplicationLogs directory.
    Log level is 'DEBUG' and quite a lot data is being logged.
    lately i have noticed that server is running very slow.
    any guidelines/links?
    Thanks

    If you feel that that excessive logging is the issue, then you can start by tune the WLS logging and compare the performance.
    Go to WLS console > Servers > Servername > Logging > Advanced and set the following severity levels
    ‘Warning’ for “Log File” section;
    ‘Notice’ for “Standard out” section;
    ‘Warning’ for “Domain log broadcaster” section;
    ‘Error’ for “Memory buffer’’ section;
    Then click on ‘HTTP’ tab in ‘Logging’ section. Uncheck the box “HTTP access log file enabled” if it is checked.If you still face issues, then please give more details of the domain and the services deployed.
    Thanks,
    Patrick

  • Charset UTF-8 issue in JSF

    hi All,
    Could you please give me the idea , what to do for charset issue in JSF.
    The main isssue is for the first request the data is converting to UTF-8, from the second request the data is converting to ISO-8859-1. I want the data should be encoded in UTF-8.
    I have jsf file it contains the <h:inputText> field value
    &#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;
    I am passing this value into some other popup window using javascript function.
    mywindow = window.open('<%=request.getContextPath()%>/faces/vmp470.faces'+ '?nameField=' nameFieldValue '&'+'fieldType=' +fieldTypeValue   ,'mywindow','resizable=false,scrollbars=0,z-lock=true,width=550,height=520,left=150,top=150,screenX=150,screenY=150')         
    Here nameFieldValue =&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;
    For the first time the values is passing correctly into the second window.
    From the second time the value is changing into
    ������������������������������
    Can you please give me the idea if you have other alternative.
    In my RequestContextFilter I added UTF-8 char set also.
    servletRequest.setCharacterEncoding("UTF-8");
    ((HttpServletResponse)servletResponse).setContentType("text/html;charset=UTF-8");
    In JSF file also I added <%@page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
    some where the characater set chaning from UTF-8 to ISO-8859-1
    Thanks & Regards,
    Bhushanam.

    I don't have like that.
    In system variables
    path= C:\j2sdk1.4.2\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\apache-ant-1.6.0\bin;D:\Tomcat5.0\bin;D:\jsf-1_1_01\jsf-1_1_01\lib;%M2_HOME%\bin;
    classpath= C:\j2sdk1.4.2\lib\tools.jar;D:\logos\logos\lib\oracle\classes12.jar;D:\logos\logos\lib\log4j\log4j.jar;D:\Tomcat5.0\bin;D:\jsf-1_1_01\jsf-1_1_01\lib;C:\mavenbook-1.0\genapp\test-application\;D:\Tomcat5.0\webapps\login\WEB-INF\lib\servlet-api-2.3.jar;
    If i print
    System.getProperty("java.class.path"), the below path is displaying.
    D:\Jdev9052\j2ee\home\oc4j.jar;D:\Jdev9052\jdev\lib\jdev-oc4j.jar;D:\Jdev9052\j2ee\home\lib/ejb.jar;D:\Jdev9052\j2ee\home\lib/servlet.jar;D:\Jdev9052\j2ee\home\lib/ojsp.jar;D:\Jdev9052\j2ee\home\lib/jndi.jar;D:\Jdev9052\j2ee\home\lib/jdbc.jar;D:\Jdev9052\j2ee\home\iiop.jar;D:\Jdev9052\j2ee\home\iiop_gen_bin.jar;D:\Jdev9052\j2ee\home\lib/jms.jar;D:\Jdev9052\j2ee\home\lib/jta.jar;D:\Jdev9052\j2ee\home\lib/jmxri.jar;D:\Jdev9052\j2ee\home\lib/javax77.jar;D:\Jdev9052\j2ee\home\lib/javax88.jar;D:\Jdev9052\j2ee\home\../../opmn/lib/ons.jar;D:\Jdev9052\j2ee\home\../../opmn/lib/optic.jar;D:\Jdev9052\j2ee\home\../../lib/dms.jar;D:\Jdev9052\j2ee\home\../../dms/lib/dms.jar;D:\Jdev9052\j2ee\home\lib/connector.jar;D:\Jdev9052\j2ee\home\lib/cos.jar;D:\Jdev9052\j2ee\home\lib/jsse.jar;D:\Jdev9052\j2ee\home\../../oracle/lib/jsse.jar;D:\Jdev9052\j2ee\home\lib/jnet.jar;D:\Jdev9052\j2ee\home\lib/jcert.jar;D:\Jdev9052\j2ee\home\lib/activation.jar;D:\Jdev9052\j2ee\home\lib/mail.jar;D:\Jdev9052\j2ee\home\../../javavm/lib/jasper.zip;D:\Jdev9052\j2ee\home\../../lib/xmlparserv2.jar;D:\Jdev9052\j2ee\home\../../oracle/lib/xmlparserv2.jar;D:\Jdev9052\j2ee\home\lib/jaxp.jar;D:\Jdev9052\j2ee\home\lib/jaas.jar;D:\Jdev9052\j2ee\home\jazn.jar;D:\Jdev9052\j2ee\home\../../jdbc/lib/classes12dms.jar;D:\Jdev9052\j2ee\home\../../oracle/jdbc/lib/classes12dms.jar;D:\Jdev9052\j2ee\home\../../jdbc/lib/nls_charset12.jar;D:\Jdev9052\j2ee\home\../../oracle/jdbc/lib/nls_charset12.jar;D:\Jdev9052\j2ee\home\jaxb-rt-1.0-ea.jar;D:\Jdev9052\j2ee\home\../../soap/lib/soap.jar;D:\Jdev9052\j2ee\home\../../webservices/lib/wsserver.jar;D:\Jdev9052\j2ee\home\../../webservices/lib/wsdl.jar;D:\Jdev9052\j2ee\home\../../rdbms/jlib/aqapi.jar;D:\Jdev9052\j2ee\home\lib/jem.jar;D:\Jdev9052\j2ee\home\../../javacache/lib/cache.jar;D:\Jdev9052\j2ee\home\lib/http_client.jar;D:\Jdev9052\j2ee\home\../../jlib/jssl-1_1.jar;D:\Jdev9052\j2ee\home\../../oracle/jlib/jssl-1_1.jar;D:\Jdev9052\j2ee\home\../../jlib/repository.jar;D:\Jdev9052\j2ee\home\../../jlib/ldapjclnt9.jar;D:\Jdev9052\j2ee\home\../../oracle/jlib/repository.jar;D:\Jdev9052\j2ee\home\lib/jaasmodules.jar;D:\Jdev9052\j2ee\home\../../sqlj/lib/runtime12ee.jar;D:\Jdev9052\j2ee\home\../../sqlj/lib/translator.jar;D:\Jdev9052\j2ee\home\lib/crimson.jar;;D:\Jdev9052\j2ee\home\applib;D:\Jdev9052\BC4J\lib;D:\Jdev9052\BC4J\lib\adfm.jar;D:\Jdev9052\BC4J\lib\adfmtl.jar;D:\Jdev9052\BC4J\lib\adfmweb.jar;D:\Jdev9052\BC4J\lib\bc4jct.jar;D:\Jdev9052\BC4J\lib\bc4jctejb.jar;D:\Jdev9052\BC4J\lib\bc4jdomorcl.jar;D:\Jdev9052\BC4J\lib\bc4jimdomains.jar;D:\Jdev9052\BC4J\lib\bc4jmt.jar;D:\Jdev9052\BC4J\lib\bc4jmtejb.jar;D:\Jdev9052\BC4J\lib\collections.jar;D:\Jdev9052\jlib\ojmisc.jar;D:\Jdev9052\ord\jlib\ordim.jar;D:\Jdev9052\ord\jlib\ordhttp.jar;D:\Jdev9052\jlib\share.jar;D:\Jdev9052\jlib\regexp.jar;D:\Jdev9052\jlib\jdev-cm.jar;D:\Jdev9052\lib\dsv2.jar;D:\Jdev9052\rdbms\jlib\xsu12.jar;D:\Jdev9052\j2ee\home\jsp\lib\taglib;D:\Jdev9052\j2ee\home\jsp\lib\taglib\jaxen-full.jar;D:\Jdev9052\j2ee\home\jsp\lib\taglib\ojsputil.jar;D:\Jdev9052\j2ee\home\jsp\lib\taglib\saxpath.jar;D:\Jdev9052\j2ee\home\jsp\lib\taglib\standard.jar;D:\Jdev9052\lib\oraclexsql.jar;D:\Jdev9052\lib\xsqlserializers.jar;D:\Jdev9052\jlib\bigraphbean.jar;D:\Jdev9052\jlib\bigraphbean-nls.zip;D:\Jdev9052\jlib\jewt4.jar;D:\Jdev9052\jlib\jewt4-nls.jar;D:\Jdev9052\toplink\jlib\toplink.jar;D:\Jdev9052\jdev\lib\jdev-rt.jar;D:\Jdev9052\vbroker4\lib\vbjorb.jar;D:\Jdev9052\jdev\lib\ojc.jar;;C:\vmp\development\vmp\vmp-web\src\main\webapp\WEB-INF\lib\CVS;C:\vmp\development\vmp\vmp-web\target\classes;C:\vmp\development\vmp\vmp-app\target\classes;C:\vmp\development\vmp-ext-lib\activation-1.0.2.jar;C:\vmp\development\vmp-ext-lib\calendar-src1.jar;C:\vmp\development\vmp-ext-lib\commons-beanutils.jar;C:\vmp\development\vmp-ext-lib\commons-collections.jar;C:\vmp\development\vmp-ext-lib\commons-digester.jar;C:\vmp\development\vmp-ext-lib\commons-email-1.0.jar;C:\vmp\development\vmp-ext-lib\commons-fileupload-1.1.jar;C:\vmp\development\vmp-ext-lib\commons-io-1.1.jar;C:\vmp\development\vmp-ext-lib\commons-lang-2.0.jar;C:\vmp\development\vmp-ext-lib\commons-logging.jar;C:\vmp\development\vmp-ext-lib\geronimo-spec-ejb-2.1-rc1.jar;C:\vmp\development\vmp-ext-lib\hsqldb.jar;C:\vmp\development\vmp-ext-lib\jai_codec-1.1.2.jar;C:\vmp\development\vmp-ext-lib\jai_core-1.1.2.jar;C:\vmp\development\vmp-ext-lib\javax-ssl-1_2.jar;C:\vmp\development\vmp-ext-lib\jcommon-1.0.0.jar;C:\vmp\development\vmp-ext-lib\jfreechart-1.0.1.jar;C:\vmp\development\vmp-ext-lib\jsf-api.jar;C:\vmp\development\vmp-ext-lib\jsf-impl.jar;C:\vmp\development\vmp-ext-lib\jssl-1_2.jar;C:\vmp\development\vmp-ext-lib\junit-3.8.1.jar;C:\vmp\development\vmp-ext-lib\log4j-1.2.9.jar;C:\vmp\development\vmp-ext-lib\mail-1.3.3.jar;C:\vmp\development\vmp-ext-lib\servlet-api-2.3.jar;C:\vmp\development\vmp-ext-lib\soap.jar;C:\vmp\development\vmp-ext-lib\toplink-9.0.4.jar;C:\vmp\development\vmp-ext-lib\xmlparserv2.jar;C:\vmp\development\vmp-ext-lib\OracleADFFaces\adf-faces-api-SNAPSHOT.jar;C:\vmp\development\vmp-ext-lib\OracleADFFaces\adf-faces-impl-SNAPSHOT.jar;C:\vmp\development\vmp-ext-lib\OracleADFFaces\adfshare-3549S.jar;C:\vmp\development\vmp-ext-lib\OracleADFFaces\jstl.jar;C:\vmp\development\vmp-int-lib\vmp-app-1.0-SNAPSHOT.jar;D:\Jdev9052\jakarta-taglibs\jstl-1.0\lib\jaxen-full.jar;D:\Jdev9052\jakarta-taglibs\jstl-1.0\lib\saxpath.jar;D:\Jdev9052\jakarta-taglibs\jstl-1.0\lib\xalan.jar;D:\Jdev9052\jakarta-taglibs\jstl-1.0\lib\jstl.jar;D:\Jdev9052\jakarta-taglibs\jstl-1.0\lib\standard.jar;D:\Jdev9052\jakarta-struts\lib\struts.jar;D:\Jdev9052\jakarta-struts\lib\commons-beanutils.jar;D:\Jdev9052\jakarta-struts\lib\commons-collections.jar;D:\Jdev9052\jakarta-struts\lib\commons-fileupload.jar;D:\Jdev9052\jakarta-struts\lib\commons-digester.jar;D:\Jdev9052\jakarta-struts\lib\commons-lang.jar;D:\Jdev9052\jakarta-struts\lib\commons-logging.jar;D:\Jdev9052\jakarta-struts\lib\commons-validator.jar;D:\Jdev9052\jakarta-struts\lib\jakarta-oro.jar
    can you please check the above paths.
    Thanks & regards
    bhushanam.
    Message was edited by:
    Java_Smart

  • OSB invoking RESTful webservices:issue with relative-URI instead of

    Hi,
    We have a requirement where we need to pass the request content as string in the URL.
    we need to send the request in the URL like:
    http://abc.com/rest/xvf/nas<Employee><name>abc</name><empid>1234</empid>...<Employee>
    we have used a servicecallout action which is invoking a business service which has the base uri value like:
    http://abc.com/rest
    and in the insert action we are trying to appened the remaining uri in the rest command i.e
    <http:relative-URI>/xvf/nas{fn-bea:serialize($xmldata)}</http:relative-URI>
    here $xmldata is <Employee><name>abc</name><empid>1234</empid>...<Employee>
    while trying to invoke the service we are getting the error like:
    BEA-380000: General runtime error: Illegal character in path at index 36: http://abc.com/rest/xvf/nas& lt ; Employee>& lt ; name>abc& lt ; /name>& lt ; empid>1234>...& lt ; Employee>
    before to that we used fn-bea:inlinedXML and fn:bea:serialize functions on the retrieved xml and stored it into the xmldata variable and this variable is displaying the request in the proper xml file, but while appending it to the relative URI method the xml data is changing as like shown above i.e instead of < it is coming as & lt ; and at the end with out invoking the servie it is stoppeing at the OSB with the above error as illegal character, please advice..
    how to append the proper xml to the URL/URI in the relative-URI method in the proxy transport??
    as here it is coming & lt ; (combined with out space) as < i am changing it as like & lt ; for better understanding
    Thanks..
    Edited by: user12679330 on May 13, 2010 9:36 AM
    Edited by: user12679330 on May 13, 2010 9:40 AM
    Edited by: user12679330 on May 13, 2010 9:40 AM

    Not sure what you are trying to do but if I am not wrong, you are trying to use HTTP get with REST. You may refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/httppollertransport/transports.html#wp1083292
    http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html
    http://blogs.oracle.com/jamesbayer/2008/07/using_rest_with_oracle_service.html
    http://blogs.oracle.com/woa/2009/04/restify_your_world_and_put_it.html
    Regards,
    Anuj

  • OSB, xquery and Assign issue

    Hello all
    I have an issue that I cannot quite understand...
    I have a very simple proxy service, that I would like to receive an xml of this form:
    <SO so_att1="soatt" xsi:noNamespaceSchemaLocation="Split.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <MLI mli_att1="mli1att">
              <LI li_att1="li1_att1">
                   <name>String</name>
                   <value>String</value>
                   <action>String</action>
              </LI>
              <LI li_att1="li2_att1">
                   <name>String</name>
                   <value>String</value>
                   <action>String</action>
              </LI>
              <LI li_att1="li3_att1">
                   <name>String</name>
                   <value>String</value>
                   <action>String</action>
              </LI>
              <LI li_att1="li4_att1">
                   <name>String</name>
                   <value>String</value>
                   <action>String</action>
              </LI>
              <LI li_att1="li5_att1">
                   <name>String</name>
                   <value>String</value>
                   <action>String</action>
              </LI>
              <name>String</name>
              <value>String</value>
              <action>String</action>
         </MLI>
    </SO>
    in order to transform it to a general data model of this form:
    <CDM>
         <Item so_att="soatt" mli_att="mli1att">
              <name>MLI1_name</name>
              <value>MLI1_value</value>
              <action>MLI1_action</action>
         </Item>
         <Item so_att="soatt" mli_att="mli1att" li_att="li1att">
              <name>LI1_name</name>
              <value>LI1_value</value>
              <action>LI1_action</action>
         </Item>
         <Item so_att="soatt" mli_att="mli1att" li_att="li2att">
              <name>LI2_name</name>
              <value>LI2_value</value>
              <action>LI2_action</action>
         </Item>
         <Item so_att="soatt" mli_att="mli1att" li_att="li3att">
              <name>LI3_name</name>
              <value>LI3_value</value>
              <action>LI3_action</action>
         </Item>
         <Item so_att="soatt" mli_att="mli1att" li_att="li4att">
              <name>LI4_name</name>
              <value>LI4_value</value>
              <action>LI4_action</action>
         </Item>
         <Item so_att="soatt" mli_att="mli1att" li_att="li5att">
              <name>LI5_name</name>
              <value>LI5_value</value>
              <action>LI5_action</action>
         </Item>
    </CDM>
    The common idea is to split the XML in to pieces with attributes inheritance. I have created 3 Assign actions. the 1st one has the xquery for seperating the MLI nodes with the correct attribues:
    for $i in (1 to fn:count($body/MLI))
    return
    <Item so_att1 = "{ data($body/@so_att1) }"
    mli_att1 = "{ data($body/MLI[$i]/@mli_att1) }">
    for $name in $body/MLI[$i]/name
    return
    <name>{ data($name) }</name>
    for $value in $body/MLI[$i]/value
    return
    <value>{ data($value) }</value>
    for $action in $body/MLI[$i]/action
    return
    <action>{ data($action) }</action>
    </Item>
    And it is saved in variable MLI
    The 2nd one is similar to this and saves to variable LI while the 3rd assign concats the variables like this: fn:concat('<CDM>', $MLI, $LI, '</CDM>') and saves in new variable...
    My problem comes, when I run on server the proxy. It is echoing (of course, cause there is no routing) but the incoming message passes only from third assign, ignoring the first and the second... Any idea why this is happening? The xqueries while tested inside the XQuery editor, works like charm...
    Thank you in advance

    Not sure if this is what you mean, but if you want to store elements in a variable during your XQuery you can use the "let" command.
    This way you can use them during your Xquery but it doesn't replace the Assign or Replace action in your message flow.
    let $x := 1
    let $y := $x + 1

  • OSB Express Driver Installation Issue

    When I am installing OSB Express on a Windows 2000 Server, I receive the following error:
    SetDiOpenDeviceInfo();
    Error code e0000201
    Then a window pops up stating that "Cannot Install Oracle Secure Backup Driver". When I originally installed this on the same machine, the driver installed properly. I have uninstalled and reinstalled numerous times, but still receive an error message. The tape drive is a Quantum DLT4000 drive, and is listed on the supported drive list from Oracle. Any assistance is appreciated. Thanks.

    I performed the method as you suggested by uninstalling OSB Express, then rebooting, then disabling the tape device drive and then rebooting, and then reinstalled OSB Express. The same errors came back as a result.

  • OC4J 10.1.2.0.2 faces 1.1_02 encoding UTF-8 issue

    Hello all,
    My problem occurs in oc4j 10.1.2.0.2 (Windows 2003, Romanian Locale...) with faces 1.1_02.
    All tags text encoded UTF-8 doesn't rendered correctly it is encoded ISO-8859-1.
    Simple JSP pages reders correctly UTF-8 characters but jsf (faces Ex. <h:outputText ...) did not.
    I've used <%@ page pageEncoding="UTF-8"%> and <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> without success
    I've tried also to force to do this into a custom ServletFilter (response.setCharacterEncoding("UTF-8")...) but without any results.
    With oc4j 10.1.3 everything it is OK.
    Any remark will be appreciated,
    Thnk's

    I found a way to do this in oc4j 10.1.2.0.2
    <f:view>
         <% response.setContentType("text/html; charset=UTF-8"); %>
    </f:view>

Maybe you are looking for

  • I miss the emac...

    I need a new computer for artwork. Something I can AFFORD! So I've been planning on getting an emac! So I come here one day and see that they took the emac off the flippin store. That's so nice sarcasm! Can you PLEASE BRING IT BACK!? The same thing h

  • Newbie Setting up a Wireless Network - Advice Needed

    Before I run out and drop $$$ on stuff that won't work for me, I thought I'd better get some advice. Here goes: I have an older 1.25 GHz G4 iMac running OS X 10.5.1, no airport card installed yet, a Lacie 500 GB external HD, an Epson R200 printer and

  • How long before we get more widgets?

    Given that we now have two native widgets in the pull down notification center - for weather and stocks - I'm anticipating we will eventually get more for apps that are installed. To be honest, it makes perfect sense. Anyone got any idea on whether I

  • How to enter K210 BIOS?

    I've been there, I know I have, I just can't remember how I got there in the first place. Can anyone tell me the key (or combination) to enter the K210 ideaCenter's BIOS?  I'm guessing the boot screen tells me somewhere, but my monitor takes a second

  • I can't change the font on outgoing emails in outlook - any ideas?

    I installed MS Outlook on my MacBook Air. The default font for messages is Times New Roman. I have followed the help guide to change this but it defaults back. Anyone solved this one please?