PHP in Jdeveloper

Hi everybody,
we at pythagoras-design.de are using the Jdeveloper with PHP. It seems as if you cannot debug PHP with the JDeveloper. Is this going to be implemented? Perhaps someone knows. It would be nice to have just one tool and not one tool for php and another tool for java,
Greetings from Germany
Stefani Lange

Perhaps you should post this in the Jdeveloper forum - JDeveloper and ADF
regards,
--karthik                                                                                                                                                                                                                                                               

Similar Messages

  • Error with PHP (can't resolve the connect identifier)

    Hello everybody,
    I have an issue that I hope you can help me with.
    I installed on an OpenSuse the following applications using the guides I found on this web site:
    - Apache 2 HTTP Server
    - PHP 5.2.9
    - Instantclient 11.1
    - Oracle 11g
    After hours of hard work and web navigation looking for information about the problems I got, I'm stucked and I don't find a way to continue.
    When PHP tries to connect to the Database, I get this message:
    Warning: oci_connect() [function.oci-connect]: ORA-12154: TNS:could not resolve the connect identifier specified in [...]
    ORA-12154: TNS:could not resolve the connect identifier specifiedtnsping from a terminal resolves the name successfully, as you can see:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.4.201)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Blog.coremain.com)))
    OK (0 msec)The problem comes when PHP tries to connect, that's where Oracle doesn't resolve the SID.
    Environment variables ($ORACLE_HOME, $ORACLE_SID, $LD_LIBRARY_PATH) are set as guides say.
    By the way, maybe it's related: I can't either connect with JDeveloper to this database in other PC from the network. The data is correct (user, password, IP, port, SID/Service Name).
    This happens with a Linux O.S. Installing the same stuff on a Windows, PHP and JDeveloper work fine.
    Can you help me, please? I read all the info on the Internet I could get and can't find the solution.
    Tell me if you need me to show you any log or configuration file.
    Regards

    Hi there,
    I agree, I think it's an environment issue, but I don't know how to set it up. Here is the environment section of phpinfo():
    Apache Environment
    Variable     Value
    HTTP_HOST      127.0.0.1
    HTTP_USER_AGENT      Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8
    HTTP_ACCEPT      text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE      es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
    HTTP_ACCEPT_ENCODING      gzip,deflate
    HTTP_ACCEPT_CHARSET      ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_KEEP_ALIVE      300
    HTTP_CONNECTION      keep-alive
    HTTP_REFERER      http://127.0.0.1/
    PATH      /usr/sbin:/bin:/usr/bin:/sbin
    SERVER_SIGNATURE      no value
    SERVER_SOFTWARE      Apache/2.2.11 (Unix) PHP/5.2.9
    SERVER_NAME      127.0.0.1
    SERVER_ADDR      127.0.0.1
    SERVER_PORT      80
    REMOTE_ADDR      127.0.0.1
    DOCUMENT_ROOT      /usr/local/apache2/htdocs
    SERVER_ADMIN      [email protected]
    SCRIPT_FILENAME      /usr/local/apache2/htdocs/index.php
    REMOTE_PORT      61677
    GATEWAY_INTERFACE      CGI/1.1
    SERVER_PROTOCOL      HTTP/1.1
    REQUEST_METHOD      GET
    QUERY_STRING      no value
    REQUEST_URI      /index.php
    SCRIPT_NAME      /index.php By the way, I can tnsping only with oracle and root user, with sergio.solis user can't do it: "TNS-03505: Failed to resolve name".
    Thanks for your answer.
    Regards.

  • JDeveloper 10.1.3 & PHP

    Maybe I'm missing something but is there a PHP add-on for JDeveloper 10.1.3? I do a lot of web development using PHP and J2EE and would like to have just one IDE.
    I saw the Zend stuff but that seems like a whole new bag of worms and not really what I'm looking for (syntax highlighting, code helps, etc).

    Hmm... well, if Do you install both zendcore and php? Or does the Zend include a php 5 rls? know what they're talking about, then the Zend core is just PHP5 and OCI8 packaged neatly together, so there should be nothing to fear if you already know PHP5...

  • With jdeveloper possible to write php?

    hi,
    i am changing the code of mapviewer-sample-code step by step and more and more i am successful in doing my own things.
    i want to add the following php-code-sniplet but it does not show 'hello world' on my jsp:
    <body onLoad="enableButtons()">
    <hl>my first try ...</hl>
    <?
    echo ("Hello world!");
    ?>
    what's wrong?
    greetings
    thomas

    No, it doesn't really make sense.
    You can have a PHP application and a Java application installed on the same server and have them interact, but that's probably a lot more hassle than it's worth.

  • Please need Help with web application deployment in Jdeveloper 12c

    Hi,
    I am desperate for help guys. am trying to deploy a web application in weblogic server, but nothing works!!
    I created a project in jdeveloper and created a jsp page inside the project, all what i want is to run that page!
    I followed the instruction here: Deploying Fusion Web Applications , I don't really know if i did it right or wrong, the document is too detailed and not understood clearly.
    I am a newbie oracle user, and trying to build jsp web application connected to oracle database. application deployment fails it says: cannot run application error deploying IntegratedWeblogic..
    please could you tell me the steps of application deployment in Jdeveloper 12c?
    what deployment profiles I need to create (ear, war , mar)?
    what deployment descriptor I need for my app to work?
    please guys I am newbie to oracle, if you could give me simplified answers and straight instructions it will be appreciated .
    thank you

    hi Timo,
    I am building a local web application, meaning the server is internal and will not connect to the web, only to local pcs via network. the application will insert/select data from the database server. My company wants to embed oracle technology on the datatabse and that what am trying to. I am not that expert in java and oracle in general, my main knowledge are in php, html and mysql programming. through my long internet research a lot has recommended jsp with html to be a good choice.
    At beginning I played around with ADF faces, I found it annoying because I prefer coding than using drag and drop interfaces, which always create unwanted results.
    Also am not that professional java programmer, i started learning jsp and found it easier.
    What I am thinking of is to make a web based application that works in browsers (like php), this application has forms to insert data, and also has forms to output data for printing. that's all. I tried to make it in php, but through my little knowledge and internet researches it seems php does not work with oracle and java is the recommended choice (or it works with php but too complicated to make it)
    any recommendation will be much appreciated
    thank you

  • Error when deploying JDeveloper 11 to standalone WebLogic 10.3

    I followed the instructions at:
    http://groundside.com/blog/DuncanMills.php?title=a_rough_guide_to&more=1&c=1&tb=1&pb=1
    and
    http://one-size-doesnt-fit-all.blogspot.com/2009/01/configuring-weblogic-server.html
    to setup a standalone WebLogic 10.3 server with ADF libraries.
    When attempting to deploy an application to a standalone WebLogic 10.3 server on another machine, I get the following error:
    ----  Deployment started.  ----    Apr 3, 2009 1:10:42 PM
    Target platform is  (Weblogic 10.3).
    Running dependency analysis...
    Building...
    2009-04-03 13:10:47.798: Writing WAR file to /home/klee/jdevhome11/mywork/HDR/ViewController/deploy/hdr.war
    2009-04-03 13:10:48.27: Wrote WAR file to /home/klee/jdevhome11/mywork/HDR/ViewController/deploy/hdr.war
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application hdr on ManagedServer.: Failed to load webapp: 'hdr.war'.
    weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
    ####  Deployment incomplete.  ####    Apr 3, 2009 1:11:33 PM
    Deployment FailedFrom the ManagedServer.log file, I have the following:
    ####<Apr 3, 2009 1:11:32 PM MDT> <Error> <HTTP> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892160> <BEA-101371> <There was a failure when processing annotations for application /u01/app/bea/user_projects/domains/dcsd_domain/servers/ManagedServer/stage/hdr/hdr.war. Please make sure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter>
    ####<Apr 3, 2009 1:11:32 PM MDT> <Info> <Deployer> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892181> <BEA-149061> <Module hdr.war of application hdr failed to transition from STATE_NEW to STATE_PREPARED on server ManagedServer.>
    ####<Apr 3, 2009 1:11:32 PM MDT> <Error> <Deployer> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892194> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1238785885980' for task '1'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'hdr.war''
    weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processFilters(WebAnnotationProcessorImpl.java:240)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:212)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1287)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:412)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:456)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >Any help to resolve this would be appreciated!
    Thanks, Ken

    Olaf,
    Sorry I missed your blog post. It was helpful, but it did not allow me to successfully run my application on the standalone WebLogic 10.3. To do this, I did the following:
    1. Created ADF/ADF Faces web application - runs fine in integrated WebLogic Instance.
    2. Followed directions to setup standalone WebLogic Server as outlined in above posts with links to Duncan Mills and Chris Muir, including installation of latest JDeveloper ADF libraries.
    3. Copied adfmweb.jar, adfm.jar, adfdt_common.jar to .../domains/adf_domain/lib/ following setup by Chris Muir.
    4. In console in standalone WebLogic 10.3 server, create JDBC Data Source with name jdbc/whdp_DS (In the test, I got an error. At this point, I replaced the URL with the JDBC custom URL that I use in SQL Developer for this data set which is setup to connect to a RAC setup with failover. Works great. No error message on testing.)
    5. In META-INF, added application.xml and weblogic-application.xml as outlined in http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#insertedID7
    6. In WEB-INF, added weblogic.xml that is outlined in document referenced in step 5. Modified this file, adding the statements from Olaf's blog post.
    >
    <library-ref>
    <library-name>jstl</library-name>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    </library-ref>
    >
    6b. Modifed web.xml, added resource-ref to jdbc/whdp_DS
    >
    <resource-ref>
    <res-ref-name>jdbc/whdp_DS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    >
    7. In the application, modified the AppService defined in the model by right clicking on the AppService and selecting configuration. I changed both the local and shared configurations to use the jdbc DataSource jdbc/whdp_DS. I am not sure which one is needed to be changed, but changing them both made the application work on the standalone WebLogic 10.3 server.
    8. Deploy to standalone server. I had previously created the application server as a target.
    Now my deployment works, AND running the application works. The question now is whether this is the "best" way to do this, or is there an easier way. Also, what about developing locally? How do you manage both the data source defined for the standalone server and a simple JDBC URL for the integrated server? Couldn't find that explained in the docs anywhere.
    I also noticed that with the latest JDeveloper install (build 5205), there is now an extra entry about an UDDI server not running that isn't critical in the logs. This may be caused from the reinstall and not selected UDDI as an option for WebLogic components, but this message shouldn't appear.
    Thanks, Ken

  • XSL Mapper JDeveloper plugin fails to launch from App Engine

    XSL Mapper JDeveloper plugin fails to launch from App Engine ONLY WHEN THE TARGET LOCATION OF THE SERVICE CONFIGURATION POINTS TO AN HTTPS URL.
    If I make the target location field of the service configuration point to an HTTP url, the plugin launches fine.
    The error message indicates that there is a missing certificate in the chain:
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: sun.security.validator.ValidatorException: No trusted certificate found
    A basic google search on this error leads me to believe that I need to add a key to the java clients keystore on my PC. Can anyone confirm or deny this? Has anyone else encountered this?

    After digging pretty hard I believe I've found the cause and two possible solutions...and I quote...
    "This seems to be a known conflict between versions of the Digi 001, the Audio Media III card, Panther OS, Pro Tools, and QuickTime 7 and above. This Mac is running...
    OS Panther 10.3.9
    Pro Tools LE 6.2.2
    This is what I've found from http://sillydog.org/forum/sdt_8928.php (page three of this thread).
    "testing has yielded that the Audio Media III card can be used with Pro Tools LE 6.2.3 on a platform as high as OSX Panther 10.3.9 as long as you do not (I repeat do not) install QuickTime 7ever. The QuickTime 6.5.2 re-installer will not remove problems created by installing QuickTime 7."
    "Basically if you are running what Digidesign refers to as “Legacy” hardware. Audio Media III/ Toolbox or the Digi 001. You are running a version of Pro Tools LE that is incompatible with QuickTime 7. If at any point QuickTime 7 is installed you must re-install (the OS and all programs) to delete its effects, and are stalled on OSX 10.3.9 (w/o QuickTime 7)."
    Knowing this, I was able to find a possible solution here... http://fox-gieg.com/tutorials/2005/undo-quicktime-7/
    The other solution is to upgrade equipment, or re-install OS and other Apps to go backwards.
    Hope this helps some people!

  • Error calling php WS via Java client generated by JDev 10.1.3.2

    Hi guys.
    Gonna be a bit of a long one:
    I'm trying to generate a WS client for a php WS that was written for our use:
    The WSDL file looks as follows
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:CMS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:CMS">
    - <types>
    - <xsd:schema targetNamespace="urn:CMS">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
    - <xsd:complexType name="ArrayOfString">
    - <xsd:sequence>
    <xsd:element name="string" type="xsd:string" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    - <xsd:complexType name="ArrayOfArrayOfString">
    - <xsd:sequence>
    <xsd:element name="ArrayOfString" type="tns:ArrayOfString" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    - <xsd:complexType name="FragmentCheckInRequest">
    - <xsd:all>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="userPass" type="xsd:string" />
    <xsd:element name="fragData" type="xsd:base64Binary" />
    </xsd:all>
    </xsd:complexType>
    - <xsd:complexType name="FragmentCheckInReply">
    - <xsd:all>
    <xsd:element name="return" type="xsd:int" />
    </xsd:all>
    </xsd:complexType>
    - <xsd:complexType name="DataImportXMLRequest">
    - <xsd:all>
    <xsd:element name="userName" type="xsd:string" />
    <xsd:element name="userPass" type="xsd:string" />
    <xsd:element name="xmlData" type="xsd:base64Binary" />
    <xsd:element name="opts" type="tns:ArrayOfArrayOfString" />
    </xsd:all>
    </xsd:complexType>
    - <xsd:complexType name="DataImportXMLReply">
    - <xsd:all>
    <xsd:element name="return" type="xsd:int" />
    </xsd:all>
    </xsd:complexType>
    </xsd:schema>
    </types>
    - <message name="FragmentCheckInRequest">
    <part name="fragment" type="tns:FragmentCheckInRequest" />
    </message>
    - <message name="FragmentCheckInResponse">
    <part name="return" type="tns:FragmentCheckInReply" />
    </message>
    - <message name="DataImportXMLRequest">
    <part name="fragment" type="tns:DataImportXMLRequest" />
    </message>
    - <message name="DataImportXMLResponse">
    <part name="return" type="tns:DataImportXMLReply" />
    </message>
    - <portType name="CMSPortType">
    - <operation name="FragmentCheckIn">
    <documentation>Check in a Word file</documentation>
    <input message="tns:FragmentCheckInRequest" />
    <output message="tns:FragmentCheckInResponse" />
    </operation>
    - <operation name="DataImportXML">
    <documentation>Import XML data</documentation>
    <input message="tns:DataImportXMLRequest" />
    <output message="tns:DataImportXMLResponse" />
    </operation>
    </portType>
    - <binding name="CMSBinding" type="tns:CMSPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="FragmentCheckIn">
    <soap:operation soapAction="urn:CMS#FragmentCheckIn" style="rpc" />
    - <input>
    <soap:body use="encoded" namespace="urn:CMS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </input>
    - <output>
    <soap:body use="encoded" namespace="urn:CMS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </output>
    </operation>
    - <operation name="DataImportXML">
    <soap:operation soapAction="urn:CMS#DataImportXML" style="rpc" />
    - <input>
    <soap:body use="encoded" namespace="urn:CMS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </input>
    - <output>
    <soap:body use="encoded" namespace="urn:CMS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </output>
    </operation>
    </binding>
    - <service name="CMS">
    - <port name="CMSPort" binding="tns:CMSBinding">
    <soap:address location="http://dtest.sun.ac.za/cms/cms/service/cms.php" />
    </port>
    </service>
    </definitions>
    I use Jdev 10.1.3.2 and generated the WS proxy, everything looks good. Then I go into the generated client and add in the following code:
    public static void main(String[] args) {
    try {
    cmswstest.proxy.CMSPortClient myPort = new cmswstest.proxy.CMSPortClient();
    System.out.println("calling " + myPort.getEndpoint());
    DataImportXMLRequest dr = new DataImportXMLRequest();
    String tmpXML =
    "<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>" +
    "<CMS_CURR_INFO_UPD>" +
    "<MSG_SEQ_NO>NATX_ 0000000000000200706201337193</MSG_SEQ_NO>" + "</CMS_CURR_INFO_UPD>";
    byte[] xmlb = tmpXML.getBytes();
    dr.setUserName("elmarm");
    dr.setUserPass("fud567");
    dr.setXmlData(xmlb);
    DataImportXMLReply repl = myPort.dataImportXML(dr);
    System.out.println("Length of XML message = " + repl.get_return());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    When I run the client, I get the following error message:
    calling http://dtest.sun.ac.za/cms/cms/service/cms.php
    java.rmi.RemoteException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/; nested exception is:
         oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
         at cmswstest.proxy.runtime.CMSBinding_Stub.dataImportXML(CMSBinding_Stub.java:161)
         at cmswstest.proxy.CMSPortClient.dataImportXML(CMSPortClient.java:64)
         at cmswstest.proxy.CMSPortClient.main(CMSPortClient.java:38)
    Any ideas as to how to debug the situation. As is quite obvious, my experience with WS and SOAP is minimal at best :)
    Thanks for all the help.
    PS: I tried the same thing in Jdev 10.1.2 and got the following error:
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing error, response was:
    Expected &apos;EOF&apos;.; targetException=oracle.xml.parser.v2.XMLParseException: Expected 'EOF'.]
         at org.apache.soap.SOAPException.<init>(SOAPException.java:78)
         at org.apache.soap.rpc.Call.invoke(Call.java:312)
         at mypackage.CMSStub.DataImportXML(CMSStub.java:128)
         at mypackage.CMSStub.main(CMSStub.java:51)
    Elmar Matthee
    University of Stellenbosch
    South Africa

    Hi Vid,
    To be able to deploy Doc-literal Web services on 10.1.2, you have to select the J2EE 1.3 type of web services when you create the first Web Service of a project. Once you have create a 1.4 service, the dialogue is not displayed again for the given project.
    The other source you have is correct. the JAXRPC based type of Web service that is generated with JDeveloper 10.1.3 cannot be deployed on 10.1.2, as the new runtime is not available there.
    One way to get a Doc-lit service on 10.1.2 is described in Mike's blog [1]. THe WSDL file generated in 10.1.3 is a good start, as it will enable an easier migration to 10.1.3, once it's available.
    Hope this Helps,
    Eric
    [1] http://radio.weblogs.com/0132036/2003/12/07.html

  • Graphical interface improvements on JDeveloper 11g

    Congratulations you really improved the design interface
    I finally could drag an jsf adf item to anothre place,
    But I can't move the prompt of that item so easily.
    I don't know if you checked yahoo geocities free web designer, this is very interesting because you can put items in any place, I always thought jdeveloper interface would be so easy as oracle developer.
    Please don't forget to continue improving we'll have to start programming in 11g and we have very high standards on web output.
    Thank you, we appreciate your efforts.

    Thank you Stom and Shay
    1. The example I gave to putting the items anywhere (when I talk about the editor yahoo geocities has) was thinking in swing, and obviously there will be the limitation on the frame of the database and common sense limitations, the point is you could drag the item and position easily, not the posibility to put anywhere without any constraint :).
    2: About your interest in feedback, let me tellyou we were really impressed with the business logic jdeveloper has, but we were extremely sad after looking at the limitations in design we did several posts, and we were not talking about magical new features, else a similar facility like macromedia dreamweaver has (I think you did a big improvement and maybe you are better in some features than macromedia is now on JDeevloper 11g).
    Briefly is the posibility to give a really good design to a page using jsf adf components, we have high standard on your application display.
    To start the development on JDeveloper adf jsf (we are not planning to use swing) our wish is the posibility to:
    1: Easily position items (without going to code), using a table for example, as it's usually done, I think this is solved with the drag and drop of items.
    2. To easily position the prompt of all items (list items, text items, etc.), in relation to their items (like oracle developer has)
    3. Your css style sheets are very limited, because jdeveloper don't accept all the css properties, if jdeveloper could interpret all them please.
    4. The posibility to apply by item a css class, this idea comes from Oracle Developer, where you create several classes, and when you click the right button on a item, you see all the classes for that type of object, for example a button or a text item, and then you select the class and it apply to the item.
    5. The posibility to easily give a different format to every row, if possible visualy, why? because we get our reports from function tables, there is a column saying the format of the row, for example title, detail, total, etc. We did it on php.
    6. The ability to use properties of colspan and rowspan in an adf database tables, for data display.
    7. The posibility to give relative and absolute positioning in all your components using dips or layers.
    8. We understand is not possible to did it all visually, and there will be the need to modify the code from time to time, but don't loose the correct visual position representation of that.
    Thank you :)

  • JDeveloper, Subversion, Fedora Core 5 x86-64

    I decided to install JDeveloper 10.1.3 on my FC5 workstation and give it a try. This workstation is an AMD x86-64 bit CPU. This is a brief description of the steps I followed:
    1. Java SDK. I already had Sun's 1.5.0_06 SDk installed. Since FC5 uses (custom) JPackage packages, I installed the Sun SDK using the JPackage no-source RPM (http://jpackage.org/rpm.php?id=3366).
    This requires a little rpm package building, but has worked well for me in the past. With FC5 there are some simple instructions for setting up an rpm build environment (from the FC release notes). Run the following two commands in your home directory:
    su -c 'yum install fedora-rpmdevtools'
    fedora-buildrpmtree
    Then follow the instructions for "non-free" packages on the JPackage site (http://jpackage.org/rebuilding.php).
    2. Subversion preparation. Make sure the following packages are installed:
    subversion-javahl-1.3.1-2.1.x86_64
    subversion-1.3.1-2.1.x86_64
    Note again that this is an x86-64 workstation.
    3. Download JDeveloper zip file and unzip in a directory of your choice. I used $HOME/lib/jdev1013 since I am the only user of this system that will use JDeveloper. I will call this directory JDEV_HOME.
    4. cd into JDEV_HOME/jdev/bin.
    5. Edit jdev.conf. I used gedit as a simple and fast text editor for gnome but any will work.
    5a. Add this to allow JDeveloper to find the java bindings for subversion:
    # 6 May 2006
    # Enable subversion bindings
    AddNativeCodePath /usr/lib64"
    5b. Change "SetJavaVM hotspot" to "SetJavaVM server". The Sun JVM for x86-64 CPUs does not have hotspot at this time.
    5c. Save and close.
    6. Start JDeveloper with ./jdev
    7. JDeveloper will prompt for the path to the SDK. If you use the JPackage rpm for the Sun SDK, this is: /usr/lib/jvm/java-1.5.0-sun/. If you use the Sun rpm or a different JVM then the path will differ.
    That is it. Use JDeveloper's update feature to add the Subversion plug-in.
    There may be other quirks, but I have not run into them yet.
    Brad
    Message was edited by:
    bgsmith

    Hi Brad: Please explain #1. Java SDK. I already....
    I have 1.5.0_10 installed. Shall I install another SDK via JPackage? The links
    http://jpackage.org/rpm.php?id=3366
    http://jpackage.org/rebuilding.php
    are not working.
    Dan

  • What  are the initial classes used  for  create DBAdapter  in  JDeveloper

    I am trying to create a DBAdapter by JAVA program using JDeveloper API , So want to know initial classes name used to set the Adapter name and Service name in JDeveloper .

    HI iansan5653
    I am not sure if you are trying to make a widget/extension? for the browser or just customize the appearance of the user. I believe you have to create an appearance and then allow the user to download the appearance to change the styles.
    I think you may want this webkit -moz-appearance[[https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance]]
    I did some research on this and the MozillaZine is a great reference for all of the Preferences to add stuff to the panels.
    Some more information
    * [[http://kb.mozillazine.org/Category:Preferences|MozillaZine Category:Preferences]]
    * This Menu editor may help [[https://addons.mozilla.org/en-US/firefox/addon/menu-editor/?src=search]]
    * UserChrome.css info [[http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes]]
    * Visual Customizations [[http://kb.mozillazine.org/Category:Visual_customizations_%28Firefox%29]]
    *topics [[http://forums.mozillazine.org/viewtopic.php?t=1006795]]
    I have also seen extensions made by adding style to these items in the about:config. You could live update the items and see if the css makes changes live in the browser and see how the file renders. [[http://kb.mozillazine.org/About:config_entries#UI.]]
    But for better help on this I would recommend asking the mdn
    [[https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_Extensions]]
    If you can define your set up, the Mozilla Developer Network may be the place for you. Hope this helps.

  • I'm a newbie - Would you recommend using jdeveloper to build my website?

    I am after some advice.
    I want to build a website which will have a members area and several other bits of server-side functionality.
    I have built 1 or 2 sites using dreamweaver - with PHP and MySQL.
    I could simply build the site with the above but am keen to learn new skills. I have no experience of Java, but I've been advised that I could possibly build my site using JDeveloper. Taking advantage of ADF.
    I have installed the most recent version of JDeveloper and a MySQL database.
    I have managed to set this up and connect to MySQL using the third party jdbc driver.
    Anyway could anybody please answer the following:
    1. If I build my site using jdeveloper with a mysql backend - is there anything I need to know in terms of getting the site hosted. Most hosts I have seen offer a MySQL database with either PHP or MySQL. What do I need to look for?
    2. Can anyone suggest any decent tutorials? I'm not sure if the learning curve is too steep. As I said I have no Java knowledge.
    3. Can anyone suggest any decent samples I can install/run? I found one on otn about a toy store but this required an Oracle backend rather than MySQL.
    4. Anyone other advice or words of wisdom....?
    Thanks

    Yes you can build Web sites with Java - and using JDeveloper and ADF will probably make it simpler for you.
    One thing you'll need is a server that will host a Java application.
    For a sample and a tutorial see the ADF Developer Guide and the SRDemo applicaiton.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/1013/adfdevguide.pdf
    http://www.oracle.com/technology/products/jdev/samples/srdemo.html

  • Oracle ADF & Jdeveloper.

    Any one have an idea that which institute other than oracle school, give training for Oracle ADF & Jdeveloper in Dubai, United ARab Emirates.
    I am using Forms10g and would like to upgrade to Jdeveloper.I have no experience in Java.

    I've also written a book, and given I come from a Forms background, it should address many of the issues those coming from a Forms background hit when learning ADF. The book itself is aimed at getting developers up to speed as quickly as possible,
    Quick Start Guide to Fusion Development: JDeveloper and Oracle ADF is now published. See http://www.mhprofessional.com/product.php?isbn=0071744282
    See also http://www.oracle.com/technetwork/developer-tools/jdev/formsdesignerj2ee-092778.html which is a page specifically for Forms developers who are picking up JDeveloper and Oracle ADF.
    Regards
    Grant

  • JDeveloper 10.1.3.4 won't connect to Oracle BPEL 10.1.3.4 after patch

    Hi
    I've tried to install Oracle BPEL 10.1.3.4 four times now. Everytime I apply the 10.1.3.4 patch, JDeveloper won't connect to BPEL. I followed the installation documents step by step:
    1.- Create SOA Schemas
    2.- Install Oracle SOA Suite
    3.- Upgrade BPEL and ESB Schemas
    4.- Install 10.1.3.4 patch
    5.- Configure PHP5
    6.- Change data-source.xml
    I always get the same problem in JDeveloper
    XMLParseException:Whitespace required in the Identity Services. The configuration in JDeveloper is correct because it works on 10.1.3.1.
    Regards,
    Néstor Boscán

    I install 10.1.3.1. JDeveloper works perfectly:
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: OK
    Then I run the upgrade scripts:
    soa_schema_upgrade\bpel\scripts\upgrade_10131_10134_oracle.sql
    And I install the patch.
    Then I configure PHP5:
    Set the enviroment variable PHPRC.
    Configure the httpd.conf file:
    LoadModule php5_module libexec/libphp5.so
    AddModule mod_php5.c
    AddType application/x-httpd-php .php .php5
    AddType application/x-httpd-php-source .phps
    Change the factory class in data-sources.xml to oracle.jdbc.pool.OracleDataSource.
    Also I set in server.xml
         <application name="hw_services" path="../applications\hw_services.ear" parent="orabpel" start="true" />
    The patch sets the start attribute to false.
    Everything restarts correctly but I can't connect from JDeveloper. There are no errors in the opmn log, or the applications.log.
    Regards,
    Néstor Boscán

  • JAXB in JDeveloper 11gR1 PS1

    Hello,
    I'm using JDeveloper 11gR1PS1 and I've generated JAXB 2.0 bindings for an XSD I am using (right-click on the XSD and select "Generate JAXB2.0 Content Model").
    In one complex type of the XSD, there's an element of type "xsd:string" whose presence is mandatory when creating an XML document, even if its content is empty. So if I set the field in my JAXB Object to the empty string:
    myJAXBObject.setSomeStringField("");
    myJAXBObject.setSomeOtherStringField("This has a value");I expect to see (after mashalling) this kind of XML:
    <myJAXB>
            <someStringField></someStringField>
            <someOtherStringField>This has a value</someOtherStringField>
    </myJAXB>Instead I get:
    <myJAXB>
            <someOtherStringField>This has a value</someOtherStringField>
    </myJAXB>Why is this happening? How can I fix it?
    Details on my situation can also be found here: http://stackoverflow.com/questions/3186621/jaxb-empty-string-does-not-produce-empty-element

    The bug has been fixed and will be included in the EclipseLink 2.1.1 maintenance release. If you want access to this fix earlier you can pick up the nightly download starting July 8th from:
    - http://www.eclipse.org/eclipselink/downloads/nightly.php
    -Blaise

Maybe you are looking for