File: URI scheme gotcha

This is mainly a public note to myself; maybe it will help others, and maybe it will be even added to the FAQ and used to amend the relevant sections of the documentation. Trying to load a document from the filesystem, I've just again run into this issue of the file: URI weirdness with DBXML. The doc() function works with HTTP as you would expect:
doc('http://example.com/videos.xml')But how does it work for the local filesystem? Well, the documentation has two suggestive, but misleading examples: file://path-to-document - found here, and myscheme://a/b/c - found in the [FAQ (What are the restrictions on document names?)|http://www.oracle.com/technology/products/berkeley-db/faq/xml_faq.html#18]. So I went:
doc('file:///C:/videos.xml') (: wrong :)
doc('file://C:/videos.xml') (: wrong :)
doc('file:/C:/videos.xml') (: wrong :)
doc('file:C:/videos.xml') (: finally ... looks weird, but works :)It didn't occur to me that despite the customary double slash shown in the examples in the documentation, you mustn't put any slash at all after the file: scheme!
Michael Ludwig
PS:
Maybe you could comment on how it is supposed to work? Just found that for a file in the current directory, I can use all of the following:
doc('file:u.xml')
doc('file:/u.xml')
doc('file://u.xml')
doc('file:///u.xml')
doc('file:////////////////////////////////u.xml')Edited by: miluas on Apr 27, 2009 6:58 PM
Edited by: miluas on Apr 29, 2009 9:33 AM

