URGENT ! Is it possible to create a xml data control description file
We are encountering serious problem when generating data control against java bean build from java classes generated with xml top link mapping.
As workaround we have created a new xml schema that generate the java classes in a way data control may be generated correctly but we have to declare manually each class for java.util.list attribute that are not types by top link.
Unfortunately some classes seem not to described by a data control xml files for a reason we cannot understand because others similar classes are correctly described.
To gain time - we have to finish our development -we would force de data control structure by manually adding class data control definition file that are missing.
Just adding the file in the pasckage is not sufficient.
What do we have to update to make this file active ?
Solved my problem by referencing the parent class correctly so the child class xml definition was created by the data control wizard and editable in the structure window.
Similar Messages
-
Is it possible to CREATE an XML data with Smart Forms??
Hello at all,
i have an Smart Form Formular, which contains all information about a customer.
My question is, if i want to send this Formular to another System, can I send this as a XML File or something else???
I have no idea, how i can send my smart forms formular to another System.
With kind regards.
ETNI guess you want to send "spools" in XML format, not the definition of smart forms. So, the XML for Smart Forms is called XSF: read [SDN article - SAP SMART FORMS XSF - XML OUTPUT FOR SMART FORMS|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b6bc290-0201-0010-5b87-a0e7c7eb55d0] and [sap library - smart forms - output in XSF format|http://help.sap.com/saphelp_nw70/helpdata/EN/a5/28d3b6d26211d4b646006094192fe3/frameset.htm]
-
How to submit pdf xml data to a file server
Hi, I am hoping someone can help me. I have created a dynamic pdf in livecycle designer ES, which appears as the requester wants it to. I now just need to work out how to collect the submitted data. Is it possible to submit the xml data to a file server? I have succeeded in emailing the data, but each response is separate xml attachment and would then need to collated, etc. It would be preferable to submit the data directly to a file server if this is possible. Even if it submitted into a database or something. From everything I have read so far, it seems that this is not possible, unless I am missing something. As a newbie to this, any assistance would be much appreciated. Thank you.
You can submit the data as XML or URL-encoded data (HTTP POST). In either case you will need to have a server-side process to receive and parse the data stream. The server-side process may be a JSP, a servlet, PHP or any technology that can manage HTTP requests/responses.
See About submitting data using a button at http://help.adobe.com/en_US/livecycle/9.0/designerHelp/000330.html .
Steve -
Is it possible to use an XML Data Template to create a report in APEX?
Hi,
I have created an XML Data Template in BI Publisher passing one parameter and running two queries, then created an RTF Document Template to present the data.
I can create a nice report in BI Publisher using the two elements. I have used RTF Document Templates to publish reports in APEX but the data comes from a Report region running a single query.
I would like to run a report based in this kind of XML Data Template, in order to use several children queries related to a parent query. Is it possible to do it in APEX, or you have to use BI Publisher?
Francisco
===========================
Below is a simple data template definition:
<dataTemplate name="cotizacion_template" description="Prueba de data template para cotizaciones" dataSourceRef="dbxprts">
<parameters>
<parameter name="p_id_cotizacion" dataType="character" defaultValue="1009" include_in_output="true"/>
</parameters>
<dataQuery>
<sqlStatement name="header_query">
<![CDATA[select id_cotizacion, fecha_cotizacion, id_clipro from f_cotizaciones where id_cotizacion = :p_id_cotizacion]]>
</sqlStatement>
<sqlStatement name="detail_query">
<![CDATA[select id_cotizacion as id_cot_child, id_detalle_cotizacion, partida, cantidad, id_producto from f_detalle_cotizaciones where id_cotizacion = :id_cotizacion]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="F_COTIZACIONES" source="header_query">
<element name="ID_COTIZACION" value="ID_COTIZACION"/>
<element name="ID_CLIPRO" value="ID_CLIPRO"/>
<element name="SUMA_CANTIDAD" value="F_DETALLE_COTIZACIONES.CANTIDAD" function="SUM()"/>
<group name="F_DETALLE_COTIZACIONES" source="detail_query">
<element name="PARTIDA" value="PARTIDA"/>
<element name="CANTIDAD" value="CANTIDAD"/>
<element name="ID_PRODUCTO" value="ID_PRODUCTO"/>
</group>
</group>
</dataStructure>
</dataTemplate>Hi,
I have the similar question. I used data templates in BI Publisher but now I want to use the same data template in Apex to print some reports.
I tried to some examples but these were only using report queries. I also tried with the Web Service but this didn't work for me either maybe because I didn't
used it in the right way. When I used the WS I received the binary of the report so the WS worked it was just the how and where to use it that didn't work for me.
Now this older entry is BUMPED maybe we find a solution for our problem this way.
regards,
Steven -
How to create an xml to load swf files in sequence?
hello everyone
I'm new in web design... I know how to animate in flash, using timeline, frames, layers, twins and so on... But I want to move forward so I want to create a xml to load swf files in sequence and in loop. Each swf file has 8 seconds.You can see the example here in www.cm-seixal.pt.
I'm not a programmer but I understand how actionscript works... I hope you can help me
Cheers!
Anayou can use the urlloader class to load your xml file. use the loader's complete event and the loader's data property to retrieve the data in your xml file.
-
Hi
I am on Jdev 11.1.2.4.0 Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
When I am trying to create Web Services Data Control for SOAP, it gives 'Invalid WSDL File' for any WSDL file and shows following error:
oracle/adfdtinternal/model/adapter/webservice/utils/WSUtils$DefaultAuthPrompter
and in 'feedback' tab:
Already logged bug for [NoClassDefFoundError in o.j.webservices.wsdl.CachedWSDLReader:394]
Also if I try to create a new Request in HTTPAnalyzer and give a WSDL it shows following exception:
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
followed by "The string <WSDL URL> is not a valid WSDL".
If I try to create a REST WS Datacontrol, it shows error:
NoClassDefFoundError in o.adf.model.connection.url.HttpUrlConnection:146
Entire stack trace is attached.
Please let me know if these are known issues and if there is any workaround.
ThanksDon't see any way to attach file. So here is the entire trace:
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:46:51 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Caused by: java.lang.ClassNotFoundException: HTTPClient.AuthorizationPrompter
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 31 more
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:47:52 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Performing action (13) Save All [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
Invoking command: [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (79) About [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Invoking command: [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (279) Clear [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (9) Open... [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (455) HTTP Analyzer [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:02:23 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:03:39 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:642)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.ClassNotFoundException: HTTPClient.HTTPConnection
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
j.lang.ClassLoader.loadClass(ClassLoader.java:247)
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:642)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122) -
How to accessed,created and modified date of particular file in java
Hi,
I am facing one problem.
I know how to get the modified date/time of file in java.
but i don't know how to find created and accessed date/time of file in java.
Thanks,
TejasI guess thats not possible in in Windows.
But if u r trying it on a unix machine.
You can use Runtime class to call exec on the command
ls -l filename
and then store the result in a file . And then take out the last modified time. But you cant get created time.
Thats a clumpsy way i believe. -
Like to understand - Stream DataSet (of XML data) to ZIP file?
i have similar kind of requirement where i need to save dataset data in multi part zip file. from this site i got a sample code
.NET - Stream DataSet (of XML data) to ZIP file? but few area is not clear.
the sample code as follows
// get connection to the database
var c1= new System.Data.SqlClient.SqlConnection(connstring1);
var da = new System.Data.SqlClient.SqlDataAdapter()
SelectCommand= new System.Data.SqlClient.SqlCommand(strSelect, c1)
DataSet ds1 = new DataSet();
// fill the dataset with the SELECT
da.Fill(ds1, "Invoices");
// write the XML for that DataSet into a zip file (split into 1mb chunks)
using(Ionic.Zip.ZipFile zip = new Ionic.Zip.ZipFile())
zip.MaxOutputSegmentSize = 1024*1024;
zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) );
zip.Save(zipFileName);
how this word code Ionic they are using dotnet zip library ? tell me what is
Ionic
i guess this line zip.MaxOutputSegmentSize = 1024*1024; means each segment size would be 1mb ? am i right ?
this line is not clear
zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) );
what is the meaning of this (name,stream) stream never declared but how they can use ?
tell me what is the meaning of this line zip.AddEntry(zipEntryName, (name,stream) => ds1.WriteXml(stream) ); what the code will do reading the above statement.
suppose if the above code save dataset data in 5 separate zip file then what name will be used for each segment?
if possible give me the code which will read all segment file and extract its content in a folder. thanksIonic is a 3rd party library which can be download by click on the shortcut where you got the code. I don't recommend using compiled 3rd part software unless the source code is provided. Codeplex solutions are usually very reliable.
Yes 1024 x 1024 is the 1mbyte size of the stream
The library is using a Linq syntax. So simple Linq uses something like this
.Select(x => x.ToString()) Where x is a variable name that can be any letter(s) you choose. Select is part of an enumeration. It is really just a shortcut instead of using a "FOR" statement.
The line zip is more complicated version of Linq. It is using two parameters (name,stream). I don't think the code actually works and you would have to look at the documentation at the codeplex website.
jdweng -
Appending XML data to a file using file adaptor
Hi,
I am trying to append data to a file using file adaptor in XML format. (Objective is to store data as XML message in the file). I understand it is possible to append data to an existing file by making appropriate changes in WSDL manually. However, my issue is every time the XML data is appended to a file even the XML header message is also getting appended. As a result the file data does not adhere to defined schema structure anymore.
Is there a way to save XML data in a file in append mode ?
Thanks, RizI am having the same issue as well, which makes the output XML an invalid one. I have an XSD that has a hierarchy of elements. whenever I am wiriting the child elements the header message & the name space is also getting written. For example
<?xml version="1.0" ?><Parent xmlns="http://testSchema.com/outputSchema">
<StartDate>01/01/2001</StartDate>
<EndDate>01/30/2001</EndDate>
<Child/>
</Parent>
<?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
<ns1:Id>20012981</ns1:Id>
<ns1:Value/>
<ns1:Date>01/15/2001</ns1:Date>
</Child>
<?xml version="1.0" ?><Child xmlns:ns1="http://testSchema.com/outputSchema">
<ns1:Id>20012981</ns1:Id>
<ns1:Value/>
<ns1:Date>01/15/2001</ns1:Date>
</Child>
I am using a onefile adapter partnerlink to write the parent & an another one for writing the child element, since the child elements will repeat more than once. One other way to fix this issue is write the data using java embedded activity, but that would need a lot of boiler plate code, for writing/reading/appending the same file & for handling all those IOexceptions & buffer IN/outs. I am curious if someone had the same issue & how they resolved it. -
It is necessary to create one header data for each file to be sent to CDFS.
hi GUYS
my sce anrio is FILE-XI-PROXY
REQUIREMENT IS
SOURCE FILE TARGET FILE WILL BE
H1 H1 H1 H1
I1 I1 I2 I3
I2 F1 F1 F1
I3
F1
It is necessary to create one header data for each file to be sent to TARGET. Each file will be related to only one SAP Company Code.
Thanks
NAGaa
-
How to write non-XML data to a file using an OSB FTP Routing?
Hi --
Situation ... I need to write non-XML data to a file using FTP. A proxy service retrieves XML and transforms it with XSLT to CSV format, then gives it to a Biz service to file it out, using FTP. Simple.
Problem ... OSB sends the contents of $body to any service it calls. Because $body is a SOAP document, it has to contain XML. So therefore I have to put my CSV data into an XML element, in order to put it into $body; and this inner element then gets written to the file, which I don’t want. But if I don't enclose my CSV content in a tag, I get "Unexpected CDATA encountered" trying to assign it to a variable.
There has to be away around this!
Thanks for your help.
John TaylorSolved. Steps:
-- Transform the XML to CSV using an XSL transform. Put the CSV data inside enclosing XML elements, and use a Replace action to put the XML element + CSV contents back into *$body*.
-- Define an MFL transform that only knows about the enclosing XML elements. Use a delimiter of "\n" (hard return).
-- Route from the proxy service to a Biz service that has Service Type = Messaging Service and Request Message Type = MFL; specify the MFL transform, which will receive the incoming *$body* variable, strip off the enclosing XML element within it, and pass the CSV contents to the FTP service.
Edited by: DunedainRanger on Nov 29, 2011 9:03 AM -
How to write xml data to a file
Hi all,
We have a requirement of writing the xml data into a file in given directory in the server. Generating the xml data using the sql query below.
SELECT XMLELEMENT ("ROW",
XMLELEMENT ("CELL", xmlattributes ('EBIZCZMDL_01' AS "colname"), inventory_item_id),
XMLELEMENT ("CELL", xmlattributes ('EBIZFFMT_01' AS "COLNAME"), attribute29),
XMLELEMENT ("CELL", xmlattributes ('COMMON' AS "COLNAME"),inventory_item_id || '' || attribute29 || 'ITM')
AS "RESULT") "XMLDATA"
FROM apps.mtl_system_items_b
When we try to write the the data from this query to a file using UTL_FILE.put_line, the script gives the error
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
If somebody can help us pls.......
Thanks in advanceHi Odie,
We are looking at the xml data to be like the below:
- <xref xmlns="http://xmlns.oracle.com/xref">
- <table name="NAPP_ITEM_ITEMID">
- <columns>
<column name="EBIZFFMT_01" />
<column name="COMMON" />
<column name="EBIZQOT_01" />
<column name="EBIZCZMDL_01" />
<column name="EBIZCZGOLD_01" />
</columns>
- <rows>
- <row>
<cell colName="EBIZFFMT_01">154</cell>
<cell colName="COMMON">154811809990111362727</cell>
<cell colName="EBIZQOT_01">81</cell>
<cell colName="EBIZCZMDL_01">91</cell>
<cell colName="EBIZCZGOLD_01">991</cell>
</row>
- <row>
<cell colName="EBIZFFMT_01">180</cell>
<cell colName="COMMON">180811809990111362727</cell>
<cell colName="EBIZQOT_01">871</cell>
<cell colName="EBIZCZMDL_01">731</cell>
<cell colName="EBIZCZGOLD_01">341</cell>
</row>
</rows>
</table>
</xref>
We have managed half way trying to get the structure. As we are new to this XML Programming.
The call to dbms_xslprocessor.clob2file is within the cursor loop for the given SQL.
DECLARE
l_file_name VARCHAR2 (30);
l_file_path VARCHAR2 (200);
CURSOR xml_cur
IS
SELECT XMLELEMENT
("ROW",
XMLELEMENT ("CELL",
xmlattributes ('EBIZCZMDL_01' AS "colname"),
inventory_item_id
XMLELEMENT ("CELL",
xmlattributes ('EBIZFFMT_01' AS "COLNAME"),
attribute29
XMLELEMENT ("CELL",
xmlattributes ('COMMON' AS "COLNAME"),
inventory_item_id || '' || attribute29 || 'ITM'
) AS "RESULT"
) "XMLDATA"
FROM apps.mtl_system_items_b
WHERE attribute29 IS NOT NULL;
BEGIN
l_file_path := '/usr/tmp';
l_file_name := 'TEST_XREF4.xml';
FOR xml_rec IN xml_cur
LOOP
dbms_xslprocessor.clob2file(xml_rec.XMLDATA, l_file_path, l_file_name, nls_charset_id('UTF8') );
END LOOP;
END;
Please see the above code snippet and help us if we are doing something wrong.
Thank you -
Do we have DT@RT APIs to create a REST data control
ADF has implemented REST data control in MAIN. I have some queries as follows .
1. What’s the security model it’s based on ?
2. Do we have DT@RT APIs to create a REST data control ?
Could you please provide some reference regarding above info ?Not sure what you are talking about, but if you are an Oracle employee you should ask this question on an internal forum!
Timo -
Creating Sample XML data to view Reports
Hi All,
I have the following:
RTF Report Templates
XML definition files - i.e. format
<parameters> parameter names = .... </parameters>
<dataQuery> Sql statement in here </dataQuery>
<dataStructure> element names... </dataStructure>
and translated xliff files for each reports.
What I want is to review each report to see what it looks like translated but to do this I need some sample xml data to populate the report (I dont have access to a live build).
Can anyone tell how I can create the sample xml data so I can review these reports. I have installed the BIP Reports server but have not been able to find a way of completing this.
Many thanks in advance for your help.Hello David
I refered your other posts on xsl fo style sheets for Purchase Orders.
Sorry for intervening you here..
I need some help in getting xml tags for PO releases.
When I refer metalink they gave me the following for Std PO.
Create a new Standard Purchase Order and DO NOT approve it. Let it be in Incomplete status. Go to
concurrent requests and run the 'PO Output for Communication' concurrent
program will the following parameters:
Print Selection: All
Purchase Order Number From: The PO # you just created
To: The PO # you just created
Test: Debug
May I know for PO releases what are additional parameters.I tried to enter release numbers in addition to the above.Bit it did not work,..
I am having issue in getting buyer contact phone for PO releases.So I am trying to see if the work_tele_phone is available for Po releases xml tags.
Can you please advise
prasanna -
Problem creating nested xml data using XSQLServlet
Hi,
This is sort of a sql question.
I'm trying to create a nexted xml data file.
The data in a rows format can be had using the
following query...
SELECT username, portlet_name, count(instance_name) as
INSTANCE_COUNT
FROM portlet_user_subscriptions
GROUP BY username, portlet_name
to get is back in a hierrachical format, I tried the
following...
SELECT distinct(username) as USERNAME,
CURSOR (
SELECT portlet_name, count(instance_name) as
NUM_INSTANCES
FROM portlet_user_subscriptions T2
WHERE T2.username=USERNAME
GROUP BY portlet_name ) AS PORTLETS
FROM portlet_user_subscriptions T1
But, that is running the CURSOE for every username in the
other loop when it should be doing it only for distinct
usernames.
What am I doing wrong here...
cheers,
VijayHow you store the data in the database?
Basically, you can query the database with XSQL(<xsql:query/>)
to get the output in XML. Then you can use XSLT to transform it
to the format you want.
<?xml-stylesheet type="text/xsl" href="doyouxml.xsl" ?>
...
Maybe you are looking for
-
Flash Video created in 8 Stuttering, how do I fix this
Any advice would be appreciated! I imported Quicktime video files into Flash 8 Encoder and created FLV/SWF files for web viewing. The videos are now stuttering- they play then stop, play then stop. repeatedly. Can anyone suggest a different encoding
-
Loading date in outbound delivery
In my scenario, the product line they made a good receive in this month. Actually, the order have been completed in last month. In the outbound delivery document, i have to input the last month for loading date. But it caused error. How can i do that
-
Can Any one help me in finding the cause of following error 16:18:27,565 INFO [PipelineManager] DEBUG Cancel Link Transaction 16:18:27,565 INFO [PipelineManager] DEBUG Transaction is TX_MANDATORY 16:18:27,565 INFO [PipelineManager] DEBUG Setting t
-
Interactive Script - Adding new fields
Hi all, Can some one tell me as to how to add new fields to Interactive script ? My requirement is to add a field "Registration" in the interactive script. I do not see the field in the list as of now.
-
Load the External text and css file for more frames
hello.. I created one Movie file. In that I load the External text and css file in first frame and display the first variable value in one text box. And then in 2nd frame I use another one text field and display the 2nd variable value like tha