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.

Similar Messages

  • 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 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 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

  • Is necessary a JAVA Server to create an Web Service in ABAP?

    Hi!
    I am trying to create a ABAP Web Service, but I dont know if I need a JAVA Server to create the same.
    Somebody can help me, please?
    Thanks and Regards!

    Yes, I find this Re: Activate abap proxy withou java stack on ECC side but my question is not answered.

  • 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.

  • 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.

  • Creating A Web Service from a Function Module in ERP2004

    I have searched for documentation on this without success.
    I would be grateful if anyone could point me in the direction of any documentation on this subject, how to do it and what infrastructure needs to be in place for it to work.
    Many Thanks
    David

    WAS640 makes the creation and consumption of web services very easy. Here is a help document to give you a step-by-step of how to create a web service in ABAP.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/37/01a7408f031414e10000000a1550b0/frameset.htm
    Hope this helps.
    Sudha

  • Error during creation of web service from abap rfc

    Hi,
    I'm creating a web service from abap rfc (SE37), but at the end  of Creation Wizard I have this error:
    "web service object already exist".
    This is my first web service creation. Into WSADMIN there are not web services with the same name.
    How can I solve this problem?
    Thanks!

    Hi,
    What system/release/SP do you use ?
    Beginning with Netweaver 7.0 SP14, you configure Web services with SOAMANAGER and you don't see them with WSADMIN...
    Regards,
    Olivier

  • Calling web service from ABAP - version 4.6C

    Hi,
    I would like to know how to call a web service from ABAP. Version is 4.6C. Any help would be greatly appreciated.
    Thank you,
    Rekha

    Hi Rekha,
    Please go through these..
    call web service using ABAP
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/da0710b6560a4e80fb94f3f712dfc0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
    Hope these help you!
    cheers,
    Prashanth

  • 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

  • Create a web service in jdev from an EJBSessionBean

    Hi,
    can someone tell me how to create a web service from an EJBSessionBean.java in jdev?
    I do like the EJBSessionBean was a simple java class but the web service doesn't work
    thanks

    hi again,
    i m going to tell you what i ve done:
    1- i created an entity bean from existing table(table users)
    2- then i create the session bean (methods are just the CRUD ones)
    3- after that i add a java service facade wich i use to generate a web service(all is good, generation is done and deployement of the web service is done without errors)
    4- then i run my web service. for exemple if i invoke the queryusersfindall it should display the data on the table, but what i get is an error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://oracle.model/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (Caught exception while handling request: java.lang.IllegalArgumentException: NamedQuery of name: Users.findAll not found.)</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    ----------------------------------------------------------------------

Maybe you are looking for