Exposing plsql Packages as webservices using JDeveloper

Hi folks,
I'm using Jdeveloper to publish database package/ procedures as webservices.These procedures use objects types as parameters (Varchar2's). I can generate the webservices (by the JDeveloper wizard), the WSDL file is generated;
Question is about the required and optional fields. In my procedure declaration I defined the input as Varchar2 and also defined a default
Procedure p ( p_var IN VARCHAR2 Default NULL) AS
BEGIN
NULL;
END; 
But when I deploy this package as webservice (via jdeveloper) to our weblogic server, and run a test, I get errors related to required fields if I don't pass in any value.
Invalid input arguments for the following fields: p_var value required
How would I change this behavior ? I made the procedures to accept default parameters ( even when no value is passed I would want my code to run)
Thanks in advance,
Prashanth

Thanks Timo !
Found out to be an issue with Oracle Fusion Middleware control (http://<hostname>:<port>/em ) validating for required Inputs, but when tested with SOAP UI or Web logic Test Client (http://<hostname>:<port>/wls_utc) it works as expected. Reported the issue to Oracle Support and the problem has been reproduced there.
Regards,
Prashanth

Similar Messages

  • Publish PLSQL Package as webservice using Jdeveloper

    Hi All,
    I have developed an PLSQL package that select records based on search criteria. I want to publish this as an web service. I have published another PLSQL package that inserts to a table as a web service, which is working fine(Using Jdeveloper and SOA Suite(Application Server)). I am getting error as "cannot create target" when i published as a web service for select.
    Procedure has 4 IN Parameters and 4 OUT Parameters in which one of the OUT Parameter is of table type. When i click invoke button the error details are as follows
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>Error creating target: hr.Select_Employee_Records_V1User</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Please suggest me how to proceed further
    Thanks and Regards,
    Mahesh
    Edited by: MAH on Nov 2, 2008 10:33 PM

    Have you tried using the DB adapter for stored procedures? Is your "record" type a PL/SQL record type? Or is it a SQL object type? If it's the former then the adapter will automatically generate corresponding object types. A package is also generated that contains a wrapper API for your original procedure. The package also includes conversions to convert between the record and the object types. If it's the latter, then the adapter does nothing special as it can handle object types. Once deployed, your API will be executed with an included instance XML for the inbound parameters. XML will be generated containing values of outbound parameters. In your case, if the data type is a PL/SQL record, the problem may be that record is not a supported data type.

  • Creating WebService using Jdeveloper 9i

    Is there a article on creating PLSQL Webservice using Jdeveloper 9i(9.0.3.5) and then porting it on the Application server? We have Oracle Application 11.5.10 using 10g database.
    Thanks
    PHK

    Follow the links at the end of the demo pages of JDeveloper to get to older stuff for example this:
    http://www.oracle.com/technology/products/jdev/viewlets/903_ws_plsql/903_WS_PLSQL_viewlet.html

  • How to expose ODI package as webservice..?

    hi,
    We are having a requirement where other application needs to call ODI package.
    How to expose ODI package as webservice..?

    hi John,
    when I tried to upload odi-public-ws.aar service , it faulted.
    plase help...
    This Web axisService has deployment faults
    Error: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:273) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:199) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepositary(SchedulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:194) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261) ... 10 more Caused by: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192) ... 11 more Caused by: java.lang.NullPointerException at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:235) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:59) at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:250) at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:959) at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221
    regards,
    Amey

  • Creating Asynchronous webservice using Jdeveloper

    Guys,
              I want to expose a java class as a Asynchronous web service. The issue is i cannot make it asynchronous. When i deploy it, there is no callback port.
    Have anybody used Jdeveloper to generate Asynchronous web service from java class?
    Below is my code....
    import javax.jws.WebService;
    import oracle.webservices.annotations.async.AsyncWebService;
    @WebService(serviceName = "MyTestAsyncService")
    @AsyncWebService
    public class MyTestAsyncService
      public  String sayHello()
        return "Hello World";

    Hello,
    I think, it should be work. I just tested using JDeveloper 11.1.2.3.0.
    This is web service:
    package webservice;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService(serviceName = "MyTestAsyncService")
    public class MyTestAsyncService {
        @WebMethod
        public String sayHello() {
            return "Hello World";
    I have generated using New->Web Service Client and Proxy and give WSDL URL.
    It will generate web service client with asynchrone.
    package ws.client;
    // This source file is generated by Oracle tools.
    // Contents may be subject to change.
    // For reporting problems, use the following:
    // Generated by Oracle JDeveloper 11g Release 2 11.1.2.3.0.6276
    public class MyTestAsyncServicePortClient {
        public static void main(String[] args) {
            MyTestAsyncService_Service myTestAsyncService_Service = new MyTestAsyncService_Service();
            MyTestAsyncService myTestAsyncService = myTestAsyncService_Service.getMyTestAsyncServicePort();
            System.out.println(myTestAsyncService.sayHello());
            // Add your code to call the desired methods.
    Also that one is port class, which is generated from wizard.
    package ws.client;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.logging.Logger;
    import javax.xml.namespace.QName;
    import javax.xml.ws.Service;
    import javax.xml.ws.WebEndpoint;
    import javax.xml.ws.WebServiceClient;
    import javax.xml.ws.WebServiceFeature;
    * This class was generated by the JAX-WS RI.
    * Oracle JAX-WS 2.1.5
    * Generated source version: 2.1
    @WebServiceClient(name = "MyTestAsyncService", targetNamespace = "http://webservice/", wsdlLocation = "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService")
    public class MyTestAsyncService_Service
        extends Service
        private final static URL MYTESTASYNCSERVICE_WSDL_LOCATION;
        private final static Logger logger = Logger.getLogger(ws.client.MyTestAsyncService_Service.class.getName());
        static {
            URL url = null;
            try {
                URL baseUrl;
                baseUrl = ws.client.MyTestAsyncService_Service.class.getResource(".");
                url = new URL(baseUrl, "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService");
            } catch (MalformedURLException e) {
                logger.warning("Failed to create URL for the wsdl Location: 'http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService', retrying as a local file");
                logger.warning(e.getMessage());
            MYTESTASYNCSERVICE_WSDL_LOCATION = url;
        public MyTestAsyncService_Service(URL wsdlLocation, QName serviceName) {
            super(wsdlLocation, serviceName);
        public MyTestAsyncService_Service() {
            super(MYTESTASYNCSERVICE_WSDL_LOCATION, new QName("http://webservice/", "MyTestAsyncService"));
         * @return
         *     returns MyTestAsyncService
        @WebEndpoint(name = "MyTestAsyncServicePort")
        public MyTestAsyncService getMyTestAsyncServicePort() {
            return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class);
         * @param features
         *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
         * @return
         *     returns MyTestAsyncService
        @WebEndpoint(name = "MyTestAsyncServicePort")
        public MyTestAsyncService getMyTestAsyncServicePort(WebServiceFeature... features) {
            return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class, features);
    I hope, it will work
    Regards,
    Eba

  • From PLSQL Package to Webservice deployed on Tomcat

    Just wondered if anybody done this before, because then so can i.... ;)
    Has anybody made a Webservice in Jdeveloper from a PLSQL Package and deployed it successfully on a Tomcat webserver? (no matter what version of Tomcat)

    Hi Ratnam ,
    Qucik question :
    What is the error you are getting ?
    Did you get through the URL (https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1 ) that you only have posted ? Basically the thing is your tomcat server should have necessary libraries before even you attempt deployment.
    thanks,
    Subhendu
    Edited by: Subh on May 17, 2012 4:07 PM

  • Developing Portable WebServices using Jdeveloper

    I am currently using Jdeveloper 10.1.3.2 and I have developed WebServices from my existing WSDL files and deployed the WebServices in OC4J. Everything is working fine now. I noticed that Jdeveloper has created some OC4J specific files like oracle-webservice.xml. Now I want this working WebService Application to be deployed to another Application Server. I am sure it would fail.
    My Question is,
    1) How can I devlop Web Services using Jdeveloper which can be deployed in any App Server?
    2) Will Jdev 11g with JAX-WS will be helpful?
    3) Is there any tutorial for developing portable webservices which can be deployed across any App Server.

    Hi Frank
    Thanks for your response.
    So If I remove my oracle-webservices.xml and deploy my Project, Will it work in any App Server.
    Also where can I put the contents in oracle-webservices.xml file like
    <oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
    <webservice-description name="''''''''">
    <port-component name="''''''''">
    <operations>
    </operations>
    </port-component>
    </port-component>
    </webservice-description>
    </oracle-webservices>
    Thanks

  • Use the PLSQL PACKAGE in WEBSERVICE

    Hi
    in ordre to have de adventage of the new technologie and don't loos the PLSQL PACKAGDE
    please give me^proposition to rewrite those PACKAGE in JAVA
    Thank's
    DAHANE Miloud
    Algeria

    Using JDev11g you can generate pl/sql packaged based web services. Goto database navigator, connect to a database, explore your pl/sql package and right click and press "Publish as Web Service".
    This generates all the requried java classes.
    Goto your model project, right click on the new web service and click Test Webservice.
    It generates WSDL file for you.
    Using this wsdl, you can create web services data control.
    Using this data control you can easily generate adf table in your jsf page.
    Let me know if you have any questions.

  • PLSQL Packages - map conenctions using tool?

    Hi,
    I'm a BA attempting to reverse engineer business rules out of one of our applications written in PLSQL.
    The code however is poorly maintained and as such it is difficult to see whats being called from where.
    I am wondering if anybody knows of a tool that can map out whcih packages calls procedures (and what package) in order to allow me some process flow view though the application.
    Any help is greatly appreciated. Many thanks

    Hello
    I had a similar problem about a year ago and Barbara Boehmer provided me with this excellent method. If only I'd known about it 3 months earlier, I could have saved myself a lot of time...although in my case, most of the procedures were not packaged. Hopefully it will be a start though:
    Oracle has a nice utility that does the opposite of what you are asking for, such that if you provide the lowest level table or procedure, it will provide every procedure that calls or uses it and so on up the chain. With a little modification, this utility can be modified to do what you want, such that if you provide the upper level procedure name, it will provide all procedures that it calls and tables that it uses and so on down the line.
    To install the utility, you need to find the utldtree.sql file on your system and start it from SQL*Plus. It should be in the rdbms\admin sub-directory of your Oracle home directory. After you have installed the utility, then you can create the reverse_deptree_fill procedure that I have provided below, which is a modification of the deptree_fill procedure of the utility. Then you can execute that procedure and dispaly the results from the deptree view or in hierarchical format from the ideptree view.
    Please see the example below, in which I have first created two procedures for testing and demonstration, then created the reverse_deptree_fill procedure, then executed it, then displayed the results in two different formats by selecting from the deptree and ideptree views.
    scott@ORA92> -- sample procedures for testing and demonstration:
    scott@ORA92> create or replace procedure test_proc1
      2    (p_deptno in emp.deptno%type)
      3  as
      4    v_count number;
      5  begin
      6    select count(*) into v_count from emp where deptno = p_deptno;
      7  end test_proc1;
      8  /
    Procedure created.
    scott@ORA92> create or replace procedure test_proc2
      2    (p_dname in dept.dname%type)
      3  as
      4    v_deptno number;
      5  begin
      6    select deptno into v_deptno from dept where dname = upper (p_dname);
      7    test_proc1 (v_deptno);
      8  end test_proc2;
      9  /
    Procedure created.
    scott@ORA92> -- install the utility,
    scott@ORA92> -- substituting your oraclehome for d:\oracle\ora92:
    scott@ORA92> --start d:\oracle\ora92\rdbms\admin\utldtree.sql
    scott@ORA92> -- create reverse_deptree_fill procedure:
    create or replace procedure reverse_deptree_fill (type char, schema char, name char) is
         obj_id number;
    begin
         delete from deptree_temptab;
         commit;
         select object_id into obj_id from all_objects
         where owner         = upper(reverse_deptree_fill.schema)
         and   object_name  = upper(reverse_deptree_fill.name)
         and   object_type  = upper(reverse_deptree_fill.type);
         insert into deptree_temptab
         values(obj_id, 0, 0, 0);
         insert into deptree_temptab
         select referenced_object_id, object_id,
         level, deptree_seq.nextval
         from public_dependency
         connect by prior referenced_object_id = object_id
         start with object_id = reverse_deptree_fill.obj_id;
    exception
         when no_data_found then
              raise_application_error(-20000, 'ORU-10013: ' ||
                   type || ' ' || schema || '.' || name || ' was not found.');
    end;
    Procedure created.
    scott@ORA92> -- collect the information,
    scott@ORA92> -- substituting your schema for scott and your procedure name for test_proc2:
    scott@ORA92> execute reverse_deptree_fill ('procedure', 'scott', 'test_proc2')
    PL/SQL procedure successfully completed.
    scott@ORA92> -- display the information:
    scott@ORA92> set linesize 120
    scott@ORA92> select * from deptree where schema <> 'SYS' order by seq#
      2  /
    NESTED_LEVEL TYPE               SCHEMA                         NAME                                 SEQ#
               0 PROCEDURE          SCOTT                          TEST_PROC2                              0
               1 TABLE              SCOTT                          DEPT                                   43
               1 PROCEDURE          SCOTT                          TEST_PROC1                             45
               2 TABLE              SCOTT                          EMP                                    46
    4 rows selected.
    scott@ORA92> -- display the information in a hierarchical tree:
    scott@ORA92> select * from ideptree where  dependencies not like '% SYS.%'
      2  /
    DEPENDENCIES
    PROCEDURE SCOTT.TEST_PROC2
       TABLE SCOTT.DEPT
       PROCEDURE SCOTT.TEST_PROC1
          TABLE SCOTT.EMP
    4 rows selected.

  • Using XML Publisher with plsql package data source?

    Hi,
    I have a html gantt chart which i create using a plsql package and the use of the htp.p procedure for output to a webpage.
    I want to be able to print this to PDF and was hoping the XML Publisher may be an option for doing this. The datasource for this however seems to be a sql query or XML feed.
    Can anyone provide any suggestions on this??

    With a Pipelined Table Function you can use a function in your FROM-clause (so you'll have a normal SELECT, but in the background the data comes from a PL/SQL-function):
    SELECT * FROM TABLE( <function_name> )
    Look here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:30404463030437
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2335

  • Debugging PL/SQL using JDeveloper

    Hi all,
    I'm running JDeveloper 10.1.3.2.0 on Windows XP (32-bit) SP2 connecting to a Oracle 10g 10.2.1.0 (64-bit) on UNIX.
    I have compiled the packages and procedure using JDeveloper and can run the procedure using SQL*Plus but I when I try to run the procedure in JDeveloper
    the "Run PL/SQL" dialogue appears, the Messages window shows: "Connecting to the database oradb01". I click OK and nothing seems to happen.
    I have been told by my DBA that I have all the prerequisites to debug PL/SQL so I wonder if I am missing something. Can anyone help?
    Thanks all,
    LG

    Brilliant. Thanks Shay,
    The only thing I wasn't sure about was that I tried to use the IP address of my workstation (from ipconfig) in the DBMS_DEBUG_JDWP.CONNECT_TCP procedure and for some reason it wouldn't work, so I used the Windows full computer name instead and it worked fine.
    Leo

  • Exposing and Consuming web service using NWDS

    Hi all,
    I want to expose and consume a webservice using NWDS.
    My java application will interact with the SAP web service to create materials in r3.
    I just want to know how to create a EJB project that contains the Web service and deploy on the SAP WAS.
    and from the java application how would I access the same.
    do I need to AXIS jar ?
    How would get The WSDL corrosponding java files ?
    I will be very thank ful if you can provide me with the some study materials also.
    Warm regards

    Hi
    Refer these links
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/60dbd7ac-4788-2910-539b-b3599c64be12
    http://help.sap.com/saphelp_nw04s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
    Regards
    Abhishek

  • SSL Help required : using JDeveloper

    I am using a single self signed certificate created using keytool on both the client and server end. (i.e. the same keystore as the truststore and keystore as well as the same on the client and the server)
    Tried this sample code to fetch the WSDL of my webservice in JDeveloper. Successfully did this.
    ===========================================================
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import java.io.IOException;
    import javax.net.ssl.SSLPeerUnverifiedException;
    import javax.net.ssl.SSLSession;
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) {
    if (args.length < 4) {
    System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
    "[wallet] [password]");
    System.exit(-1);
    String hostname = args[0].toLowerCase();
    int port = Integer.decode(args[1]).intValue();
    String walletPath = args[2];
    String password = args[3];
    HTTPConnection httpsConnection = null;
    OracleSSLCredential credential = null;
    try {
    httpsConnection = new HTTPConnection("https", hostname, port);
    } catch (IOException e) {
    System.out.println("HTTPS Protocol not supported");
    System.exit(-1);
    try {
    credential = new OracleSSLCredential();
    credential.setWallet(walletPath, password);
    } catch (IOException e) {
    System.out.println("Could not open wallet");
    System.exit(-1);
    httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
    // httpsConnection.setSSLCredential(credential);
    System.out.println("Set credentials and cipher suite");
    try {
    httpsConnection.connect();
    System.out.println("Connected!!!!!");
    } catch (IOException e) {
    System.out.println("Could not establish connection");
    e.printStackTrace();
    System.exit(-1);
    //javax.servlet.request.
    X509Certificate[] peerCerts = null;
    /* try {
    SSLSession sslSession = httpsConnection.getSSLSession();
    System.out.println("Getting session.........");
    httpsConnection.connect();
    }catch(Exception e){
    e.printStackTrace();
    System.out.println("null Getting session.........");
    System.exit(-1);
    try{
    peerCerts =
    (httpsConnection.getSSLSession()).getPeerCertificateChain();
    } catch (javax.net.ssl.SSLPeerUnverifiedException e) {
    System.err.println("Unable to obtain peer credentials");
    e.printStackTrace();
    System.exit(-1);
    String peerCertDN =
    peerCerts[peerCerts.length - 1].getSubjectDN().getName();
    peerCertDN = peerCertDN.toLowerCase();
    if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
    System.out.println("Certificate for " + hostname +
    " is issued to " + peerCertDN);
    System.out.println("Aborting connection");
    System.exit(-1);
    try {
    HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    } catch (Exception e) {
    System.out.println("Exception occured during Get");
    e.printStackTrace();
    System.exit(-1);
    =====================================================
    But on using the client proxy generated for my webservice using JDeveloper and then setting the system properties such as
    System.setProperty("javax.net.ssl.keyStore",keyStore);
    System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType","JKS");
    System.setProperty("javax.net.ssl.trustStoreType","JKS");
    I get the following exception:
    <MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
    at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    Please can anybody help me with this!!!!
    Thanks in advance
    Nilesh

    Hi,
    Try the following.
    String_arctest model = new String_arctest();
    ReturnTestString str=new ReturnTestString(model);
    str.setArg1("HalloWelt");
    Request_ReturnTestString req=new Request_ReturnTestString(model);
    req.addReturnTestString(str);
    wdContext.nodeRequest_ReturnTestString().bind(req);
    wdContext.nodeRequest_ReturnTestString()
         .currentRequest_ReturnTestStringElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();
    wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
    Regards, Anilkumar

  • Publish a plsql code as webservice without using JDEVELOPER or APEX

    Hi All,
    I am looking into how can we publish a PLSQL code as web-service without using JDEV OR APEX.
    When I google for this one I can see only by using JDEV or APEX we can publish Code as a web-service.
    Is there any way in oracle, just by using simple PLSQL packages we can publish code as a webservice.
    Appreciate your response.
    Thanks,
    MK.

    Apex does not publish PL/SQL code as web services. It is a web run-time and development framework. Something totally different.
    To turn a PL/SQL function into a web service is simple. You use the orawsv servlet in XDB - without making a single code change to the function. It will not even know it is called as a web service.
    To use orawsv, two basic steps. Configure and enable the servlet (raw HTTP/HTTPS connections will be handled by the Listener). This also entails enabling shared server in the database, if not already enabled. The 2nd step is to allow the function to be executed (via a HTTP call) as a web service, via granting specific roles.
    orawsv handles the HTTP call. It provides the WSDL. It parses SOAP envelopes as input. It makes the call (as a standard PL/SQL call), to the function being used as a web service. It returns the results of the PL/SQL function call, as a SOAP envelope output.
    See Support Notes:
    How to Setup Native Oracle XML DB Web Services [Article ID 444191.1]
    Sample Framework for testing Native Oracle XML DB Web Services [Article ID 803794.1]
    How to Browse Native Oracle XML DB Web Services Example [Article ID 1324235.1]

  • How to develop plSQL Packages using jDeveloper

    Working in one schema with multiple packages and having multiple programmers all working at the same time with in the schema and packages. How do you all work on maybe the same package at the same time and not walk on each other(save code over each other and lose updates)? In other words programmer A opens A_WEBFORMS.WF_HR.SICKVACREQ; then programmer B also opens A_WEBFORMS.WF_HR.NOTARY. Both are in same schema, same package, but different procedures with in package. Both update the package by using ctrl-s. This causes them both to lose code or just get mixed up when programmer A saves and the part that programmer B is working on changes.
    Help? Is it the way you setup the Oracle DB?, or is it the total environment?, or is it the way you use Jdeveloper????

    If you develop directly against the database into the same schema, you have the risk off bumping into somebody else. The more developers work on the same project the more the need to work with an external tool to develop your code (and tables, views, etc). In the past it would be Oracle Designer, recently JDeveloper is getting more and more suitable for the job.
    If you are using JDeveloper you should use offline database objects and put them under version control. During the development process, version control will offer the abillity to merge different versions of a single object the programmers are working on. When generating to the database you synchronize the database with your code in jdeveloper, when an other user generates his version over yours, at least you will not lose your version of the object, since you still have it as an offline database object. Anyway, let users generate to their own database schema, so they will not influence other users code. Certain revisions can then be generated from time to time to the actual database schema from the version controlled offline database objects.
    Just my two cents ...

Maybe you are looking for