XSQL: How to embed the XML document(s) instead of posting?
Dear all.
I'm trying to use XSQL for a self-contained database schema setup. This setup should be able to handle DML (INSERT/UPDATE/DELETE), PL/SQL calls etc and I thought XSQL looks perfect for the job. As such, I wouldn't be using XSQL as a publishing framework but as kind of an ETL tool. The only output I would be interested in would be the xsql-status in order to check that the number of rows processed matches my expectations. I would prefer XSQL to run entirely within the database and not depend on any servlet container.
However, it seems that XSQL's only way of obtaining the canonical XML (ROWSET/ROW) that is used by xsql:insert-request/xsql:update-request/xsql:delete-request is through HTTP POST/GET. It doesn't seem that it's possible to embed the XML directly in the page, nor does it seem possible to handle more than one XML.
I'm trying to achieve something like this:
<?xml version="1.0"?>
<page connection="scott" xmlns:xsql="urn:oracle-xsq">
<xsql:insert-request table="DEPT">
<ROWSET>
<ROW>
<DEPTNO>-10</DEPTNO>
<DNAME>NEW DEPT 1</DNAME>
<LOC>COPENHAGEN</LOC>
</ROW>
<ROW>
<DEPTNO>-20</DEPTNO>
<DNAME>NEW DEPT 2</DNAME>
<LOC>LONDON</LOC>
</ROW>
</ROWSET>
</xsql:insert-request>
<xsql:insert-request table="EMP">
<ROWSET>
<ROW>
<EMPNO>-10</EMPNO>
<ENAME>NEW EMP 1</ENAME>
</ROW>
<ROW>
<EMPNO>-20</EMPNO>
<ENAME>NEW EMP 2</ENAME>
</ROW>
</ROWSET>
</xsql:insert-request>
</page>
or perhaps
<?xml version="1.0"?>
<page connection="scott" xmlns:xsql="urn:oracle-xsq">
<request>
<parameters>
<dept>
<ROWSET>
<ROW>
<DEPTNO>-10</DEPTNO>
<DNAME>NEW DEPT 1</DNAME>
<LOC>COPENHAGEN</LOC>
</ROW>
<ROW>
<DEPTNO>-20</DEPTNO>
<DNAME>NEW DEPT 2</DNAME>
<LOC>LONDON</LOC>
</ROW>
</ROWSET>
</dept>
</parameters>
</request>
<xsql:insert-request table="DEPT" param="dept"/>
<xsql:insert-request table="EMP" param="emp"/>
</page>
I need both INSERT/UPDATE/DELETE so xsql:insert-param isn't enough, would also need an xsql:update-param and xsql:delete-param.
A way of referring to the canonical XML through an URI or XPath expression (referring to a registered XML document in the database) would also be cool.
Perhaps implementing custom action handlers would work but not sure whether they'll be able to refer to any child XML elements within them? Furthermore, the syntax for these would also be slightly inconvenient:
<xsql:action handler=com.ellebaek-consulting.xsql.InsertActionHandler" table="DEPT">
My alternative would be to re-implement an extended version of XSQL (XSQLX :-)?) but I'm trying to avoid that.
Any pointers and ideas are very much appreciated.
Thanks in advance.
Best regards
Finn Ellebaek Nielsen
Hi.
Thanks for your reply but the article only talks about how to query data with XSQL and I need to INSERT/UPDATE/DELETE data embedded in XSQL pages into the database so I'm afraid that the article doesn't apply.
Cheers
Finn
Similar Messages
-
How to embed the Word Document and PDF file into Crystal report?
How to embed the Word Document and PDF file into Crystal report?
I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
Is there any solution to show word doc / PDF file in CR?Symptom :
When embedding a pdf document into a Crystal Report, only the one page shows.
Reproducing the Issue
Environment:
Crystal Reports OLE object
Cause
An OLE object only displays the first page.
Resolution
Embed multiple objects, one for each page
Or
Use a hyperlink to the object instead
Hope this helps!
Regards,
Vinay -
How to keep the XML document in javadocs
Hi,
I have a class with javadocs containing <?xml....> ... </xml> document in it. I have tried to use <pre> to keep the structure. When javadoc is run it strips all the XML tags. Is it possible to keep these lines as is and not being interpreted?
Thanks,
-AshishHello,
try to use <pre> and </pre> html tag around your XML document, and in your XML document change the < and > by their html special codes
Merc?. -
Servlets and XML - How to Parse the XML Document?
I would like to create a servlet, which when accessed, will retrieve an
XML file remotely over the Internet, and parse it to the browser's
screen.
Can anyone point to example code that will help me along?
Thanks.Cross post:
http://forum.java.sun.com/thread.jspa?threadID=5114779&messageID=9391940#9391940 -
How to find the XML file size in the scenarios?
Hi All,
Recently i have attended an interview at a MNC.
They asked some realtime questions like
1.how to find the XML document size in a File-File scenario?
2.What is mass-assignment replication etc.....
Can anybody tell me the solution for these.
Best regards
Hari prasadIf the input is a flat file, there is no exact way to calculate the size of the generated XML file, since it depends on many factors (number of fields in the recordsets, size of the name of the fields, number of records, etc).
As a rule of thumb, generally ppl use XML file size = 2 x Flat file size, in order to do sizing calculations etc. But again, that is just an estimation, not a precise calculation.
Regards,
Henrique. -
How to Create an XML document from XSQL servlet which follows a particular DTD struct
how to Create an XML document from XSQL servlet which follows a particular DTD structure.Could anyone send me a sample code for this.
You'll need to associate an XSLT transformation with your XSQL page that transforms the canonical result into your DTD-valid format.
For example, given an XSQL page like:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="rss.xsl" ?>
<xsql:query max-rows="3" connection="demo" xmlns:xsql="urn:oracle-xsql">
select title,id,description,url,to_char(timestamp,'Mon DD') timestamp
from site_entry
order by id desc
</xsql:query>and an "rss.xsl" stylesheet that looks like this:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" doctype-system="rss-0.91.dtd"/>
<xsl:template match="/">
<xsl:for-each select="ROWSET/ROW">
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
<xsl:for-each select="ITEM">
<item>
<title><xsl:value-of select="TITLE"/></title>
<link><xsl:value-of select="URL"/></link>
<description><xsl:value-of select="DESCRIPTION"/></description>
</item>
</xsl:for-each>
</channel>
</rss>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>You produce DTD-valid output against the rss-0.91.dtd DTD that looks like:
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE rss SYSTEM "rss-0.91.dtd">
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss>
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss>
<rss version="0.91">
<channel>
<title>Do You XML?</title>
<link>http://xml.us.oracle.com</link>
<description>Oracle XML Website Demo</description>
<language>en-us</language>
</channel>
</rss> -
How to flow the xml in a document?
pls,anyone guide me,how to flow the xml in a document?
thanks,
screen410099Hi computerflowers,
You can set the document language in Acrobat: File > Properties > Advanced tab > Language drop down box under Reading Options. This informs screen readers (for example) what language the document is written in.
I am not sure that is what you are looking for though. If I am steering you wrong please follow up.
a 'C' student -
HOW TO: Use the XML parser in Oracle 8.1.7
I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.
You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
Both of these are included in XDK for Java at:
http://otn.oracle.com/tech/xml/xdk_java
The following document could also help:
Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html -
How can I access xml document from javascript whithin a JSP page
how can I access xml document from javascript whithin a JSP page?
I have a JSP that receives an XML document from a JavaBean, so I can access it within the entire JSP, but I need to access it from the javascript inside the JSP... and I have no idea how i can do this.
Thanks in advance!The solution would only work on MS IE browsers, as other browsers do not support an XML DOM.
It can be done, but you would be stuck with using the Microsoft broswer. If that is acceptable, I have some example code, and a book recommendation. -
How to create an XML document from a String.
Can anyone help,
In the Microsoft XML Document DOM there is a load function load(string) which will create an XML document, but now we are switching to Java and I do not know how to create and XML document from a string, this string �xml document� is passed to my program from a webservice and I need to read several xml elements form it in a web server.
This string is a well formatted XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Countries NumberOfRecords="1" LanguageID="en-us">
<Country>
<CountryCode>AU</CountryCode>
<CountryName>AUSTRALIA</CountryName>
</Country>
</Countries>Thanks PC!
I made it work using:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
factory.setIgnoringComments(true); // We want to ignore comments
// Now use the factory to create a DOM parser
DocumentBuilder parser = factory.newDocumentBuilder();
//TransformThisStringBuffer is a string buffer wich contain the 'XML document (String)'
InputStream in = new ByteArrayInputStream(TransformThisStringBuffer.toString().getBytes());
// Parse the InputStream and build the document
Document document = parser.parse(in);
But which one is faster InputSource or InputStream, were would you put the "new InputSource(new StringReader(yourString))" in the above code? -
String representation of the xml document
hi, I have created the following xml document using the DOM api. I want to the "function" to return a "string" - which represents the xml document i created. How do u do that?
As of now it doesnt return anything...
How do u return the entire xml document as character data..? just like
<root><elements>data</elements></root>....
anyhelp would be great.
import java.io.*;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.*;
public class test1{
private static void function()throws IOException, DOMException{
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance ();
DocumentBuilder db = dbf.newDocumentBuilder ();
Document doc = db.newDocument ();
Element record = doc.createElement ("record");
Element name = doc.createElement ("name");
Element address = doc.createElement ("address");
Element zip = doc.createElement ("zip");
Text nameText = doc.createTextNode("bill");
Text addressText = doc.createTextNode("128, washington");
Text zipText = doc.createTextNode("10000");
doc.appendChild(record);
record.appendChild(name);
name.appendChild(nameText);
record.appendChild(address);
address.appendChild(addressText);
record.appendChild(zip);
zip.appendChild(zipText);
public static void main (String argv [])throws Exception {
function();
}Brent,
Looks like you're using the Sun Java Parser. I'll show you how to do it with the Oracle XML Parser and you can extrapolate...
Document doc = new XMLDocument();
// Stuff here to build up the DOM Doc
// with elements, etc.
// Print the Document to a String
StringWriter sw = new StringWriter();
// Wrap the stringwriter in a printwriter
PrintWriter pw = new PrintWriter(sw);
// Print to the printwriter
((XMLDocument)doc).print(pw);
// return the string from the stringwriter
return sw.toString(); -
How to write an xml Document to a flat file using JAVA....
Can any one help me out.....
How to write a XML Document to the current filesystem using JAVA....
without using com.sun.xml.tree.*....
Document xmlDoc;
Node rows = (Node) xmlDoc.createElement("ROWS");
xmlDoc.appendChild(rows);
and i have to write this xmlDoc to a file called(abc.xml) for further use...Have you considered using JDOM? ( www.jdom.org )
The XMLOutputter class can write the Document to a file. ( The Document however will be an org.jdom.Document object ).
If you are weary of a new API, you could just create a new File object called abc.xml and stream the data from the XML Document you have to this new File object. -
How to traverse the XML tree.
hi ,
i would like to know if there is a sample code snippet
showing how to walk through the Document object tree
generated by the DOM parser for a given XML input.
Thanks.
Sandeep.
nullsandeep (guest) wrote:
: hi,
: can you please tell as to where is the selectNodes() method
: defined. I could not locate it.
: Thanks.
: Sandeep.
: Oracle XML Team wrote:
: : Sandeep (guest) wrote:
: : : hi ,
: : : i would like to know if there is a sample code snippet
: : : showing how to walk through the Document object tree
: : : generated by the DOM parser for a given XML input.
: : : Thanks.
: : : Sandeep.
: : Take a look at the selectNodes() method. It takes XPath
syntax
: : to navigate through the XML document.
: : Oracle XML Team
: : http://technet.oracle.com
: : Oracle Technology Network
selectNodes() is part of oracle.xml.parser.v2.XMLNode. You can
find any method by opening AllNames.html in the doc directory.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
The XML document builds on itself when called twice. Help!!!
When I run the Sample program for the Oracle classgen for Java
the XML document node repeats itself when called the second
time. This is what I mean:
import oracle.xml.classgen.*;
import oracle.xml.parser.*;
public class TestWidl
static WIDL w1 = new WIDL();
public static void main (String args[])
test();
test();
static void test ()
try
DTD dtd = w1.getDTDNode();
w1.setNAME("WIDL1");
w1.setVERSION(WIDL.VERSION_1_0);
SERVICE s1 = new SERVICE("Service1", "Service_URL");
s1.setINPUT("File");
s1.setOUTPUT("File");
BINDING b1 = new BINDING("Binding1");
b1.setTYPE(BINDING.TYPE_INPUT);
BINDING b2 = new BINDING("Binding2");
b2.setTYPE(BINDING.TYPE_OUTPUT);
VARIABLE v1 = new VARIABLE("Variable1",
VARIABLE.NULLOK_FALSE);
v1.setTYPE(VARIABLE.TYPE_STRING);
v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
v1.setVALUE("value");
VARIABLE v2 = new VARIABLE("Variable2",
VARIABLE.NULLOK_TRUE);
v2.setTYPE(VARIABLE.TYPE_STRING1);
v2.setUSAGE(VARIABLE.USAGE_HEADER);
VARIABLE v3 = new VARIABLE("Variable3",
VARIABLE.NULLOK_FALSE);
v3.setTYPE(VARIABLE.TYPE_STRING2);
v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
v3.setMASK("mask");
CONDITION c1 = new CONDITION("CRef1", "CMatch1");
c1.setSERVICE("Service1");
c1.setTYPE(CONDITION.TYPE_SUCCESS);
CONDITION c2 = new CONDITION("CRef2", "CMatch2");
c2.setTYPE(CONDITION.TYPE_RETRY);
CONDITION c3 = new CONDITION("CRef3", "CMatch3");
c3.setSERVICE("Service3");
c3.setTYPE(CONDITION.TYPE_FAILURE);
REGION r1 = new REGION("Region1", "Start", "End");
b1.addNode(r1);
b1.addNode(v1);
b1.addNode(c1);
b1.addNode(v2);
b2.addNode(c2);
b2.addNode(v3);
w1.addNode(s1);
w1.addNode(b1);
w1.addNode(b2);
w1.validateContent();
w1.print(System.out);
catch (Exception e)
System.out.println(e.toString());
e.printStackTrace();
The XML output looks like this:
First Call to test():
<?xml version = '1.0' encoding = 'ASCII'?>
<!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
<WIDL NAME="WIDL1" VERSION="1.0">
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
</WIDL>
Second Call to test:
Please note how service1 repeats itself. I would expect that
the XML string would look like the first output:
How can I fix this??
<?xml version = '1.0' encoding = 'ASCII'?>
<!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
<WIDL NAME="WIDL1" VERSION="1.0">
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
</WIDL>
Any Help is appreciated.
Hector.
nullHector Miranda (guest) wrote:
: When I run the Sample program for the Oracle classgen for Java
: the XML document node repeats itself when called the second
: time. This is what I mean:
: import oracle.xml.classgen.*;
: import oracle.xml.parser.*;
: public class TestWidl
: static WIDL w1 = new WIDL();
: public static void main (String args[])
: test();
: test();
: static void test ()
: try
: DTD dtd = w1.getDTDNode();
: w1.setNAME("WIDL1");
: w1.setVERSION(WIDL.VERSION_1_0);
: SERVICE s1 = new SERVICE("Service1", "Service_URL");
: s1.setINPUT("File");
: s1.setOUTPUT("File");
: BINDING b1 = new BINDING("Binding1");
: b1.setTYPE(BINDING.TYPE_INPUT);
: BINDING b2 = new BINDING("Binding2");
: b2.setTYPE(BINDING.TYPE_OUTPUT);
: VARIABLE v1 = new VARIABLE("Variable1",
: VARIABLE.NULLOK_FALSE);
: v1.setTYPE(VARIABLE.TYPE_STRING);
: v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
: v1.setVALUE("value");
: VARIABLE v2 = new VARIABLE("Variable2",
: VARIABLE.NULLOK_TRUE);
: v2.setTYPE(VARIABLE.TYPE_STRING1);
: v2.setUSAGE(VARIABLE.USAGE_HEADER);
: VARIABLE v3 = new VARIABLE("Variable3",
: VARIABLE.NULLOK_FALSE);
: v3.setTYPE(VARIABLE.TYPE_STRING2);
: v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
: v3.setMASK("mask");
: CONDITION c1 = new CONDITION("CRef1", "CMatch1");
: c1.setSERVICE("Service1");
: c1.setTYPE(CONDITION.TYPE_SUCCESS);
: CONDITION c2 = new CONDITION("CRef2", "CMatch2");
: c2.setTYPE(CONDITION.TYPE_RETRY);
: CONDITION c3 = new CONDITION("CRef3", "CMatch3");
: c3.setSERVICE("Service3");
: c3.setTYPE(CONDITION.TYPE_FAILURE);
: REGION r1 = new REGION("Region1", "Start", "End");
: b1.addNode(r1);
: b1.addNode(v1);
: b1.addNode(c1);
: b1.addNode(v2);
: b2.addNode(c2);
: b2.addNode(v3);
: w1.addNode(s1);
: w1.addNode(b1);
: w1.addNode(b2);
: w1.validateContent();
: w1.print(System.out);
: catch (Exception e)
: System.out.println(e.toString());
: e.printStackTrace();
: The XML output looks like this:
: First Call to test():
: <?xml version = '1.0' encoding = 'ASCII'?>
: <!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
: <WIDL NAME="WIDL1" VERSION="1.0">
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: </WIDL>
: Second Call to test:
: Please note how service1 repeats itself. I would expect that
: the XML string would look like the first output:
: How can I fix this??
: <?xml version = '1.0' encoding = 'ASCII'?>
: <!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
: <WIDL NAME="WIDL1" VERSION="1.0">
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: </WIDL>
: Any Help is appreciated.
: Hector.
Move
WIDL w1 = new WIDL();
out of test() and modify it as
public class TestWidl
static WIDL w1 = new WIDL(); ...
and this will work.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
How to save the XML converted data to App server
Hello All,
DATA : ITAB TYPE TABLE OF SPFLI,
L_XML TYPE REF TO CL_XML_DOCUMENT.
SELECT * FROM SPFLI INTO TABLE ITAB.
CREATE THE XML OBJECT
CREATE OBJECT L_XML.
CONVERT THE DATA TO XML
CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
CALL METHOD L_XML->DISPLAY.
i had used the sample code to display the internal table data to XML. but i need to save the converted XML data to my applicaiton server.. how can i do it.. any clues pleaseAny clues/help appreciated
Maybe you are looking for
-
All settings lost on Mail and Safari
I walked away from my computer for about 10 minutes, and when I came back to check my email, I found that all my account settings were reset, and all my bookmarks, etc. gone in Safari. Any ideas why this would happpen? I am in New England with this b
-
This issue ocurred when we were trying to Upgrade our OIM to version 11.1.1.5. The installation of all the suites went fine(Oracle IDAM 11.1.1.5 and SOA Suite 11.1.1.5). The domain is also created and schemas are also upgraded. But when we create a d
-
How to avoid having to accept the same outlook invitation in iCal on both my iPad and my MBP?
Hi all, I manage my agenda on both my MBP that I use at work, as my iPad. On both I sync with the outlook agenda that is used at work. All fine, except for one annoying thing: when work invitations are send from outlook, they rightfully appear as inv
-
I opened a spreadsheet that was made a few weeks ago and added more data. I tried to sort all of the data together but my sort button was missing!!!!
-
How can i unlock iphone 4G from japan to use jn nepal
How can i unlock iphone 4G from japan to use jn nepal??