Problem creating WebDav connection to review XML schema in JDeveloper 10g

I am trying to review some XML schema and cannot seem to create a WebDav connection. I entered all the relevant info and keep getting the following error :Testing connection...
Connection test failed: unable to connect
Unable to connect to WebDav Connection1 (http://localhost:8080/)
May require proxy to connect to the location,
when I tried to test the connection. The tips given in the help section didn't work either. Could someone please help me?

Thanks for your prompt response.
I had done that before yet, it still doesn't work.
Please, bear with this newbie, for a second.
I think it may be relevant to mention that I am trying to create a connection on my local network.
Had no problems when I try to connect to enterprise manager,or iSQL*plus console, or creating a database connection through Jdeveloper, or even to the HTTP server through the browser. I am using windowsXP platform BTW, if it makes a difference, and Jdeveloper 10g. When I try to create the webDav Connection it still gives me the connection failed error, .....
Testing connection...
Connection test failed: unable to connect
May require proxy to connect to the location
Additionally ran this script ....
DECLARE
HTTP_PORT pls_integer := 8080;
FTP_PORT pls_integer := 2100;
config xmltype;
BEGIN
SELECT updateXML(dbms_xdb.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',
HTTP_PORT) INTO config
FROM DUAL;
DBMS_XDB.CFG_UPDATE(config);
SELECT updateXML(dbms_xdb.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',
FTP_PORT) INTO config
FROM DUAL;
DBMS_XDB.CFG_UPDATE(config);
END;
COMMIT;
-- Updates configuration
BEGIN
DBMS_XDB.CFG_REFRESH;
COMMIT;
END;
-- Creates /home Directory
DECLARE
result boolean;
BEGIN
result := dbms_xdb.createFolder('/home');
dbms_xdb.setAcl('/home','/sys/acls/all_all_acl.xml');
commit;
END;
list
OUTPUT from script....
PL/SQL procedure successfully completed.
Commit complete.
PL/SQL procedure successfully completed.
DECLARE
ERROR at line 1:
ORA-31003: Parent / already contains child entry home
ORA-06512: at "XDB.DBMS_XDB", line 195
ORA-06512: at line 4
Still no luck! What I am i doing wrong?
Any pointers will be appreciated.

Similar Messages

  • Help In XML schema using  oracle 10g

    i want to give seminar in XML schema using oracle 10g. n i m very new in this topic. so help me out which topic i include & any document regarding this

    XML Schema has various aspects.
    1. Creating an XML Schema, which may be done in JDeveloper.
    2. Initializing an XML document from an XML Schema, which may also be done in JDeveloper.
    For creating and initializing an XML Schema please refer
    http://www.regdeveloper.co.uk/2007/10/01/build_xml_schema_jdeveloper/
    3. Validating an XML document with an XML Schema.
    http://www.oracle.com/technology/pub/articles/vohra_xmlschema.html

  • Creating WebDav Connections

    I am trying to create a WebDav Connection to view some XML data in Jdeveloper, and the connection fails even after I use the help tips. Any help would be appreciated.

    Your execution to setup WebDAV is perfect, the last error only means a /home already exists. And the other output means you have successfuly configured your database. So it, on the Oracle Database side is working.
    Windows XP is problematic because of the security issues you have frequently to work around. Temporarily disable the windows firewall. Make sure your browser configuration doesn't prevent you from accessing your site.
    Let's check the listener. Issue the command lsnrctl status, a simmilar output must be seen:
    OS>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 9.2.0.7.0 - Production on 09-MAY-2007 15:10:45
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC2)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.7.0 - Production
    Start Date                09-MAY-2007 15:09:52
    Uptime                    0 days 0 hr. 0 min. 53 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   F:\Oracle\Ora920\network\admin\listener.ora
    Listener Log File         F:\Oracle\Ora920\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tomcat.oracle.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tomcat.oracle.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tomcat.oracle.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "ORCL920.ORACLE.COM" has 2 instance(s).On the bolded section, the allocated 8080 (http) and 2100 (ftp) ports must be enabled.
    Listener up and running, 8080 and 2100 ports ready and accepting connections. OraDAV configured. Our checklist is complete, next try to connect with your browser at :
    http://localhost:8080/A dialog box appears, asking for your DB User / Password.
    That's it. Plain and simple.
    If you still have problems at this point, we'll go against the listener.log, trace, sqlnet.log and alert.log files.
    Note: Even if in this example you see Ora9iR2 instead of 10gRX, it works and is configured exactly the same.
    Message was edited by:
    Madrid

  • Problem with running sample code from XML Schema Processor for Java

    Hi there,
    I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
    I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
    When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
    NonParserException: null.
    I guess that report.xml from the sample is not valid.
    Could any one give me a hint? Any suggestion would be greatly appreciated.
    ---Denali
    null

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • Problems Creating Custom Connections In SQL Developer

    I have the Auto-Generated Local Connections available in SQL Developer 3.2.20.09 Build MAIN-09.87, but cannot create my own connections. I've searched the forums, but haven't had an "AHA" moment.
    I installed the 32-Bit Oracle 11gR2 and SQL Developer with JRE on my Windows x64 system because installing the x64 version of Oracle 11gR2 failed. This is for database classes I'm taking at the local community college.
    Trying to create a connection with OS Authentication:
    Connection Name: PaulK
    Connection type: Basic
    Role: default
    Hostname: localhost
    Port: 1521
    SID: orcl
    and clicking Test returns Status: Failure - Test failed:  The Network Adapter could  not establish the connection
    When I run lsnrctl services, I get
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\PaulK>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 26-APR-2013 13:36:35
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    listener.ora contains
    # listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\PaulK
    tnsnames.ora contains
    # tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    I assume something is missing or incorrect, but I don't know what.
    Thanks in advance for your help.

    I reinstalled Oracle 11gR2 x86 and ran lsnrctl:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\PaulK>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:51:56
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 02-MAY-2013 14:57:07
    Uptime 0 days 0 hr. 54 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File e:\app\paulk\diag\tnslsnr\PaulK-PC\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\PaulK>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 02-MAY-2013 15:53:19
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:4 refused:0 state:ready
    LOCAL SERVER
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: PAULK-PC, pid: 8880>
    (ADDRESS=(PROTOCOL=tcp)(HOST=PaulK-PC)(PORT=51451))
    The command completed successfully
    As you can see, my Service "orcl" matches your example, but I am still unable to create a new connection in SQL Developer.
    This is my tnsnames.ora file:
    # tnsnames.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    and my listener.ora file:
    # listener.ora Network Configuration File: E:\app\PaulK\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\PaulK\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\PaulK\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\PaulK
    These files are just as the install process created them, but are there any sore thumbs sticking out?
    Thanks.

  • Problem creating a connection pool for mssql server

    Hi
    i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
    please can someone help out on this
    Ifeanyichukwu

    I assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
    If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
    Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
    If that doesn't work post your connect pool settings.
    Good luck
    Mike

  • Creating entity beans (EJB3) from xml schema

    Dear friends,
    I have a XML schema.. and I want to implement an Enterprise application with EJB3 Entity Beans exposed through a set of JAX-WS Web-Services...
    question: how to define the entities from the XML schema?

    Two alternatives:
    1) JAXB 2.0 generates POJOs with JAXB annotations in them. You can take ownership of those POJOs and add Java Persistence API annotations in them by hand. Basically, you will end up having both both JPA and JAXB annotations in the same Java class. You can then use them in your code both with JAXB APIs and JPA APIs.
    2) Have a look at http://hyperjaxb3.dev.java.net/ It is trying to automate what I described in #1. The project is still not complete, so right now, you may have to hand code the JPA annotations.
    Sahoo

  • Connect interface with XML File in jdeveloper

    Hello;
    i want to design a webservice that take an employee ID , and return all employee's data (like his name ,departement, phone,email....)
    i want to make interface and connect it with XML file wich has all employees data
    how can i connect the interface ( input text box and output button) with XML file (taking the Id and searching inside the file and getting the data out in table as output)
    i want to deploy it to get the WSDL file and URL to deploy it at application server to use it in webcenter>>>

    up 2 find an answer
    i want the right way to do it?

  • Using "XML Document from XML Schema" in JDeveloper

    Hi Experts,
    I have a requirement to generate XML Document from XML Schema.
    For this I have used "XML Document from XML Schema" feature in JDeveloper. It is found in File->New->General->XML Document form XML Schema.
    I have registered a schema with jdev and got an XML document output for that successfully.
    Now, I want to implement this feature in my code for generating XML documents when XSD files are provided.
    Can any one please provide me with pointers to do that? I am sure there should be some libraries which can implement this feature.
    Thanks,
    Dilbagh

    Create an XML document from a Schema with the Oracle SchemaClassGenerator.
    import oracle.xml.classgen.SchemaClassGenerator;
    XMLSchema schema=new XMLSchema();
    XSDBuilder builder = new XSDBuilder();
    URL    url =  new URL(schemaUrl);     
    schema = (XMLSchema)builder.build(url);
    SchemaClassGenerator generator = new SchemaClassGenerator();
    Generate the Java classes from the example XML Schema.
    generator.generate(schema);With the java classes construct an XML document.

  • Problem create jco connection in webdynpro application run time

    Hi There,
    I created webdynpro application using rfc model.
    After deploy the project , i created two jco connection
    for data & meta data this is work o.k (test with no errors). the sld is o.k.
    We are using application server (Single Server) for data
    & message server for meta data (Load Balance).
    During run time there is an error message:
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.ness.crm.customerlasttwo01pckg.model.types.Datab could not be loaded: com.sap.dictionary.runtime.DdException:
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:205)
         at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.init(AttributeInfo.java:471)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:771)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:756)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:433)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sap.dictionary.runtime.DdException:
         at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:225)
         at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:180)
         at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:78)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:64)
         at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:39)
         at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
         at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:234)
         ... 44 more
    <u>Can some one help me with this matter?</u>
    Best regards Nir Shohat.

    Hi Nir,
    We also had same problem but no we won't. Check ur config on SLD again and the try to the test connection from the http://localhost:4444/webdynpro ( WAS 6.4 )server.
    If this connection is OK then deploy some small application n see.
    Is ur's JCo connection working for J2ee application?
    Arnigs

  • Problems creating JCO Connections

    Hi experts,
    I have a question regarding the JCO Connection creation in Content Administrator.
    My first doubt is if it's necessary to create each JCO Connection for each backend system that I'll run RFC functions?
    If is it true, during Creation I must specify user and password. I have to specify the Backend User and Pass, right?
    Finally, could you explain me why there are several JCO connections created?
    When I create the JCO connection I will be able to invoque Backend RFC functions from, for example, a webdynpro?
    Kind Regards,
    Martin.

    Hi Martin,
    1. Yes, provided you want to use the RFC functionality.
    2. Yes, you would be giving the username and password for the metadata.
    Please refer to [Creating JCo Destinations|http://help.sap.com/saphelp_nw70/helpdata/EN/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm]
    3.Generally, when you install business packages like ESS MSS etc, there are a bunch of JCO which are installed as well, but all you would have to do is edit its properties and point them to the correct location.
    4. Yes, you can.
    Regards,
    Sandeep Tudumu

  • Problem create servlet connecting mysql

    Hello,
    I'm trying to create a servlet with JBuilder foundation.
    I've a java file, not included in the package of the JBuilder project and i want to deploi it on the Tomcat server (version 5.0). I 'Make' it and i deploy the .class.
    When i execute it I've the following driver error :
    java.sql.SQLException: No suitable driver
    I don't know what to do... :-(
    Thank you........
    My code:
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import sun.beans.editors.IntEditor;
    import net.homeip.trv.util.*;
    import com.mysql.jdbc.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import com.mysql.jdbc.Statement;
    import com.mysql.jdbc.ResultSet;
    import java.util.Locale;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorldExample extends HttpServlet
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws IOException, ServletException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    //-------------------------------start MySQL connection-----------------------------
    ResultSet rs = null;
    String queryString = "";
    String url = "jdbc:mysql://localhost:3306/db_client";
    String user = "root";
    String password = "root";
    try
    Class.forName("com.mysql.jdbc.Driver");//.newInstance();
    catch (ClassNotFoundException ex2)
    String msg = "";
    Connection con = null;
    try
    con = (Connection) DriverManager.getConnection(url, user, password);
    catch (SQLException ex1)
    msg += ex1;
    }

    I've to deploy it in the same place of .class ?No, you should create a war (or ear) file, and place the driver jar in the correct location of that file.
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WebComponents3.html
    Kaj

  • Create bean from XML Schema

    I am wondering if it is possible to create a bean from an XML Schema that I have defined in JDeveloper. In BEA Weblogic xml beans are automatically generated for you when you create a schema.
    What I am trying to do is create a web service that has an input of an xml document based off the schema I have created. But I don't know how to specify that as an input.
    Thanks.

    Asking a similar question I was guided to TopLink 10.1.3 in this thread:
    ADF Faces: Paginated Table backend (EA15)
    I looked at XMLBeans but was surprised to find out that it does not generate JavaBean compliant javabeans which caused problems with JSF.
    I have been using Castor, http://castor.exolab.org/, I don't know about it integrating with JDeveloper.
    TopLink would be the most obvious choice if you need to integrate with JDeveloper. Keep in mind that it is TopLink's XML to JavaBean functionality is new but Oracle has been working with XML for a while. XMLBeans is also a young technology. Castor has been around for many years.
    Good Luck,
    Rachel

  • XML Schema based form in webdynpro

    Hi I have existing webdynpro which is having an interactive form view. The form is XML schema based.
    I want to create the same webdynpro with different data structure and different interactive form.
    Do i need to create the form with XML schema or do i need to do that from Webdynpro side which will generate the XML Schema automatically.
    Can you please help.
    Nik

    Thanks Amit,
    It as a really a good help for me to understand the process of creation of form from Webdynpro.
    Let me explain you the problem in detail:-
    There is an webdynpro application where  7 forms are added using differents views for each form (created through webdynpro) with different interfaces. That means in all the forms i found XML Schema based interface.
    One for the forms view for surround frame form ZFORM1 (using a structure  ZSTR1 of 20 fields in the interface ZINT1 is there)
    An adobe form Developer created a new form ZFORM2 by copying this ZFORM1. That means ZFORM2 is also using the same interface ZINT1 (we can also say same structure ZSTR1 ).
    No view was created to use this form.
    Now before creating the view & add  it in the WD aplication, for this ZFORM2 Client want to delete 2
    fields & 2 new fields for this form ZFORM2.
    I created a new structure ZSTR2 ( as per the fields required) Now i am thinking of to create a new form ZFORM2 using this structure ZSTR2 in the context of my new View .This will create a new interface ZINT2 (XML schema based)
    But this is a very time consuming process as the form ZFORM2 created by the developer earlier has so many java scripting code. he took 2 months to develop it. and i dont have that much time.
    I am sure there must be some other way to fix this problem.
    Can anyone give me the proper solution .
    Cheers,
    Nik

  • Mapping DTO to XML Schema for Worship Web Service

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

Maybe you are looking for

  • How to see the historic data of CAT2

    Dear All, I have a question related to CATS. Through which table I can get the historical data of an employee which is stored in CAT2 transaction. I tried through CATSDB but not able to get the number of working hours as stored in CAT2. I clied on a

  • Zen Vision:M Warranty questi

    I got a ZVM (30 GB) and the extended one year 2 years of coverage. If my HDD fails in a year and a half, what will happen? I'm assuming there will be some costs like shipping, but will I get a new ZVM? Or will they just fix it's What if a newer playe

  • Full screen video blank and aac music stutters!  iTunes 7.0.1

    When listening to music, the sound will sometime just stop, the music is not paused and the playback time counter at the top of the screen is stuck. Menus in the program still work, but until the program is restarted, the music will not resume. I tri

  • Change access connection​s from prompt username/p​assword to use windows logon credential​s

    Hi, Switch our wifi to intergrate it with Active directory. Is there a way to seamlessly switch access connections from prompting username and password to use windows username and password for all our laptops? Thanks

  • How to create a product catalog in crm(by the end user of the system)?

    how can we an end user create a product catalog? what is the diff b/n prod cat and prod? we download the prod from r/3. how we get the prod cat done in crm for the customers and consumers and how it is done? thank you,