Publish as a Web Service option (PL/SQL) in 11 g JDeveloper 11.1.1.0.2

Hello

Im going to develop a Web Service of PL/SQL package.
JDeveloper 10.1.3.1.0 it is an option that you can publish as Web Service directly from the pl/sql package diserable Navigation connections.
In JDeveloper 11.1.1.0.2 is not such an option!
There is another way to publish the Web Service of Pl/sql package?

Thank you

Hello

The Pl/SQL Web services Wizard is back in the latest version of JDeveloper 11 g (11.1.1.2). You can download it here

-Yogesh

Tags: Oracle

Similar Questions

  • Calling web services from PL/SQL

    Hello

    We have a requirement where we need to call a WebService from PL/SQL.
    I believe that we have an API of PL/SQL, which allows you to use external web services.

    I was looking for other possible options as to consume the web Service of PL/SQL.

    The one you suggest other options, and what option is best to consume the web service.


    Thank you
    AB

    Hello

    I used the http of the utl package.
    Apart from this you can also use java stored procedure. I haven't used this approach, but I found a blog for the same:

    http://technology.AMIS.nl/Blog/348/consuming-Web-services-from-PLSQL-part-i-using-Java-stored-procedures

    Kind regards

    Ketan

  • BPEL can be published as a web service?

    Dear all,

    Can I publish a BPEL process as a Web Service, rather than calling via the BPEL Console, I would like to access or invoke the process BPEL via a URL to the browser. Is it possible to deploy the same others that BPEL Process manager... Please update...


    Thank you very much...

    We seem to be going round in circles here, I still don't know what is your condition.

    I hope that this provides more information.

    BPEL by default creates a WSDL. Which means when it is deployed, it is a web service. If you choose the sync or async model, it will create a WSDL / web service which accepts a string and returns a string.

    You may want to enter more complex and output parameters. This is possible by creating a xsd based on the settings that you want the process to accept. You import when you create the process BPEL (screen after selecting the bpel model).

    During deployment, you can get the endpoint using the console. Found in the wsdl.

    So to answer your question by default BPEL is a web service if a third party application can call it.

    If you want to call it via PL/SQL there are a utl_dbws package that allows you to do.

    see you soon
    James

  • SOA Gateway - timeout when calling a web service custom Pl/SQL using SOAP

    Hello

    I developed and deployed my PL/SQL web service custom repository integration SOA Gateway.

    The web service works well, but sometimes its execution time exceeds 60 seconds, and I get the following time-out error: java.net.SocketTimeOutException: Read timed out

    Here's my env:

    Oracle E-Business Suite integrated SOA Gateway
    12.1.3
    IBM AIX on POWER Systems (64-bit)
    6.1

    I would like to know if there is a way to increase this time-out?

    EDIT:

    I took a quick glance at this doc errors of timeout in Web Services deployment (Doc ID 1073270.1( )

    and modified the $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml file

    then bounced oacore, oafm, but it did not work.

    EDIT 2:

    I tried to change the timeout setting in the file httpd.conf ( $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf )

    restart apache and the server, but it didn't work.

    Thank you

    Kind regards

    Simon

    In fact, I tried to play with the values that you mentioned, I put the maximum Heap space in JAVA to 2048M and in Apache timeout to 3600 seconds and after a wait of cca. 20 minutes I got the answer I needed the SOAP service.

    Kind regards

    Ognjen

  • Call web service from pl/sql

    Dear all,

    I have the web service where I need to take the picture as a binary stream and insert it into the blob.

    What is the best way to call the web service and store a photo as a binary stream (jpg file) into blob?

    Kind regards

    E.

    852611 wrote:
    Thank you very much for helping me to invoke the web service in my database.

    I received the message, now I need to decode an image base64binary. Is it possible to make hollow pl/sql or java should I use?

    PL/SQL. No need for Java.

    An example of how encoding works is in {message identifier: = 10364104}. You simply do the reverse (decoding) that makes the example code (coding).

  • How to retrieve error messages after failed call Web service or pl/sql

    Hi all

    The EBS version: 12.1.1 on windows 2008 server.

    I'm calling pl/sqls via the ISG (process_item, process_eco...). If a call fails due to wrong input parameters, it returns an 'E' to me according to the Statute, a count of the number of error messages were collected, but no message itself? Is there an extra function call to get the error messages? I found FND_MESSAGE-GET but it does not return me anything!

    Thank you
    Konrad

    Hi Konrad,.

    As we found out, search the repository for internal name ERROR_HANDLER integration and use. Informing the public the answer for this one!

    Kind regards
    Gareth
    http://garethroberts.blogspot.com

  • PL/SQL web service

    What application server can I deploy web services PL/SQL for? Can I use Oracle WebLogic or Apache Tomcat? In addition, security is important. Should I also the Oracle SOA Suite to run these web services?

    Thank you.

    Andy

    andychow wrote:

    Based on the following pages, it says we can publish web services from PL/SQL to certain kinds of application server. I have the application development Oracle APEX and wide writing PL/SQL packages. However, I don't know much about the web service and architecture that I need to get there.

    It's a roundabout way to create a web service of the IMO. It encapsulates calls to PL/SQL in Java code in order to define a web service. That is not necessary and approach classic head-up-DOS of Java fanbois.

    If an HTTP call are possible directly in PL/SQL, so why not do? So why put a layer of major and complex Java (usually on a separate platform of h/w too) between the appellant and the PL/SQL to provide a web service interface? How is it better?

    Fewer moving parts means less complexity and improve performance. Less performance problems and problems. Easier to code and maintain.

    Reality: it is not necessary for the external moving parts create a WebService from PL/SQL. And to do this, the Apache/mod_plsql or EPG of XDB is required to provide the very basic communication interface layer (at the protocol level) between the appellant and the PL/SQL web service procedure.

  • Problem running the report with the Web Service and BI Publisher

    Hello

    In fact, I'm trying to run a report of Bi Publisher via the Web Service.
    I use the following documents:
    -http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm
    -"How to integrate Oracle BI Publisher via Web Services in the form of Oracke.

    Everything works fine. But when I try to copy the file on the local computer is 0 length. I use the method of "getReportBytes".
    Here's the code I tried with:

    String userName = "Administrator";
    String password = "Administrator";

    System.out.println ("calling" + myPort.getEndpoint ());
    System.out.println (myPort.validateLogin (username, Password));

    ReportRequest repReq = new ReportRequest();
    RepRes ReportResponse = new ReportResponse();

    repReq.setAttributeFormat ("pdf");
    repReq.setAttributeLocale("en-US");
    repReq.setAttributeTemplate ("sales world");
    repReq.setReportAbsolutePath ("/ Sales Manager/World Sales/World Sales.xdo");

    repRes = myPort.runReport (repReq, userName, passWord);
    System.out.println (repRes.getReportContentType ());

    Byte [] binaryBytes = repRes.getReportBytes ();
    OutputStream out = new FileOutputStream ("D:
    out.pdf");
    out. Write (binaryBytes);
    out. Close();
    System.out.println ("success for performance report');

    Thanks in advance.

    Hello

    I assume you are using 10.1.3.4. Otherwise, my index is not relevant to you...

    There is a new parameter in the web service API to set the size of the segment. HéLas is by default not so, the behavior is as in versions (not size segment... the entire document at once). If you set the size of segment-1, you should get your document. So, try adding
    repRequest.setSizeOfDataChunkDownload(-1);

    concerning
    Rainer

  • Web Service problem

    With the help of OWB 11.2 on a Windows 2007 x 64 Server gives the following configuration:

    -Instance of DWREPOSITORY database with owbrep.owbrep workspace used to design repository
    -DWDEVELOPMENT database with owbrtrep.owbrtrep instance of the workspace is the instance of development where the mappings are deployed and executed (owbrtrep is repository only)

    In the repository of the design, we have a "DEV" configuration that points to the control centre of the OWBRTREP on the development instance.

    We have created a mapping model, tested and then published as a Web Service on the standalone OC4J instance that comes with OWB (default agent). No problem, the web service runs ok from the test interface.

    And then we put in a process flow and deployed and tested templaye mapping. The flow of the process of publishing a web service also seems to work fine, but when trying to run using the test interface it throws the following exception (in the OC4J console):

    "10/05/25 12:43:28 java.sql.SQLException: ORA-20008: the workspace with the name: OWBREP and the owner: OWBREP does not exist." You can find the info to existing workspace
    rmation of the ALL_IV_WORKSPACE view or view WORKSPACE_ASSIGNMENT.
    ORA-06512: at "OWBSYS. WB_WORKSPACE_MANAGEMENT', line of 1594
    ORA-06512: at "OWBSYS. WB_WORKSPACE_MANAGEMENT', line 1561
    ORA-06512: at "OWBSYS. WB_RT_SCRIPT_UTIL', line 1028
    "ORA-06512: at line 1.

    We are doing something wrong here? It seems that the web service expects to find the workspace name and the owner of the DEFAULT_CONTROL_CENTER (OWBREP), not the development instance where the flow of the process is actually deployed (OWBRTREP). Any ideas how we can get this to work? Is there an option somewhere to set the workspace information?

    Any help would be appreciated,
    Roald

    Hi, guys

    For now, it is assumed the process flow is on the same instance. You can file a bug and we can improve in future versions.

    The workaround is now: there is a global web service AgentWebService, which has already been deployed, you can access it through http://:/jrt/webservice, there is a method called runCCJob, with this method, you can provide the information of workspace, but it must also allow you to select more information. You can get help from http://:/jrt.

    Published by: shawn wu on June 22, 2010 19:54

    Published by: shawn wu on June 23, 2010 05:32

  • Project Web Service Proxy shaded in App with all Technologies

    I created a new application "without model [all techniques]" in Jdev 10.1.3.5.0.4306. I want to create a web service proxy, but there are many choices in gray, including the web service proxy. The only selection available under the Business-> Web Services layer is the connection of the UDDI registry. Any ideas on what I should do?

    I just downloaded JDev 10.1.3.5 on Oracle and I get the same question.

    Thank you

    Published by: 878316 on April 2, 2012 18:03

    Hello

    On your project properties (double-click on the name of the project) going to scope of the technology, if you are 11.1.1.6.0 or features if you are 11.1.2.x, then select web services, click ok and now when you go again that all your Web services options must be activate.

    -Juan C.

  • Deploy a web service on an old database proxy

    I'm studying on different approaches to call an external web service of PL/SQL and I came across this document pretty old how-to:

    Call a Web Service from the database

    The document explains how to create a proxy web service in Java with JDeveloper and how to deploy it in a database.

    The sample service is relatively simple. The service that I have to call exposes several methods that returns and requires complex objects as parameters, but I found more tips in the next song in the Oracle documentation:

    http://docs.Oracle.com/CD/B19306_01/Java.102/b14187/chsix.htm#BABBEAJI

    So I downloaded and installed the latest JDeveloper and I get a service proxy web work at a glance. When I tried to deploy to my old database (Oracle 10.0.2.5 running Java 1.4) I've got the errors listed in the attached paper (sorry for the names of class in Italian).

    As indicated in the last line, it seems that I have some kind of compatibility issue between the version of Java that I used to generate the proxy and that which is available on my server. If, as suggested, change the JDK 1.7 to 1.4 version, I get an error saying something like "you have used data annotation, but this feature is available from Java 1.5".

    Is there a way to force JDeveloper to generate a web service proxy ' 1.4 friendly '?

    With the provided link, I was able to get all the missing pieces of the software.

    Now I just need to convince our DBA to try this approach

    However, it is a different story

  • How to create the new record of web service in the ADF?

    Hello, I use JDeveloper 11.1.2.3.0. I created a class and published as a web service. I created a web method like this:

       public void addNewRow(MyObject cob)

    {

    MyAppModule myAppModule = new MyAppModule();

    try {

    ViewObjectImpl vo = myAppModule.getMyVewObject1();

    ================> vo object is now null

    Row r = vo.createRow();

    r.setAttribute("Param1", cob.getParam1());

    r.setAttribute("Param2", cob.getParam2());

    vo.executeQuery(); getTransaction().commit();

    }

    catch (Exception e) { e.printStackTrace(); }

    }

    As I have written in the code, myAppModule.getMyVewObject1 () returns a null object. I do not understand why! AFAIK AppModule must initialize the object itself, when I call "getMyVewObject1()", but maybe I'm wrong, or maybe that's not the way it should be for the web methods. Has anyone ever have this problem? Any help would be much appreciated.

    You must use Configuration.createRootApplicationModule () to create the new instance of AM.

    Example: creating root Application Module Instance & #8211; Oracle ADF | Techiecook & #039; s Nook

    Also, the methods in your AM can be automatically exposed as service web soap:

    Andrejus Baranovskis blog: Web Service Interface for molten Oracle 11 g ADF BC Application Module

    And note that your code has other issues, for example:

    vo.createRow () will not automatically add this line to the View object.

    vo.executeQuery () is not necessary...

    Dario

  • Ideas for REST Web Services

    Hi all

    I have to migrate my CS 2.1 extension Builder CS 3.0 extension generator

    As I do the research I found that I had a few items that should be updated.

    A major is: my extension communicates to a web service of MS SQL. Which returns data in XML format.

    I was wondering EB3 does support any type of service such as PHP layer or can I communicate to WS via JQuery?

    I don't really know what is the best approach, or perhaps EB3 already has this built in.

    JQuery is supported? (I so wish the thing) is I should be able to ust that.

    Mike

    Here is an example of the things REST of class of service management:

    myServices.factory ('resService', ['$resource',

    {function ($Resource)}

    return $resource ("http: / server: 8080/objects /: objectID', {}, {}")

    query: {}

    method: 'GET ',.

    params: {objectID: 'objectID'},

    isArray: true

    },

    Update: {}

    method: "PUT."

    {params:{ObjectID:'@ObjectID'}

    },

    delete: {}

    method: 'DELETE ',.

    params: {objectID:'@objectID'}

    }

    });

    } ]);

    I hope this will help you!

    Best regards

    Thomas.

  • Native Web Services database: XMLTYPE parameter in PL/SQL with XMLSCHEMA?

    Hello

    I would like to build a function with a parameter of XMLTYPE is the schema of the base, something like this:

    CREATE FUNCTION xy (p_xml XMLTYPE XMLSCHEMA 'http://myschema.com')...

    For now, I do the following code inside:

    l_xml: = p_xml.createSchemaBasedXML ('http://myschema.com');
    l_xml.schemaValidate ();

    / * validate XML with XSD code * /.
    l_nbr: = l_xml.isschemavalidated ();

    Why I want to put the schema directly in the statement is I want to use this function as a Web Service native Oracle. The web service does not know that the structure of the xml parameter because the schema is not known in the statement.

    Thank you and best regards,
    Andreas

    Published by: mdrake on November 8, 2009 21:55

    At the present time there is no way for the WSDL generated by the Native Web Services database to incorpirate this information. The problem is that there is no way to associate an XML schema to a variable value, parameter or return of PL/SQL. It should be the work of the XML DB and the PL/SQL to achieve group. It will consider a request for improvement.

    Workarounds only that I can think of would be to have a separate WSDL (made by hand) for this service. Of course, this will have to be to some other URL as expected, so this may not be viable, or to provide your own get (extended) WSDL service as part of the package, which adds the schema information in the WSDL. The Web Service consumer then you have to get the base/orawsv/parcel WSDL? WSDL, then get the WSDL extended by callling the appropriate method on the packaging...

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

Maybe you are looking for