Using PL/SQL to create a Web Service?

Hello world:

I have a question, I have not found in the research of wire. The light went off in my head on SOA and weakly couples services... Perl farm there, c# shut up and PL/SQL Ranch right here and so on... all the outputs of product in XML format for common use. I know that we can query results PL/SQL in XML format with some effort, but I want to know is how completely (Stepwise A - Z) create a PL/SQL web service and SOA standard. So this piece of the pie I'm missing?

Thank you

Preston
See you soon!

You are looking for something like this?

Web Services using native Oracle XML DB

Tags: Database

Similar Questions

  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • How to use PL/SQL to create dynamic action to set the value of a selection by another list?

    Hello

    I would like to know how to use PL/SQL to create dynamic action to set the value of a list of selection by another selection list.

    1.PNG

    I wish can create dynamic action to manage the two above the Room select list (: P9_ROOM) and building (: P8_BUILDING).

    When you select "1074" in the bathroom, building highlights like "BRM BLD 5"

    When you select 'Area of the black box' in the room, building must assign the value "7 BLD BRM"

    When the room is Null, building should also be Null.

    I thank you,

    Alice

    I forgot to mention, for the PL/SQL Code, because you are working with items in the selection list, the return values are different from the display on your LOV values, you must instead use the return values.

    Thank you

    Erick

  • Create the web service for foreign service composite of soa

    Hello

    only a few things to know.

    Worth better tick: copy wsdl and its dependend in the project artifacts?

    Which option to choose in Participation of the Transaction?

    Tryng to create a Web service to call a service proxy on OSB.

    Thank you.

    Fairlie

    Fairlie,

    Here you can find details on the transaction of participation parameter values - http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/sca_bindingcomps.htm.

    This setting basically said if the appeal service should participate in the transactions of the process (if there is). If you want to keep the transactionality between the process and the OSB service, you'd better direct soa user liaison who takes in charge transactions. If you the OSB is transactionless, you can leave it blank.

    With respect to the WSDL, I would avoid the copy, but you should interest you when you deploy your process between different environment, for example, test, and production. In this case, you provide the configuration level to replace the URL of the WSDL for production test.

    See you soon,.

    Anatoli

  • How to create a Web services to an external service and deploy to weblogic

    Hello

    I am trying to create a Web service for the wsdl
    http://ABR.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL
    who will help me to validate the number of the NBA.

    And I would like to create a war file and deploy it to a weblogic server,
    But the server is running behind the firewall,
    I could run the webservice of jdeveloper, but when deploy us in weblogic server
    the Web service does not work,

    We need to give the parameter in the Web service itself or the proxy details must exist in the weblogic proxy server?

    Thank you.

    With respect,
    Kali.
    OSSI.

    Kali,

    IMO, it would be preferable to apply the proxy settings on a global scale.

    I can't see a specific proxy settings page on my weblogic instance. Perhaps, you must add the properties of the JAVA virtual machine directly in the weblogic startup script.

    Edit: For a server JVM Arguments can be configured in the WLS console-> choose the server and go to Configuration-> start server.

    Published by: BijeshKrishnadas on October 18, 2010 21:01

  • Cannot create the web service stored procedure.

    I can create more web services is by right clicking on the package of the stored procedure in the db connection. This good worked before and I cannot explain why I can't see this option. Grateteful for tips on why it has stopped working.

    '2009' is what Oracle said.

    John

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

  • PL/SQL proc as a web service

    Oracle 11.2.0.x
    Reference: Accessing PL/SQL procedures stored using a Web Service (< i > Oracle Developer of Microsoft® XML DB Guide < /i >).

    The feature works very well. Have tested a number of written PL/SQL procs customized this way - is used as a web service and SoapUI and UTL_HTTP procedures as customers, call the web service.

    Issue.
    Can it withstand WSS (Web Services Security) with this feature?

    I added a WSSE to the header of the SOAP envelope when calling - using the standard password (no digest) and the default address. Orawsv XDB servlet accepts the call, the analysis of the SOAP envelope and executes the PL/SQL procedure successfully.

    However, it uses Basic authentication (schema name and password). Not the WSSE.

    Because the WSSE authentication data are part of the SOAP header (and not the body envelope), the PL/SQL procedure of course don't don't can't see the details of the WSSE. (also would make sense ito how XDB abstracts orawsv as a web service interface and allows procedures PL/SQL standard vanilla and functions to be used as web service endpoints).

    So if the WSSE must be supported, this would probably mean that he needs to be supported in XDB himself. And it is outside my small area of expertise of the Oracle.

    Not much on the net (many UTL_DBWS) and just a couple of basic orawsv supports Metalink notes.

    Ideas, suggestions or pointers will be appreciated.

    Thank you.

    WSS will not be supported by Native Web Services database. It is a deliberate choice to differentiate when an application server should be used Vs when DBNWS is appropriate. If you are in an environment where WSS is a requirement, you should be usiing an applications, such as Oracle WebLogic Server, to offer your Web Services.

    It said the next version of the database willl help DIGEST so authenitcation BASE for HTTP. If the current model of BASIC authentication is a problem, then you should force the use of an SSL (HTTPS) connection. That's why we have the role XDB_WEBSERVICES_OVER_HTTP. If this role is not granted then the DBNWS accessible only using HTTPS.

  • Cannot create the web service proxy in jdeveloper

    Hi all

    I'm unable to create a proxy web service by using the URL of the web service (https://domains.live.com/service/managedomain2.asmx?wsdl). I get an error saying "no WSDL not could be found. I am able to open the same URL in the browser. As the web service is secured by SSL, do I need to add anything on the jdeveloper to access this web service? Help, please


    Note: The web service must be called on https

    -MJ

    Hello

    The parameters are the proxy settings that are necessary for JDeveloper to connect to external sites - other than those available in the internal intranet.
    To connect to internet/external sites, you must have for this parameter. Here, as you try to connect to the external site - Windows live, you will need these settings.

    Thank you
    Nini

  • Why short use SOAP based instead of REST web services

    I have a very basic question about why short uses web services SOAP based instead of RESTING the REST is very light?

    Kumar,

    To a large extent, the choice of the web service protocol is orthogonal to how short Server communicates with Studio (aka short discovered Information).  EID has been designed as a set of tightly coupled of capabilites and we not usually expect users to develop a custom front-end that would require a knowledge of the workings of.

    Ryan S. - EID PM

  • How to use generated code of &amp; quot; Import Web Services &amp; quot; with Cairngorm framework

    I recently downloaded Flex Builder 3 beta 2 and try the wizard that allows you to import web services. The code that is automatically generated makes it so simple to consume web services using the types of objects defined in the WSDL file. Is no longer the developer don't need decode the XML load! The only problem I have is how you integrate the code automatically generated with the Cairngorm framework? This seems to be a huge issue for those who would exploit Cairngorm and code the proxy generated automatically in the same project (like me).

    Here are the problems I see so far.

    (1) how to configure the service generated class to work with the Cairngorm service locator? The service constructor only accepts a 'destination displays LCD chain' which means that you must use life cycle data services. Unfortunately, the project that I am in the process of renovation currently uses a Web service and does not use data services. All I really need to do is change the URL of the endpoint (that is, from the local level to a development server). This issue is noted in the bug https://bugs.adobe.com/jira/browse/FB-8456. I think there is a way to put the endpointURI in the Services.mxml file.
    (2) even if I come with a hack autour #1, I do not get a reminder for my same IResponder if I save it immediately after the method call. I can record and function of earphone within my business delegate and receive the reminder, but my command object that implements IResponder, did not call back even if it is registered. From what I've read in the ASDocs should be, but this isn't for me!

    These are the questions that I have observed in 3 hours to play with this. I hope this makes sense. I would like to integrate automatically generated in Cairngorm web service proxies, but I don't see a right lane to the front without redesign of Cairngorm. Has anyone else encountered this problem? If so, do you have any ideas on how to proceed? Any help is appreciated.

    Hi guys,.

    Now we focus on the generated code the right way and try to make it work for as many cases as possible. As soon as we receive some time we will try to see what is the best way to use Cairngrom.

    In the meantime, if you find a way or a great idea do not hesitate to post here.

    Thank you
    Cristian

  • empty pdf report created by web service-solved

    Hi, I'm testing the web service for BI Publisher with a data source xml and evn if I get no error in jdeveloper, I get a blank report. Can we see something wrong with my call to the webservice?

    Public Shared Sub main (String [] args) {}
    try {}
    bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient ();
    System.out.println ("calling" + myPort.getEndpoint ());
    String username = "cbashyb";
    Password String = 'test ';
    String reportAbsolutePath = "/ ~cbashyb/Contract contract renewal/Renewal.xdo";
    Test runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath (reportAbsolutePath);
    repRequest.setAttributeTemplate ("Contract_Renewal_Upgrade");
    repRequest.setAttributeFormat ("pdf");


    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport (repRequest, username, password);
    String contentType = repResponse.getReportContentType ();
    System.out.println (ContentType);
    Byte [] baReport = repResponse.getReportBytes ();
    FileOutputStream fio = new FileOutputStream ("C:\\Documents and Settings\\cbashyb\\My Documents\\XML Publisher\\renewal letter\\Brian.pdf");
    FIO. Write (baReport);
    FIO. Close();

    Published by: user647407 on December 9, 2008 08:47

    Set this,

    repRequest.setSizeOfDataChunkDownload(-1);

    You should be able to download the data.

  • Everyone using foam (Python) SOAP client vSphere Web Services?

    With the help of Python 2.4.3 with python-foam - 0.3.9 - 1.el5, I try RetrieveServiceContent using the following code:

    #!/usr/bin/env python
    
    from suds.client import Client
    
    import logging
    logging.basicConfig(level=logging.INFO)
    logging.getLogger('suds.client').setLevel(logging.DEBUG)
    logging.getLogger('suds.wsdl').setLevel(logging.DEBUG)
    
    url = 'https://192.168.0.111/sdk/vimService?wsdl'
    
    client = Client(url)
    
    client.set_options(location='https://192.168.0.111/sdk')
    
    o = client.factory.create('ns0:ManagedObjectReference')
    o._type = 'ServiceInstance'
    
    result = client.service.RetrieveServiceContent(o)
    

    I get the following error...

    Debug:SUDS.client:http failed:

    Given that it is supposed to be an anonymous operation, why it fails with "the session is not authenticated '?

    So, I dug around.

    Basically what I see is that Python suds is not really wait for an XML element with an attribute and a text node.

    For example, a call to RetrieveServiceContent looks like this:

     
    
    <_this type="ServiceInstance">ServiceInstance
    
    

    Foam call ends up looking like this:

    
    
       
       
          
             
          
       
    
    

    Looks like you should be able to create your ManagedObjectReference like this:

    o = client.factory.create('ns0:ManagedObjectReference')
    o._type = 'ServiceInstance'
    o.value = 'ServiceInstance'
    

    However, it will not process it for some reason any.  It does not work:

    o = Property('ServiceInstance')
    o._type = 'ServiceInstance'
    result = client.service.RetrieveServiceContent(o)
    

    I think that you can only hit this snag with the object of foam ManagedObjectReference.  But don't hold me too it.  You can have custom create your object references managed your calls using the property class.

    Here's a working example:

    from suds.client import Client
    from suds.sudsobject import Property
    
    import logging
    logging.basicConfig(level=logging.INFO)
    logging.getLogger('suds.client').setLevel(logging.DEBUG)
    logging.getLogger('suds.wsdl').setLevel(logging.DEBUG)
    
    url = 'https://172.16.50.11/sdk/vimService?wsdl'
    
    client = Client(url)
    
    client.set_options(location='https://172.16.50.11/sdk')
    
    mo_ServiceInstance = Property('ServiceInstance')
    mo_ServiceInstance._type = 'ServiceInstance'
    
    result = client.service.RetrieveServiceContent(mo_ServiceInstance)
    
    mo_SessionManager = Property(result.sessionManager.value)
    mo_SessionManager._type = 'SessionManager'
    
    result = client.service.Login(mo_SessionManager, 'root', 'VMware1!')
    
    print "Login Time: {0}".format( result.loginTime )
    
  • Programmatically control a Web Service (SOAP/REST) data control

    Hello

    I'm relatively new to JDeveloper and I need help. Asked me to create a JAX - WS, who will be used in an Oracle DB procedures. It works very well. The problem is that the JAX - WS needs to communicate with a web 3rd party service that is rpc/encoded so I am not able to use the Proxy Client of Service Web JDeveloper, as it will not accept this type of web service.

    I would like to know if I could use the JDeveloper to create a Web Service (SOAP/REST) data control that points to 3rd party encoding/rpc, how could I call this my JAX - WS DataControl to execute the methods available in the DataControl programmatically?

    Or is there another solution that would allow the JAX - WS to use the RPC/Encoded Web Service?

    Thank you

    Daniel

    http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/amxwebservices.htm

  • Problem with creating Web Service Client using Oracle JDeveloper

    Hi all

    I am trying to create a Web Service Client using Oracle JDeveloper. The property of the compiler of the project I updated JRE 1.4

    When I run the web service client, he gives me a lot of errors saying:
    ' Error (32.2): annotations are not supported in - source 1.4'

    I wonder why JDeveloper uses annotations even after that I set the compiler property to 1.4

    I'm following this link to create the Web service client:
    http://www.Oracle.com/technetwork/developer-tools/forms/WebServices-forms-11g-094111.html

    Any help in this regard would be greatly appreciated.

    Thank you
    Scott.

    Scott, when you run the proxy Web service in JDeveloper, you will see a bunch of jars listed in the classpath in the Journal JDeveloper window.
    All of these classes must be in the classpath of your server when the class is deployed there.
    Note that by default, I don't think they are going to be included in the JAR that you build for the proxy when you deploy.

Maybe you are looking for

  • Firwfox new version 12 does not download on Mac. will not open... etcetcetc

    Tried several times... they also don't have any ruined tech support.Followied invite you to download... does not open etcetc...

  • Windows 8 new driver for bluetooth

    After the update to windows 8 pro I can't install drivers for bluetooth. It is impossible to install the broadcom (ver. 12.0.0.2100), installation drivers do not stop because bluetooth is not enabled. I can not activate bluetooth because 'HP connecti

  • Satellite A30 does not start

    I hope someone could help. My A30 does not start although DC is green and the battery charges (amber). There is no beep or Flash. I removed the battery and tried to start on the current. Did not work. (75% frustration level) Heeeelpppp

  • Map of graphics update in a GB specifications

    I would like to install an updated video card my laptop NVIDIA GT720M, I am in contact NVIDIA who referred me to HP the manufacturer of the laptop, I rang them and they don't give me advice at all (some customer service) can each there say if I put a

  • Failed to create system restore point, the option is grayed out

    Original title: System Restore point I can't manually create a system restore point, the box is grayed out. Also it does list not the previous points to restorew, but the so-called whenever I have use windows update it is to create a.