Please guide me how to create a web service

please tell  me the steps to create a web service.
Moderator Message: Please search before posting
Edited by: Suhas Saha on Sep 23, 2011 2:43 PM

That's exacly why I suggested you to ask your question in the SQL/PL SQL forum, since this forum is mainly about SQL Developer and your question is instead related to PL/SQL.
With SQL Developer you can easily create a trigger calling a stored procedure, by going to the triggers node and right clicking then selecting new trigger, and also the stored procedure in the same way, but you will then need to write the stored procedure itself and i do not know if there is a way to call a web service from there (i suspect there is but i'm not an expert in PL/SQL).
A simple Google search may also help you there but the guys in the SQL and PL/SQL forum will surely be able to give you a better answer.
http://www.google.it/search?client=firefox-a&rls=org.mozilla%3Ait%3Aofficial&channel=s&hl=it&source=hp&q=calling+a+web+service+from+oracle&meta=&btnG=Cerca+con+Google

Similar Messages

  • Can anyone please guide me how to create a table like employe table with 10

    Hi,
    can anyone please guide me how to create a table like employe table with 10colums.
    after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
    using the RFC we need to update the personal details coulums (either select query or Insert command)
    if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
    thanks in advance
    srinivas

    Hi....
    We are having one table and now i am going to update that table's fields...
    for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
    and in source code just write like following....
    ( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
    FUNCTION ZL2C_UPDATE_MYCUSTOMER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(USR_ID) TYPE  USRID
    *"     VALUE(LOGO_ID) TYPE  KUNNR
      DATA ls_mycust TYPE zl2cmy_customer.
      DATA: name1 TYPE name1_gp.
      DATA: sharpoint_url TYPE url.
      ls_mycust-usr_id        = usr_id.
      ls_mycust-logo_id       = logo_id.
      SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
        ls_mycust-name1       = name1.
        SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
          ls_mycust-sharpoint_url = sharpoint_url.
          INSERT into zl2cmy_customer values ls_mycust.
          COMMIT WORK.
        ENDFUNCTION.

  • Can anyone please guide me how to create itunes u public site?

    Can anyone please guide me how to create itunes u public site?

    Greetings;
    If you've already gone through the application process and you're ready to create you site, all the info that you need can be found here:
    http://deimos.apple.com/rsrc/doc//iTunesUAdministrationGuide/Introduction/chapte r_1_section_1.html
    All the best...
    Syd Rodocker
    Apple iTunes U Administrator
    Tennessee State Department of Education    
    Tennessee's Electronic Learning Center

  • How to create A web services step by step and their uses

    How to create A web services step by step and their uses with their T-Codes
    pls dont send any links
    thank you
    Regards,
    Jagrut Bharatkumar Shukla

    Hi
    Use the Tcode <b>WFWS</b> to create the Web service
    enter the Transaction to whih you wants create the web service and save
    Regards
    Anji

  • How to create a Web Service in RAD 7.0

    I created a simple session bean i want to create a Webservice for this bean.
    Please help me on this

    Please review
    Publishing
    web services to start. It is covered in most 3rd party
    ColdFusion MX and later books, too.

  • How to create asynchronous web services in OSB 11g?

    Hi,
    Using the workbench, when I try to create a web service from an existing WSDL, the workbench automatically uses JAX-WS.
    JAX-WS does not offer support for asynchronous web services, since it supports only HTTP ports (@WLJmsTransport does not work).
    Request your help in resolving this issue. One way is to use JAX-RPC but I do not know how to configure the workbench to use JAX-RPC instead of JAX-WS.
    Thanking you in advance.
    Regards
    Shyam.V

    Hi,
    see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">this</a> and also carry out a search in this forum, this has been asked before.
    Regards, Heidi

  • How to create a web services with Developer Studio?

    hi all,
    I would like to know how can I create a Web Services with Developer Studio 7.0, but a try because I could not publish it to consume.
    thanks!

    Thanks for your answers
    Web Services try when I get the following error:
    http://img386.imageshack.us/my.php?image=errorms9.jpg
    <--Localization failed: ResourceBundle='com.sap.caf.rt.resources.CAFExceptionResources',
    ID='MMR_BO_NOTFOUND', Arguments: ['Prueba2Service']-->
    I do not know what the cause of error
    thanks

  • How to create & use WEB services in WD4A?

    HI SDN,
    How can we create & use WEB services in WD4A?
    Can any one send me the link for it?
    Thanks in advance,
    Rahul

    Hi,
    see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">this</a> and also carry out a search in this forum, this has been asked before.
    Regards, Heidi

  • How to create default web service constructor with optional parameters in C#

    hi senior :)
    i tried to create a web services with a default constructor and another that takes few arguments, no matter
    what i do I couldn't call the non default constructor from the client! how can I pass my arguments in the constructor? worse yet, I tried to pass my arguments to another exposed WebMethod, guess what? the public or private variables i'm trying to update,
    do not get updated, what gives? any documentation on how to use web services? i'm pretty newbie at this. thanks

    http://forums.asp.net/
    You need to post to Web services section in the above forum.

  • Please Help! Unable to create a web service.

    Hi all,
    I have created a deployable proxy, a EJB with a stateless session bean, and a enterprise application project with the above ejb added. I add the deployable proxy into ejb, so that i can utilize the interface(web service) provided by the external party. After i implement the code to call the web service from external party in stateless session bean, i should create a web service by right click on session bean>New>Web Service. However, nothing was happened while a pop up window of web service creation wizard should appear. NWDS showed "End Point Doesn't Exist" when i tried to create the web service by File>New>Others>Web Service>Web Service (New VI and WSD).
    Anybody have any idea of it? Your help will be apperciated.
    Warmest Regards,
    Jane

    Hi all,
    I notice that once i implement the interface from deployable proxy, the problem of "SEI doen't exist" appeared.
    Anyone can help pls? anyone encounter the same problem before? It is urgent.
    Thank in advance.
    Warmest Regards,
    Jane

  • How to create a Web Service in ABAP 4.7E

    Dear Experts,
            We are on SAP R/3 4.7E. Can anybody tell me what are the Pre-requisites or steps to exposed an existing BAPI / RFC's as Web Services. Kindly explain me in detailed. or if any link is available.
    Regards,
    Umesh

    Hi Umesh,,
    Follow these Steps:---  They may help you...
    +Configuring Web Service Security in AS-ABAP
    Use
    To configure Web service security in SAP NetWeaver usage type AS-ABAP, you have to do the following:
    · Configure the RFC destination for the Web service security services
    · Configure the logical port for the Web service security services
    Configuring the RFC Destination
    Perform the following steps to configure the RFC destination for the Web service security services:
    1. Use transaction SM59 to create a new RFC destination of type HTTP Connections to Ext. Server.
    2. Specify connection type G and enter an arbitrary description.
    3. Specify the following technical settings:
    ¡ Target Host: Host name of the Integration Server (AS-Java)
    ¡ Service No.: Port number of the Integration Server (AS-Java)
    ¡ Path Prefix: Path prefix of the Integration Server (AS-Java)
    Depending on the logon procedure or security settings you are going to specify in Step 4, you must set the path prefix as follows:
    § If the logon procedure is Basic Authentication and the SSL option is inactive, enter the path prefix /wssproc/plain?style=document.
    § If the logon procedure is Basic Authentication or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/ssl?style=document.
    § If the logon procedure is SSL Client Certificate or Send SAP logon ticket, and the SSL option is active, enter the path prefix /wssproc/cert?style=document.
    4. Select the logon/security settings that correspond to the path prefix specified in Step3..
    Configuring the Logical Port
    Perform the following steps to configure the logical port for the Web service security services:
    1. Use transaction LPCONFIG to configure the logical port by specifying the following attributes.
    Settings for the Logical Port:
    Attribute
    Value
    Proxy class
    CO_WSSEWSSPROCESSOR_VI_DOCUMEN
    Logical port
    BASIC
    Description
    Any description
    Default port
    Select the check box
    Runtime
    Select Web Service Infrastructure
    Call parameter: HTTP Destination
    Enter the RFC destination you configured above
    2. Save and activate the logical port.+
    +Wizard-Based Basic Configuration
    After full installation and before manual configuration, you can run the wizard-based basic configuration for SAP NetWeaver usage type PI. The configuration wizard saves you time and manual steps.
    Only carry out the wizard-based configuration if your system has never been configured before. If you have modified the system already or if you have upgraded from an older release, do not use the configuration wizard. Instead, use the manual steps as required.
    To carry out the wizard-based configuration steps required for your PI system, perform the following steps:
    1. Call the wizard-based configuration tool as described in Configuration Wizard.
    2. Select the scenario PI and the task PIPostInstallProcess.
    3. Choose Execute.
    A list of the steps to be executed by the wizard is displayed.
    4. Choose Install.
    The steps are executed one after the other (some steps may take some time).
    The wizard-based configuration for usage type PI performs the following post-installation steps:
    ● Checking sap.com services
    ● Performing automatic customizing
    ● Assigning application roles to user groups
    ● Maintaining a product for the technical system
    ● Maintaining a business system for the Integration Server
    ● Creating RFC destinations in the ABAP environment
    ● Creating RFC destinations in the ABAP and Java environments
    ● Creating the HTTP destination pmistore
    ● Configuring the role of the Integration Server
    ● Registering queues used by the Integration Server
    ● Triggering the Self-Registration of the Adapter Engine
    If you do not want to use the configuration wizard to perform the basic configuration steps required for usage type PI, you have to carry out these steps manually as outlined in the step descriptions you access by following the hyperlinks above.
    Afterwards, perform the following checks:
    Ensure that
    See
    You have installed the XI add-on in each involved business system that is based on SAP Web Application Server (AS) 6.20.
    Use SAP Web AS 6.20 kernel patch level 1253 if you want to generate new ABAP proxies in your business systems based on SAP Web AS 6.20.
    SAP Note 439915; if you generate ABAP proxies, see SAP Notes 675441 and 721160.
    You have imported the content of software component SAP_BASIS into the Integration Repository (interfaces, mappings, and so on).
    For more information, see Importing Process Integration Content.
    The connection between the Integration Server and the SLD has been established by calling transaction SLDCHECK.
    The system displays a log that lists the current configuration data, the function test results, errors, and notes for checking.
    Installation Guide SAP NetWeaver 2004s on SAP Service Marketplace at service.sap.com/installNW2004s.
    SAP System Landscape Directory
    System Landscape Directory in SAP Exchange Infrastructure.
    If you want to use a central SLD, further manual steps are required. For more information, see SAP Note 939592.
    If you want to use an Integration Server client other than 001, further manual steps are required. For more information, see SAP Note 940309.
    +
    +Optional Additional Configuration Steps
    The following additional configuration steps are optional:
    · Configuring the Change Management Service (CMS)
    · Configuring message archiving for the Adapter Engine
    · Configuring the Integration Builder documentation editor
    +
    And then you may goto Link->:http://help.sap.com/saphelp_nw04s/helpdata/en/b8/cb1141e109ef6fe10000000a1550b0/frameset.htm
    This will give you complete description ...
    "Plz Dnt forget to reward points"</b></u> 
    Regards,
    Mandeep.

  • 11G - XDB Native Web Services - how to create a web service proxy

    Hi,
    I am working on XDB Native web Services (http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm#CHDDBCHB). I want to create a proxy web service for orawsv service (http://server:port/orawsv?wsdl), which is protected by an user/password
    In Jdeveloper 10133:
    + copy orawsv wsdl (http://server:port/orawsv?wsdl) in local file
    + create a proxy web service form the local wsdl (from the wizard)
    + implement the client (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/xmldb2_b/xmldb2_b.htm)
    ==> OK
    In Jdeveloper 11g
    + copy orawsv wsdl (http://server:port/orawsv?wsdl) in local file
    + create a proxy web service form the local wsdl (from the wizard)
    + how to implement the client : there is no method to set a password
    any ideas?
    Thanks for your help,
    Cyryl
    Edited by: cbalmati on Oct 21, 2008 6:26 AM

    I'm working on getting a proxy web service working in 11g and the contents of this thread is close to answering my question.
    The web service proxy is accessing a service that requires a SOAP Security header.
    In looking at the previous post, I thought that by using the BindingProvider API I could add the security settings. But when I invoke the proxy I consistently get the following error response from the (PeopleSoft) web service: "com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized'
    In contrast to that error, when I use JDeveloper's HTTP Analyzer, I get a successful response from the web service. Below is what the raw HTTP looks like:
    POST https://isiswebdev.services.wisc.edu:7002/PSIGW/PeopleSoftServiceListeningConnector HTTP/1.1
    Content-Type: text/xml; charset=UTF-8
    Host: isiswebdev.services.wisc.edu:7002
    SOAPAction: "CI_U_FA_CSA_STDTA_CI_G.V2"
    Content-Length: 548
    X-HTTPAnalyzer-Rules: 1
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://xmlns.oracle.com/Enterprise/Tools/schemas/M183895.V1">
    <env:Header>
    <ns1:Security>
    <ns1:UsernameToken>
    <ns1:Username>UserName</ns1:Username>
    <ns1:Password>XXXXXXX</ns1:Password>
    </ns1:UsernameToken>
    </ns1:Security>
    </env:Header>
    <env:Body>
    <ns2:Get__CompIntfc__U_FA_CSA_STDTA_CI>
    <ns2:EMPLID>012345678912</ns2:EMPLID>
    </ns2:Get__CompIntfc__U_FA_CSA_STDTA_CI>
    </env:Body>
    </env:Envelope>
    Here's the Java code that I'm using to try to make the same call:
    public void callIWebservice(String emplId){
    cSA_STDNT_DATA = new CSA_STDNT_DATA();
    CI_U_FA_CSA_STDTA_CI_PortType port = cSA_STDNT_DATA.getCI_U_FA_CSA_STDTA_CI_Port();
    Map<String, Object> requestContext = ((BindingProvider)port).getRequestContext();
    requestContext.put(BindingProvider.USERNAME_PROPERTY, "UserName");
    requestContext.put(BindingProvider.PASSWORD_PROPERTY,"XXXXXXX");
    GetCompIntfcUFACSASTDTACITypeShape CiType = new GetCompIntfcUFACSASTDTACITypeShape();
    EMPLIDTypeShape emplIDType = new EMPLIDTypeShape();
    emplIDType.setValue(emplId);
    CiType.setEMPLID(emplIDType);
    try {
    GetCompIntfcUFACSASTDTACIResponseTypeShape response = port.getDATA(CiType);
    System.out.println(response.getCUMGPA());
    } catch (M464939V1 e) {
    System.out.println(e.getFaultInfo());
    But, alas, I just get the ClientTransportException.
    Is the Bindingprovider interface the correct way to add the soap security headers? Or am I following the wrong path?
    Any help will be greatly appreciated.

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Error creating a web service in NWDS SP18.

    Hello,
      I created a web service DC. It works fine when I test this with Web Services Navigator. I get the output as expected. But when I test it with Enterprise Portal Web Services Checker in NWDS, I get this error:
    "The SOAP Message returned is not well formed
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Unable to create message from source"
    When I tried creating a web service using a simple J2EE-->EJB Module project, added to an EAR project and deployed, I see the same error. In both cases am able to successfully test on Web Services Navigator...
    Any body let me know how to create a web service in NWDS SP 18...
    Thanks
    Srinivas

    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/f272e75d-0501-0010-1786-ab6ed3496bb1&language=en

Maybe you are looking for