As far as Xerces is concerned, I don't think it is a bug. I don't think it's a non-conformance either. The file URI Xerces wants for Windows is conformant to the general URI scheme, as far as I can tell.
[RFC 1738 - Uniform Resource Locators (URL)|http://tools.ietf.org/html/rfc1738]
[RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax|http://tools.ietf.org/html/rfc3986]
But I think it's a bug in the BDB XML documentation and FAQ, which I included links to in my original message, to suggest another, non-working syntax.
Michael Ludwig

Similar Messages

  • Need help in  URI scheme is not ¨file¨  error in uploading .PDF file

    I am getting the URI scheme is not file error when I am uploadin a .PDF file
    I am using the following piece of code
    String lPathPrefix = "gopher://muceap10.muc.amadeus.net/User Step Folders/BPS_Files/Outlooksoft CPM/01 - Production Environment/01 - Documentation Library/01 - Documents/Daily_Checks/";String lPath = (lPathPrefix + doccolvalue).replace(" ", "%20");
    URI lURI = new URI(lPath);String lPathPrefix = "file://muceap10.muc.amadeus.net/User Step Folders/BPS_Files/Outlooksoft CPM/01 - Production Environment/01 - Documentation Library/01 - Documents/Daily_Checks/";
    String lPath = (lPathPrefix + doccolvalue).replace(" ", "%20");
    URI lURI = new URI(lPath);
    Can anyone please help me in solving this problem
    I will be very much greatful to you,
    Thankx.

    Did you get to resolve this error? We are also getting the same error and not able to figure out.
    Edited by: Joe A on Nov 10, 2008 5:09 PM

  • ORABPEL-05215 URI scheme is not "file". - Not able to deploy BPEL process

    We are trying to deploy the Oracle Siebel PIP integration pack for Siebel OD. The SOA environment is clustered with a proxy and https enabled.
    While deploying a BPEL process, we are getting the following error. Not able to figure out whats going wrong. Any help on this will be appreciated.
    [deployProcess] Deploying process C:\Temp\10232008\CRMIntegSEBLODLeadConvertAsync\output\bpel_CRMIntegSEBLODLeadConvertAsync_1.0.jar
    BUILD FAILED
    C:\Temp\10232008\CRMIntegSEBLODLeadConvertAsync\build.xml:79: A problem occured while connecting to server "abcd.oracle.com" using port "11545": bpel_CRMIntegSEBLODLeadConvertAsync_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "CRMIntegSEBLODLeadConvertAsync" (revision "1.0"): URI scheme is not "file".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:286)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:925)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:791)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:448)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Any body else is facing similar issue?
    Thanks,
    Bhavnesh.

    We are trying to deploy the Oracle Siebel PIP integration pack for Siebel OD. The SOA environment is clustered with a proxy and https enabled.
    While deploying a BPEL process, we are getting the following error. Not able to figure out whats going wrong. Any help on this will be appreciated.
    [deployProcess] Deploying process C:\Temp\10232008\CRMIntegSEBLODLeadConvertAsync\output\bpel_CRMIntegSEBLODLeadConvertAsync_1.0.jar
    BUILD FAILED
    C:\Temp\10232008\CRMIntegSEBLODLeadConvertAsync\build.xml:79: A problem occured while connecting to server "abcd.oracle.com" using port "11545": bpel_CRMIntegSEBLODLeadConvertAsync_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "CRMIntegSEBLODLeadConvertAsync" (revision "1.0"): URI scheme is not "file".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:286)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:925)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:791)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:448)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Any body else is facing similar issue?
    Thanks,
    Bhavnesh.

  • Is the username field required in the URI Scheme?

    The URL scheme does seem to work now just like RDP files but it does not work if I leave the username field blank.  I can enter the domain in username field but cannot get a "\" included.  I would ideally like it to be blank. Also, SSO
    does not work.

    Hi,
    Thank you for posting in Windows Server Forum.
    Enabling a Uniform Resource Identifier (URI) scheme gives IT professionals and developers a way to integrate features of the Remote Desktop clients across platforms and enriches the user experience by allowing: 
    1. Third-party applications to launch Microsoft Remote Desktop and start remote sessions with predefined settings (provided as part of the URI string.)
    2. End users to start remote connections using pre-configured URLs.
    More information.
    Remote Desktop Client URI Scheme Support
    http://technet.microsoft.com/en-us/library/dn690096.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • URI Scheme Not Working - Windows

    The URI scheme is not working on Internet Explorer or any browser in Windows 8. I am using the URI scheme from the microsoft technet site. Oddly enough, it works flawlessly on apple computers - it launches the microsoft remote desktop app when i click on
    the link that contains the URI scheme. On Windows 8, it says that no apps are installed to read that file type (rdp). I really need the use of this. Why is it working on macs but not on pc's running windows?
    Here is the URI scheme i am using - obviously the server name and domain have been replaced
    rdp://full%20address:s:servername&domain:s:domainhere

    Hi,
    Yes, this URI Scheme only works for Android, Mac and IOS devices.
    Remote Desktop Client URI Scheme Support
    http://technet.microsoft.com/en-us/library/dn690096.aspx
    For Windows Client, you need to register an application to a URI Scheme, such as associate mstsc.exe with rdp://
    Registering an Application to a URI Scheme
    http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Android Beta client refuses to launch RemoteApp via URI scheme

    Android Beta (8.1.7) client refuses to accept following URI: "rdp://full%20address=s:fqdn&remoteapplicationmode=i:1&remoteapplicationprogram=s:%7C%7Ccalc" with the error message "The RDP file is not valid. Notify your network administrator."
    But it can launch RemoteApp via equivalent RDP file:
    full address:s:fqdn
    remoteapplicationmode:i:1
    remoteapplicationprogram:s:||calc

    Hi,
    For URI scheme, please try to use “:” instead of “=” (equal sign) and recheck result. 
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Temp File Name Schema in Receiver File adapter

    Hi,
    I have a scenario where i have to write the file in the temperaory location before writing it to the FTP loacation, I have selected the Processing Parameter as "Use Temperory File" but when the file gets created it is padded with the Message Id, is thr any option to get the file name as the temp file name without the Message Id or timestamp.
    Please let me know if any one has come across such scenario.
    thankx,
    shree

    Hi,
    Under Write Mode, specify whether the target file is to be written directly in the specified directory. If an additional step is to be added using a temporary file, choose Use Temporary File.
    You can specify a naming scheme for the temporary file under Temporary File Name Scheme.
    This schema is used to determine the prefix and extension of the temporary file; to ensure a unique file name, a time stamp is also added to the name during processing.
    The schema xitemp.tmp, for example, results in the file name xitemp<timestamp>.tmp
    So you have to customise the file name in schema.
    see below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Regards
    Chilla

  • Reciever File Adapter - Temp File Name Scheme using Variable Substitution

    How can I create a temporary file that uses variable substitution? 
    We are having a problem with files merging when we write files using the "Use Temporary File" setting on the FIle Adapter.  So two independent files are merging into a single file.  We are not using the "Append" setting.
    We would like to use a Temp File Name Scheme that would append the message id onto the temporary file name. 
    Using variable substitution we created a msgid variable.  When added to the temporary file name using %msgid% the temporary file name is created with %msgid% in the name instead of the actual message id.  We put the variable into the "File Name Scheme" as well and the end completed file used the message id in the name.
    Any Ideas?
    Thanks,
    Matt

    HI Matthew,
    Why are you adding the message id into the temporary file??
    I understand that you want the output of the filename to contain message id .. and hence you are using variable substitution for the same.
    Temporary file name will anyways get overwritten by the actual file name (here the actual filename will be using variable substituion).
    So i suggest to achieve your scenario you can add any name in the temporary file and maintain the desired filename you require as output in the variable subsititution.
    Temporary File Name option actually acts as a lock - unlock mechanism from PI side while the file is getting written to the file server so that while PI is writting the file no third party application batch program picks it up.
    I hope this helps.
    Cheers
    Dhwani

  • File Name Scheme - Receiver Adapter

    Hi,
    I have a File Receiver Adapter which is using content conversion to take in XML and output a file. I want the output file to be called EOD286ccyymmdd.txt where ccyymmdd is the current date. Seems to be 2 options for file names:
    1. Add Time Stamp: No use as this adds the Date & Time. I only want the date.
    2. Variables: Don't think I can use this as it only seems to work if the data is part of the XML message packet. The date in ccyymmdd format is not contained in the XML anywhere.
    Is there anyway of getting the File Scheme Name I want ?
    Cheers,
    PaulC.

    Hi,
    You have one option in the File adapter receiver channel: 'Run Operating System command After message processing", where you can give any std OS command or you can give batch file (.bat) to run after the message processing. In batch file, you can write a set of commands which would rename the file according to your name format.
    Another bit complex solution is create your own custom adapter module and change the file name scheme.
    Thanks,
    RK

  • Regarding  File name schema in  Receiver  com. Channel

    Hello,
    I have gone thru  the blog
    The specified item was not found.
    "The same filename from a sender to a receiver file adapter - SP14 for Dynamic configuration"  by Michal Krawczyk....And here in this Scenario in ID (in Reeiver communiation channel)what should we give as file name.(or) can we leave it blank.
    If my client wants the name ,then instead of assigning it to the root can I consider a element and assign the udf...In this case how it will effect the Receiver file name schema in Rec Communication channel in ID

    Hi,
    Pass it as %FileName% which will come from dynamic configuration.
    SAP note may give some hints- 746393 and also this thread has got the answer
    Module Processor : Module exception java.lang.ClassCastException
    Thanks
    Swarup
    Edited by: Swarup Sawant on Aug 22, 2008 11:19 AM

  • Changing file name schema

    In my receiver adapter the file name schema is intern_pay%var1%.dat and in variable substitution var1 is defined as message:message_id_hex.According to this i can see the file in the target directory as intern_payb0ba03a0904711dbbb9e00000e252c96.dat
    Can any one please help me out to change the format of the file in the target directory to intern_pay_yyyymmdd.dat
    Briefly, can any one please explain me how to change the file name schema in the receiver adapter.
    Many Thanks,
    Smith.

    Hi Paul,
    You can use DynamicConfiguration in a user defined function to achieve this.
    Go thro these threads, they will provide you the solution.
    Dynamic Directory and File Naming in Receiver Adapter
    In the above thread look at the post that answered the question. It will certainly help you.
    And go thro this also.
    Dynamic  File Name for Receiver File Adapter
    Regards,
    P.Venkat

  • Problem with file URI for external DTD

    Hi All,
    I am getting UnknownHostException when i am trying to parse an XML data as InputSource
    to parser.
    The exception is thrown while to trying resolve file uri
    set for inputsource to locate DTD.
    The code works fine in of the Solaris machine but it throws this exception in
    one particular machine (solaris again). On both Weblogic6.0 with SP2 is running.
    The host "local" it says Unknown is infact a directory.
    I am unable to figure what is wrong. Please let me know asap the reason and if
    there is any solution.
    I am attaching the piece of Code and the Exception stack trace.
    thanks
    ashok
    -------------------code-----------------------
    public boolean doParse(InputSource input)
    throws IOException
    try{
         String realPath=FileHelper.getApplicationRoot();
         SAXParser sp = new SAXParser();
         sp.setContentHandler(this);
         sp.setFeature("http://xml.org/sax/features/validation",true);
         sp.setErrorHandler(new MyErrorHandler(System.err));
    input.setSystemId("file:///"+realPath+"/dtd/");
                   CmgmtOutput.write("System ID set "+input.getSystemId(),1);
                   sp.parse(input);
    }catch
    ------------------Exception--------------------
    java.net.UnknownHostException: local
    at java.net.InetAddress.getAllByName0(InetAddress.java:571)
    at java.net.InetAddress.getAllByName0(InetAddress.java:540)
    at java.net.InetAddress.getByName(InetAddress.java:449)
    at java.net.Socket.<init>(Socket.java:100)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
    at sun.net.NetworkClient.openServer(NetworkClient.java:38)
    at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
    at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
    at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:77)
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:96)
    at java.net.URL.openStream(URL.java:798)
    at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at org.apache.xerces.framework.XMLParser.startReadingFromExternalEntity(XMLParser.java:2652)
    at org.apache.xerces.framework.XMLParser.startReadingFromExternalSubset(XMLParser.java:2478)
    at org.apache.xerces.validators.dtd.DTDValidator.startReadingFromExternalSubset(DTDValidator.java:1672)
    at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1111)
    at org.apache.xerces.validators.dtd.DTDValidator.scanDoctypeDecl(DTDValidator.java:450)
    at org.apache.xerces.framework.XMLParser.scanDoctypeDecl(XMLParser.java:2102)
    at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:876)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
    at com.i2.ui.srm.contracts.cmgmt.CMGMTXMLHandler.doParse(CMGMTXMLHandler.java:156)
    at com.i2.ui.srm.contracts.cmgmt.CMGMTXMLHandler.doImport(CMGMTXMLHandler.java:96)
    at com.i2.ui.srm.contracts.cmgmt.CMGMTXMLImportHandler.doImport(CMGMTXMLImportHandler.java:178)
    at com.i2.ui.srm.contracts.cmgmt.CMGMTXMLImportHandler.handleEvent(CMGMTXMLImportHandler.java:77)
    at com.i2.ui.srm.contracts.cmgmt.CMGMTXMLImportHandler.invoke(CMGMTXMLImportHandler.java:42)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.i2.webdriver.rwadmin.pages.PageController.handlePage(PageController.java:337)
    at PageServlet.doPost(PageServlet.java:374)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    By making BODY mandatory with 1 record, i am getting the below given error message in Adapter monitoring...
    Sender Adapter v2722 for Party '', Service 'BS_MRS':
    Configured at 2007-08-29 09:40:17 BST
    History:
    - 2007-08-29 09:46:26 BST: Retry interval started. Length: 2.000 s
    - 2007-08-29 09:46:26 BST: Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 3: missing structure(s) before type 'TRL'
    - 2007-08-29 09:46:26 BST: Processing started
    - 2007-08-29 09:46:24 BST: Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 3: missing structure(s) before type 'TRL'
    - 2007-08-29 09:46:24 BST: Processing started
    With Regards
    Amitesh

  • File uri with query string can't be propagated by desktop.browse()

    I have been trying to show some help pages using the following command:
    java.awt.Desktop.getDesktop().browse( helpURI);
    while the helpURI.toString() prints out the following:
    file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
    But when the getDesktop().browse() API is executed it will only propagate the uri-path and not the query string.
    So the browser shows the following url as a result of the browse() call:
    C:\Share\Code\phoenix\Install\REDIST\Help_Files\en\wwhelp\wwhimpl\js\html\wwhelp.htm
    But if I manually copy the string "file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html" to the internet explorer it works fine.
    So can somebody give me any guidance on how I can propagate the file uri with query string through the browse() API or is there a better API for that?
    Sibon.

    The "cmd /S /C" suggestion didn't seem to work. I don't think the problem is in java but how the command line parameter needs to be added from msdos shell to "iexplore.exe"
    When from the command line I enter the following command:
    iexplore.exe file:///C:/Share/Code/phoenix/Install/REDIST/Help_Files/en/wwhelp/wwhimpl/js/html/wwhelp.htm?context=BD&href=Chapter%202%20-%20Configuration.1.14.html
    I get the same result as invoking from java Desktop API --- it truncates everything from question mark. I tried palying around with double quotes, single quotes, escaping and nothing seem to work.
    Any ideas?

  • Create a wsdl file - with schemas inline - in JDeveloper

    Hi,
    We are trying to create a wsdl file using schemas in jdeveloper 11.1.1.3. We could generate the wsdl file using options available in jdeveloper, but the wsdl generated contains <types> element that has schemas referenced by only an "import" statement as below.
    <types>
    <xsd:schema>
    <xsd:import schemaLocation="../../../Test.xsd" namespace="http://www.openuri.org"/>
    </xsd:schema>
    </types>
    But, I would like get the schemas inlined or embedded within the wsdl instead of just an import statement.. This helps me in using the wsdl anywhere (creating webservices or use in my applications or give it to some one to use) without worrying about the actual schema definition files. The <types> element within the wsdl must have the schemas embedded, something like below.
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://testWSDLproject/type" elementFormDefault="qualified">
    <xsd:element name="testIn">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="value" type="xsd:integer"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    Is there any way forward, with the Jdeveloper to create wsdl files with schemas inline ?

    Hi Vohra,
    The schema snippet pasted previously was just a sample.
    In actual, there are mulitple cross referencing xsd files that must be embedded within my wsdl file. Sometimes, such manual editing of wsdl (embedding so many schema definitions) is prone to errors.
    If there is an option in Jdeveloper which automatically does this embedding for us, then it becomes more handy. Have you come across any such options ?

  • WCF Custom - Solicit response port - System.ArgumentException: The provided URI scheme 'https' is invalid; expected 'http',

    Hi,
    BizTalk WCF Custom Adapter - is send in a solicit response port. It works with a http address.
    However, I need to point it to a Https location.
    I imported the bindings, and changed the address to https. I was able to re-import the bindings. The send port gets started. But, when we try send a message via the send port, it throws an error:
    Error Description: System.ArgumentException: The provided URI scheme 'https' is invalid; expected 'http'.
    Parameter name: via
    Any help is appreciated.
    Regards,
    Sharmishtha

    The error logs do not give any other information.
    Also, security is TransportCredentialOnly, with Basic - Client Credential Type.
    Regards,
    Sharmishtha
    Hi Sharmishtha,
    TransportCredentialOnly mode
    does not provide message integrity and confidentiality. It provides HTTP-based client authentication. You need to use either of the below security mode :
    Transport
    TransportWithMessageCredential
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for

  • RFx: Function Module to get unpublished (saved only) items

    Hi there, Can anyone please help me out? I am looking for a FM in SAP SRM to get not only the published items on a RFx, but also the newly added Items that were only saved. If I use FM:    BBP_PD_BID_GETDETAIL,   I get all items on a published RFx. B

  • Combined date sorting with anychart (mm.yyyy)

    Hi there [apex 4.2, Oracle 11g] I have a table in which I extract the year and the month and both in combination (from a date type). This is needed to summarize for example the year in a chart. I need the combination of month and year because people

  • Re: BI Server very slow

    Hi All, Currently the BI server is very slow. Accessing the tcodes itself takes long time. Can anybody tell me the tcodes to monitor the server utilisation. How to improve the performance of BI system. Regards, Anand

  • International travel tips

    Any international travel tips for the iPhone I should know about.  I know to take the Roaming off,but anything else?

  • Has anyone download the Airport Utility app on their iPod Touch or iPhone?

       Just was wondering if anyone downloaded the Airport Utility app from the app store onto their iPod Touch, iPad or iPhone? You can see a picture of your Time Capsule's nework and a picture of your Time Capsule right on your iOS device (iPod Touch,