FOP and XSQL

Hi,
i'm trying to use fop with xsql.
When i execute the sample emptable.xsql i receive the following error message :
XSQL-017: Unexpected Error Occurred
java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
at oracle.xml.xsql.serializers.XSQLFOPSerializer.serialize(XSQLFOPSerializer.java:50)
at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java, Compiled Code)
at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
at org.apache.jserv.JServConnection.run(JServConnection.java:290)
at java.lang.Thread.run(Thread.java:479)
i work with the 0.18.1 version of fop, the db is the 9i version and the xsqlserializer is take from the release candidate 1 of jdeveloper. I try with all version of fop, but i don't have success.
Which is the right configuration of all components to work correctly with fop ?
Thanks,
Stefano.

I'm using the XSQL servlet 9.2.0.2.0 and FOP 0.20.3. But you have to write your own FOPSerializer. I foun this source here in the forum:
import org.w3c.dom.Document;
import java.io.PrintWriter;
import oracle.xml.xsql.*;
import org.apache.fop.apps.*;
import org.apache.log.*;
import org.apache.log.format.*;
import org.apache.log.output.io.*;
import org.apache.avalon.*;
import java.io.*;
public class XSQLFOP203Serializer implements XSQLDocumentSerializer {
private static final String PDFMIME = "application/pdf";
private static final String CONFPATH = "/usr/local/fop/conf/userconfig.xml";
public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
try {
// Open user config file
File userConfigFile = new File(CONFPATH);
Options options = new Options(userConfigFile);
// First make sure we can load the driver
Driver FOPDriver = new Driver();
// Setup logging
Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
PatternFormatter formatter = new PatternFormatter("[%{priority}]: %{message}\n%{throwable}" );
LogTarget target = null;
target = new StreamTarget(System.out, formatter);
hierarchy.setDefaultLogTarget(target);
Logger log = hierarchy.getLoggerFor("fop");
log.setPriority(Priority.INFO);
FOPDriver.setLogger(log);
// Then set the content type before getting the reader/
env.setContentType(PDFMIME);
FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
FOPDriver.setOutputStream(env.getOutputStream());
FOPDriver.render(doc);
catch (Exception e) {
// Cannot write PDF output for the error anyway.
// So maybe this stack trace will be useful info
e.printStackTrace(System.err);
Hope this helps.
Uwe

Similar Messages

  • FOP and XSQL problem

    Hi All
    I am using XDK 10 and FOP 20.5, see my previous post - it all works fine.
    However I have found a weird thing and that is that the .xsql file is executed twice when using FOP, but only once when using a normal XSLT stylesheet.
    Anyone else noticed that?
    TIA
    Richard

    I figured out the problem. The version of Acrobat Reader 6.0 that I am using seems to load the document again if it does not display properly the first time round. I have got XSQL file caching on, but I disabled caching on my browser. This effectively overrides the XSQL file caching of the xsql servlet.
    Regards
    Richard

  • Oracle's XML Publisher in JDeveloper and XSQL Servlet

    A While ago, in this thread JDeveloper 10g, XSQL and FOP , was mentioned an ongoing effort for the "integration of Oracle's XML Publisher in JDeveloper and XSQL Servlet", Is this still happening ?, will this be something will be able to use without having to be an Oracle Apps shop? Any additional info would be appreciated.

    Hi,
    is there any progress about XML publisher integration with JDeveloper. I'm right now examining XML publisher but there is no explicit directions and explanations of using XML publisher with jdeveloper.
    any news !?
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Apache FOP and encoding

    Hi,
    I'm using FOP as reports PDF renderer, but experience a problem:
    The document is rendered correctly from HTMLDB (I can read the XML, it's UTF-8 encoded).
    The JSP file has enconding conversion set to UTF-8 as well.
    When the document returns from FOP the national characters has been replaced...
    Does anyone know how to set this up? (Until now I used the examples included with the download).
    Regards,
    Henrik Neumann

    Hello,
    Most likly the problem is that you do not have the proper fonts in your environment to render those fonts. I know there is a way to do it but I don't know how off the top of my head. Look on google for FOP and fonts and you should fond something pretty quick.
    Here's something I found real quick. http://xmlgraphics.apache.org/fop/fonts.html
    Remember google is your friend.
    Carl

  • Running IIS, JRUN233, and xsql

    I am new to both JRUN and xsql. I couldn't the configuration for JRUN in the XSQL Servlet doc. Can someone post the configuration on JRUN in order to run xsql?
    Thanks.
    null

    I am new to both JRUN and xsql. I couldn't the configuration for JRUN in the XSQL Servlet doc. Can someone post the configuration on JRUN in order to run xsql?
    Thanks.
    null

  • Problem in IAS Server with generation of PDF with FOP and XML parsing

    Dear co.forumers :
    We are developing an application that generates a pdf document with FOP Apache utilities, and this PDf is stored in a folder of the server. Firts of all, a DDBB data is retrieved using java ( jdbc) middleware classes ( servlets ), and with these data, the pdf is generated using FOP. In these process, he data retrieved from the DDBB is converted in a XML file , and the with the XSL FOP utility, the pdf is generated.
    In the other hand, we have another application that consults data from a java beans, using a JSP, generates a XML with the data of the beans, and with this XML, and with a XSL file generates and html , with the data and fixed text.
    Both applications have been deployed as a separated WebApp in the IAS. Both use Xalan as XML parser amb Xerces is used aswell.
    So, the problem is , after generating a pdf with the firts application, every html generated via JSP-XML-XSL transformation in the second application is shown completelly bad formated. All fixed text are wrongly composed, and the text that should appear in textFields and ComboBoxes is also bad formated. The XML with the data is well generated, so the problem is in the parsing of these XML and the conversion in html through XSL. We have to re-initiate the server and then everything goes well again. If no pdf is launched, no problem occurs with the other application.
    How an a WEB APP pplication can affect to another, installed both in different folders of the IAS ? We tried to change Xalan version and FOP version, but no result.
    Is this a Poltergeist ?? and X file , maybe ?
    Has anyone had the same problem ?
    Pleae, any help will be very wellcomed.

    A PDF document may be generated in the JDeveloper OC4J server.
    http://www.oracle.com/technology/pub/notes/technote_vohra_fop.html

  • PDF PRINTING using Apache FOP and Oracle Containers for J2EE

    Hi,
    I am having major confusion about the pdf printing in Oracle XE and Apex 3.1.2.00.02
    It clearly states that this is an available option on the Oracle website.
    According to Apex there are two options for printing report regions.
    Standard - which is free
    Advanced - which uses BI and requires a licence
    Standard requires me to have Apache FOP (which is provided by Oracle in the Apex release) and Oracle Containers for J2EE (OC4J)
    Where my understanding of all this falls down is the part where I am downloading the Oracle Containers for J2EE and the license agreement states this cannot be used in a production system (only as a protptype). Can anyone clarify this? This is surely a required componenet and for the standard report printing which is supposed to be free.
    My problem is that I need to have a database system on a laptop that will go off site for a number of weeks. We need report printing options.
    Can anyone help with this. im desperate.
    Kind regards
    colin mclay

    no not yet with Application Server.
    I have tried to compare the settings to another installation with a separeted oc4j as described in the howto. But at the moment i found no mistakes.
    If i call the url adresse like:
    http://localhost:18101/fop/apex_fop.jsp
    i get:
    500 Internal Server Error
    Servlet error: java.lang.ClassNotFoundException: fop.apex__fop
    I installed it another time with these settings:
    Web Anwendung= .../fop.war (selected war file from apex install directory)
    Anwendungsname= fop
    URL zuordnen= /fop
    I would like to know if its possible to use the fop.war out of apex install directory with the Application server? In the standalone version (as described in howto) it works. But if you install it there you don't need to define an URL.
    Is the URL /fop correct or what do i have to insert there?

  • Apache fop and localization

    There is probably not much of a chance to get an answer but still I'll try. During conversion of an xls-fo file into pdf all cyrillic symbols get screwed (replaced with #). There is a guide on how to embed fonts via the configuration file. However if you follow the procedure an exception is thrown (here are the top 3 lines)
    org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)
    org.apache.fop.render.PrintRendererConfigurator.getFontInfoFromConfiguration(PrintRendererConfigurator.java:265)
    org.apache.fop.render.PrintRendererConfigurator.buildFontListFromConfiguration(PrintRendererConfigurator.java:207)If you google it then it says that replacing the fop library with an older version solves the problem (I guess it means it could be some bug). It's true that the exception disappears but 1. the older library is inconsistent with other libraries (like jeuclid) and 2. the cyrillic symbols are not displayed anyway (may be b/c there is some problem with the fonts file).
    Anyway my point is that I am now completely lost about how to add support for non-English symbols in fop. If anyone has some experience to share then it is very much appreciated. Another thing is that I have basically no knowledge on how font support works in java. If there is some information that should be known then directing to it is also greatly appreciated.

    javiator wrote:
    If you google it then it says that replacing the fop library with an older version solves the problem (I guess it means it could be some bug). It's true that the exception disappears but 1. the older library is inconsistent with other libraries (like jeuclid) and 2. the cyrillic symbols are not displayed anyway (may be b/c there is some problem with the fonts file).
    What makes you think that your current environment would display them correctly even if they were there? That should be the first step to verify.
    But anyways if you find a solution and it is a matter of incompatible libraries then you can solve it with a custom class loader.

  • OC4J, fop, and 11g

    I see some post on this though nothing is totally clear.
    I need to enable PDF printing.
    I am using the HTTP Server downloaded from Oracle
    I am going to install the latest version of oc4j since the default looks like 10.1.3.0 instead of 10.3.1.x.
    Has anyone had success with this?

    Marc,
    Thanks for the reply.
    I was able to do somethings to see if the installation was operational.
    I entered into a browser
    http://myserver:8080/ and the XDB server asked for a login. This is where Apex 3.1 resides on the 11g installation.
    I also put in http://myserver:8080/f?p:202:9003:sesionid:FLOW_XLMP_OUTPUT_R4541901588105877_en-us
    I had to sign into the application and the File Download box appeared. I clicked Save and get the 404 Not Found error.
    I looked at the Shared Components>Report Layouts and there are no layouts. Is the base template missing?
    I created a template and selected it in the Report Layout of the Print Attributes and the same error was written to the output file.
    I wonder if there is a permissions issue with the FOP installation. Is that possible? Is there a way to check? I assume Annonymous needs to have r/w permissions to whatever directories are being used by FOP.
    TIA,
    Sam

  • XSL and XSQL

    I am querying a database with XSQL and then returning the results in XML which is interpreted by an XML-stylesheet. The stylesheet is used to convert the xml to html. I have trouble however putting the output from my sql query into the value fields of my xsl-html-to-be document. For example:
    <select id="logname" name="LOG_NAME" size="1">
    <xsl:for-each select="ROWSET/ROW">
    <option value="FOO"><xsl:value-of select="LOG_NAME"/></option></xsl:for-each>
    </select>
    I would like this value FOO to be the same as what is being displayed, which in this case is the LOG_NAME. I tried to set the value to
    <option value = "<xsl:value-of select="LOG_NAME"/>"> however that does not work since the xsl gives me a problem saying that cannot have < after the value = ...
    Is there a way to do this. I tried {,( and nothing works.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patrycja,
    if I understood right, I think this could be helpful:
    <select id="logname" name="LOG_NAME" size="1">
    <xsl:for-each select="ROWSET/ROW">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="LOG_NAME" />
    </xsl:attribute>
    <xsl:value-of select="LOG_NAME"/>
    </option>
    </xsl:for-each>
    </select>
    Try it and let me know if it doesn't work
    regards,
    federico
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Patrycja Missiuro ([email protected]):
    I am querying a database with XSQL and then returning the results in XML which is interpreted by an XML-stylesheet. The stylesheet is used to convert the xml to html. I have trouble however putting the output from my sql query into the value fields of my xsl-html-to-be document. For example:
    <select id="logname" name="LOG_NAME" size="1">
    <xsl:for-each select="ROWSET/ROW">
    <option value="FOO"><xsl:value-of select="LOG_NAME"/></option></xsl:for-each>
    </select>
    I would like this value FOO to be the same as what is being displayed, which in this case is the LOG_NAME. I tried to set the value to
    <option value = "<xsl:value-of select="LOG_NAME"/>"> however that does not work since the xsl gives me a problem saying that cannot have < after the value = ...
    Is there a way to do this. I tried {,( and nothing works.[/b]<HR></BLOCKQUOTE>
    null

  • FOP and oracle parser

    Hi
    i developed a web application that takes an xml file which the user specifies and after validating it the application uses FOP to produce a PDF file. But the problem is that by default oc4j uses oracle.xml.parser.v2 parser but FOP need xerces. How can i override the usage of oracle's xml parser.
    Please help because i spent quite some time on this project and this is the problem i almost at the end of the project run it to.
    thanks,
    mate

    I did that allready and stil my NullPointerException printout looks like this:
    java.lang.NullPointerException
         void oracle.xml.jaxp.JXTransformer.reportXSLException(oracle.xml.parser.v2.XSLException)
              JXTransformer.java:762
         void oracle.xml.jaxp.JXTransformer.transform(javax.xml.transform.Source, javax.xml.transform.Result)
              JXTransformer.java:335
         void oracle.xml.jaxp.JXTransformerHandler.endDocument()
              JXTransformerHandler.java:135
         void oracle.xml.parser.v2.NonValidatingParser.parseDocument()
              NonValidatingParser.java:269
         void oracle.xml.parser.v2.XMLParser.parse(org.xml.sax.InputSource)
              XMLParser.java:147
         void oracle.xml.jaxp.JXXMLFilter.parse(org.xml.sax.InputSource)
              JXXMLFilter.java:91
         void org.apache.fop.apps.Driver.render(org.xml.sax.XMLReader, org.xml.sax.InputSource)
              Driver.java:498
         void srcsi.pdf.PDFPrikazAction.renderXML(org.apache.fop.apps.XSLTInputHandler, javax.servlet.http.HttpServletResponse)
              PDFPrikazAction.java:135
         org.apache.struts.action.ActionForward srcsi.pdf.PDFPrikazAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              PDFPrikazAction.java:95
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:484
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:274
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1482
         void org.apache.struts.action.ActionServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:525
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:760
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void FilterEncoding.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              FilterEncoding.java:22
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:560
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484

  • FOP and float

    Hi All,
    I've just started looking into using FOP for generating PDFs from classes in my java code.
    I first had a go with the Apache's FOP engine. The problem I had with this one is that the Float attribute is not yet implemented in this engine.
    What im trying to do is to "float" an image on the left hand side and have some text/image aligned next to it (Im trying to do things you normally do when using float).
    My questions is:
    * Are there any other way to achieve what float does, providing you are using the Apache Fop Engine.
    Next task for me is to generate a table of content. Still haven't looked into that and I don't know to what extent Apache supporting this.
    Ps. I know that RendeX has got a really nice FOP Engine, which implements all of the attributes(i think) from the XSL1.0 spec. However, this product doesn't come too cheap.
    Thanks for any suggestions,
    Erik

    Heheh
    Sorry, Well I did find it (but using altavista :) )
    Anyway, You don't know any workarounds for floating text around an image using Apache?
    The problem is that I need to have text align next to a logo. This must be problem more people are facing when they are using Apache.
    Cheers
    Erik

  • Webservices and XSQL

    Hi!
    I have a question: I would like to use Oracle's XSQL servlet. I have a .xsql file
    which calls a function and returns a data in XML format. Now how can I use this
    in weblogic using webservices?
    Anybody has an idea?
    Thanks in advance
    ..Madhuri

    Currently, WebLogic Web Services only use Stateless Session EJBs (for RPC-style)
    and JMS destinations (for Message-style). You can, of course, deploy other Web
    Service Platforms (i.e. Apache SOAP, GLUE, WASP, etc.) on WLS 6.1 and use them
    ;-) They usually support using POJOs (Plain Old Java Objects) as Web service implementations.
    Is there some reason why you just aren't using the XSQL stuff by itself? It seems
    to be designed specifically for making SQL queries over HTTP, using XML ;-) Why
    do you need to create a Web service to "front-end" this capability? Seems like
    extra overhead (i.e. SOAP message processing, etc.) with no real "value-added",
    if you know what I mean ;-) Is it because you want (or need) to introduce a "layer"
    or facade pattern for XSQL, or something?
    Regards,
    Mike Wooten
    "Madhuri" <[email protected]> wrote:
    >
    Hi Mike!
    Thanks for the help. Is there any other way, I mean without using EJBs
    can I achieve
    the task?
    ...Madhuri
    "Michael Wooten" <[email protected]> wrote:
    Hi Madhuri,
    Unfortunately, it sounds like you will need more help than I can offer
    at this
    time. From your original post, I was under the impression that you knew
    about
    EJBs, Java XML parsers/XSLT processors, etc. I scoped out XSQL a bit
    more, and
    it looks like fairly powerful technology, but it requires knowledgeof
    XML/XSLT.
    Personally, I think you might need some "training" help to create aXSQLService
    with a WebLogic Web Service ;-) If you don't have time for that, perhaps
    you can
    search the Web for example code, and start from there.
    Regards,
    Mike Wooten
    "Madhuri" <[email protected]> wrote:
    Hi Mike !
    Do you have any sample code for the EJB where the method that accepts
    an org.w3c.dom.Element
    (or org.w3c.dom.Document) as a parameter, and returned the same, asI
    am new for
    the EJB or direct me the link where I can get info.. I really appresite
    your help.
    Thanks
    ..Madhuri
    "Michael Wooten" <[email protected]> wrote:
    Yeah, that's what I thought ;-)
    If you want the party that submitted to wait while the XSQL file isbeing
    processed,
    you'll want to build a RPC-style WebLogic Web Service, using the Literal
    XML encoding
    style. For this, you would have the Stateless Session EJB that actsas
    the entry-point
    into your Web service "implementation", have a method that accepts
    an
    org.w3c.dom.Element
    (or org.w3c.dom.Document) as a parameter, and returned the same. The
    remote interface
    for this SS would look something like this:
    public interface XSQLService extends javax.ejb.EJBObject
         public org.w3c.dom.Element process(org.w3c.dom.Element xsqlParameters)
    throws
    java.rmi.RemoteException, org.xml.sax.SAXException;
    From the information posted on Oracle's OTN site, the .xsql file(s)will
    live
    on the "server side", so all you need the Web service client to send
    is the parameters
    for the .xsql, right? That's why I called the input argument "xsqlParameters"
    in the method signature above ;-) Okay, so now we need a way for the
    client to
    tell us which .xsql file to use, right? If the client knows this,
    it's
    probably
    simpler if they put that in the parameter file too! So using the flighFinder
    example
    on OTN, that leaves us with a parameter file that looks kind of like
    this:
    <query uri="fly.xsql" stylesheet="none">
    <parameters>
         <FROM>LAX</FROM>
         <TO>SFO</TO>
    </parameters>
    </query>
    The implementation for the process(org.w3c.dom.Element xsqlQuery)method,
    is where
    you want to create the java.net.URL and java.net.URLConnection toconnect
    to the
    actual XSQL Servlet, I think. You could them use the getOutputStream()
    method
    on URLConnection, to get the XML returned by the XSQL Servlet, andmake
    it the
    return value. Knowing Oracle, they have defined a MIME-type extension
    for xsql,
    which is how they can "automagically" route http://localhost:7070/fly.xsql
    to
    the XSQL Servlet. Anyway, I haven't worked with XSQL Servlet before,
    but I would
    hope it is just a J2EE Web Application (.war file) that can be deployed
    into WLS.
    If so, it should be relatively simple to do what you want to do.
    Regards,
    Mike Wooten
    "Madhuri" <[email protected]> wrote:
    Hi Mike, Thanks for your prompt reply. I would like to send the XSQL
    file to a
    Web Service, and have it send it to the Oracle XSQL Servlet for processing.
    As
    XSQL Servlet processes SQL queries and outputs the result set as
    XML,and
    servlet
    takes an XML file containing embedded SQL queries (XSQL file), asits
    input. It
    returns the data in XML format and that's what exactly I would liketo
    do.
    Thanks ..Madhuri
    "Michael Wooten" <[email protected]> wrote:
    Hi Madhuri,
    What kind of WebLogic Web Service do you want to use? Document-oriented
    (i.e.
    where you pass in an XML document/well-formed fragment), or RPC-style
    (i.e. where
    you pass in function arguments)? What does the client pass to the
    Web
    Service?
    What, if anything, does it get back?
    From what I know, the Oracle XSQL Servlet processes SQL queries
    and
    outputs
    the
    result set as XML. This servlet takes an XML file containing embedded
    SQL queries
    (XSQL file), as its input. Do you want to send the XSQL file to
    a
    Web
    Service,
    and have it send it to the Oracle XSQL Servlet for processing? Doyou
    want the
    Web Service to create the XSQL file, from arguments passed in theSOAP
    Body element?
    Sorry to ask so many questions, but the answers will help me answeryour
    "original"
    question ;-)
    Regards,
    Mike Wooten
    "Madhuri" <[email protected]> wrote:
    Hi!
    I have a question: I would like to use Oracle's XSQL servlet. I
    have
    a .xsql file
    which calls a function and returns a data in XML format. Now howcan
    I use this
    in weblogic using webservices?
    Anybody has an idea?
    Thanks in advance
    ...Madhuri

  • OAS 4.0.8 and XSQL Servlet

    Are there any instructions for configuring OAS 4.0.8 to work with
    the XSQL Servlet ? I've been trying unsuccessfully for a week.
    null

    Jason Bennett (guest) wrote:
    : Are there any instructions for configuring OAS 4.0.8 to work
    with
    : the XSQL Servlet ? I've been trying unsuccessfully for a week.
    At the moment I feel there is no way to do that. Youe have to
    use Apache and Jserv if you really need it now.
    Karl
    null

  • 8i Lite and XSQL

    After installing both, I tried to run the XSQL demos, but they couldn't connect to the default DB. Upon inspection of the XSQLConfig.xml file, I noticed that none of the connections defined referenced the Oracle Lite 4.0 ODBC Driver (used in the POlite default DSN) in their <driver> tag. What is the proper syntax to place in the <driver> tag so i can use the POlite DSN?

    When I said a fresh install, I meant a fresh install of Win2k. That in turn meant that I was doing a completely clean install of Oracle Lite.
    As for just doing the Server... not sure this is quite appropriate. OLite doesn't really have a standalone Server; the DB is served up only on the local machine.
    The problem is that the DB will typically startup automatically; now, the DB does not start up and I'm unable to make it startup.
    null

Maybe you are looking for