Web Service -- ABAP

Hello All
I have created a Web Service with no authentication type.
When I test the Web Service from the WS Navigator, system asks to enter the Logon again.
Why is it so ?
Is there some setting in Server that overrides my Web Service logon setting ?
Or I am creating the Web Service incorrectly ?
I have created this WS in Dev system( and collected the WDSL) and attached with the Transport Request.
When this WS gets transported to the next system, WSDL has to be regenerated ?
Please advice
Cheers
RJ

Any one to help

Similar Messages

  • Java Web Service / ABAP Client proxy ... username & password

    I have some ABAP function modules that need to use some Java web services. For this, I have created a client proxy that is utilized by the ABAP function module and the client proxy in turn communicates with the Java web service.
    The web service does BASIC (USERNAME/PASSWORD) HTTP AUTHENTICATION. When I execute the ABAP function module in test mode, I am prompted with a username/password. How can I pass this username and password to the Java web service programmatically.

    Hi
    See this Help
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/14e13d8ee4535ee10000000a114084/frameset.htm
    Kind Regards
    Mukesh

  • Web Service - ABAP. Where can I found documentation ?

    Hi expert,
    Where can I found documentation about web service - (stack ABAP and not JAVA)   ?
    for me is important also basic information...
    Tks ,
    bye.

    Hi,
    Try with the following links for web service (e-learnig).
    https://www.sdn.sap.com/irj/scn/advancedsearchcat=sdn_media&query=Web+Services&adv=false&sortby=cm_rnd_rankvalue
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_media&query=webServicesabap&adv=false&sortby=cm_rnd_rankvalue
    Thank you,
    Sekhar.

  • Limitation on data that can be fetched (ABAP RFC) via a Web Service?

    Hi,
    Is there any limit on the data that can be fetched via a Web Service (ABAP exposed as Web Service). I am trying to fetch PI monitoring data from ABAP Tables via a Web Service and there can be thousands of messages proceesed say in a day and what if user is provided the option of fetching messages for a specefic duration.
    Please advise.
    Neha

    Hello my friend
    If I understand your question correctly, there's an environment variable CPIC_MAX_CONV handles sessions between integration engine and adapter engine (ABAP and Java). By default, the value of this variable is 500, and you might want to increase it to 1000 at least, depends on system throughput. Recommended value from SAP for Production is 5000.
    Hopefully it's helpful,
    Effan

  • ABAP Web Services Exception Valorization in SOAP Fault Message

    Hi,
    I created a Custom Function Module in ABAP with a custom exception ( "Exception1) in exception list (including a short text description of the exception ("This is the first exception!!!")).
    I exposed it as web services by means of 'Web service ABAP creation wizard".
    I hard coded the raising of the exception in order to see the valorization of SOAP Fault Message.
    The problem is that the field "Text" in SOAP fault message is empty instead of "This is the first exception!!!".
    Can you help me?
    Thanks in advance
    Giuseppe
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
         <soap-env:Body>
              <soap-env:Fault>
                   <faultcode>soap-env:Client</faultcode>
                   <faultstring xml:lang="it">Exception1</faultstring>
                   <detail>
                        <n0:Zprova.Exception xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
                             <Name>Exception1</Name>
                             <Text/>
                        </n0:Zprova.Exception>
                   </detail>
              </soap-env:Fault>
         </soap-env:Body>
    </soap-env:Envelope>

    Hi,
    in case you want some specific text,you can raise the exception  like this in your function module.
    MESSAGE I001(ZPLATINO)  RAISING EXCEPT1.
    message class: ZPLATINO
    exception        : EXCEPT1
    message no 001,
    message text : CHECK ERROR PUSHKAR1
    and your response will be like.:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
         <soap-env:Body>
              <soap-env:Fault>
                   <faultcode>soap-env:Client</faultcode>
                   <faultstring xml:lang="en">EXCEPT1</faultstring>
                   <detail>
                        <n0:Zpl.Exception xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
                             <Name>EXCEPT1</Name>
                             <Text>CHECK ERROR PUSHKAR1</Text>
                             <Message>
                                  <ID>ZPLATINO</ID>
                                  <Number>001</Number>
                             </Message>
                        </n0:Zpl.Exception>
                   </detail>
              </soap-env:Fault>
         </soap-env:Body>
    </soap-env:Envelope>
    I think this solves your problem.
    points..points..:)
    Message was edited by:
            pushkar anand

  • Web Service u0096 ABAP proxy  synchronous interface

    hi experts,
    can you suggest me how to do this scenario?
    <i><b>Web Service – ABAP proxy  synchronous interface.</b></i>

    hi,
    you can create a web service on XI
    which will call ABAP proxy (on ERP, SRM etc)
    in a synchronous way (you just need to generate the proxy class
    in TCODE SPROXY)
    then you can fill the method of your generated proxy class
    and you will have WS - ABAP proxy interface
    have a look at this to undrstand server proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problem testing a Proxy / Web Service

    hi everybody.
    I created a proxy / web service for an interface defined in the xi repository. i can test this service in the Enteprise Service Browser in SE80 (F8) sending a soap request and and everything works fine.
    now my intention is to call this web service from outside. I defined an endpoint using transaction SOAMANAGER and used the wsdl document for that binding (from the given link) to send a soap request using the testing tool soapUI.
    if I do not define username and password i receive: Logon Error Message. but giving the information I also receive a error:
    <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
        <faultstring xml:lang="en">SRT: Authorization denied</faultstring>
           <detail>
              <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/
    soap/runtime/abap/fault/system/">
                   <Host>Provider</Host>
                   <Component>SECURITY</Component>
                   <ChainedException>
                      <Exception_Name>CX_SOAP_CORE</Exception_Name>
                      <Exception_Text>SRT: Authorization denied</Exception_Text>
                   </ChainedException>
                </ns:SystemFault>
         </detail>
    </soap-env:Fault>
    for the service and point I have activated http authentification and checked the box user-id/password (authentification method is sapsp:HTTPBasic)
    by the way I did not configure a J2EE host and port in the system settings of SOAMANAGER. is this a must? where and why do I need this for?
    thanks for any help!

    hi everybody.
    when calling the web service/abap proxy with an user having SAP_ALL everything works.
    for me this seems curious because before we gave me all the user roles mentioned in sap help and the tutorials:
    SAP_BC_WEBSERVICE_ADMIN
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    SAP_BC_WEBSERVICE_SERVICE_USE
    which role is missing which is necessary for using web services via soap? does anybody know?

  • How to consume the Abap web service in Java web-dynpro

    Hi Everyone,
    I want to consume ABAP web service in java web dynpro.
    so when i tried to create model in java web-dynpro, it gave me an error message saying "Invalid WSDL or WSDL not found".
    i think this error message is because, to access the WSDL of abap web-service, we need username and password, but the dialog box in java web-dynpro is not programmed to take username and password from us and send it to the server to get the WSDL.
    i came to this conclusion because i was able to successfully test my abap web-service in java portal. the java portal asked me the username and password to open the WSDL.
    So, please help me to consume the abap web service in java web-dynpro.
    Thanks in advance
    Regards
    Vikas

    Hi Vikas ,
       while creating a model in web-dynpro try to use the "import web service model" option and if you are using local server choose the local server option so that you can get the available web services which are in server, select one among them and continue you process.I think this is the some what easy way .
    If you want use the URL for wsdl better to once test the available service in server and copy that WSDL URL and paste over  WSDL textbox.
    I think this is pretty help ful to you
    Best Regards
    Srikatnh

  • Questions on web services in the CRM system from abap

    Hi, we are new to consuming web services within the abap engine and have a couple of questions
    When we consume the webservice do we have access to the web.xml and ejb-jar.xml deployment descriptors is there a standard servicref element
    Are these descriptors editable so we can add JAX/RPC client side messages to the service ref element
    What are all the versions also as I can't seem to find any info also any documentation on the above if it exists would be greatly appreciated
    Cheers,
    Devlin

    Hi Devlin,
    When you can consume the services with CAF core or deployable proxies within Netweaver04s, you are able to see the web.xml and the ejb-jar.xml deployment descriptors.
    For Comsuming services within ABAP,this doc shoukd serve the purpose,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
    This doc shows how to provide and conmsume services in ABAP,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    Also I found an old doc which talks about consuming in Netwaever,probably throws somelight on deployable proxies.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c4e8960-0501-0010-fc82-bb83af9155bf
    Message was edited by:
            Karthik S J

  • SSO and ABAP Web Services

    I am opening this thread on behalf of my colleague Bala regarding SSO and ABAP Web Services.
    We have gone through single sign on options and found several options are available within 5.0.
    We would like to know the options available for SAP ABAP web services access from a Non-SAP system with user authorization but without Portal/ITS installation.
    Also I would like to avoid any hard coding of user id in Non-SAP system .
    Could you provide any information.
    Thanks,
    Bala

    We have gone through single sign on options and found several options are available within 5.0.
    Tell me what are the several options and what is your Non-SAP system?
    without Portal/ITS installation.
    ITS is now an integral part of ECC 5.0 system. So would not need a seperate installation, unlike earlier versions.
    AB

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

  • Calling a web service in an ABAP code

    Hello Experts,
          Is it possible to consume a web service in an ABAP code?
    Note: I am using SAP R/3 4.7.
    Thanks!
    Jeffrey

    Do you mean opening the web browser through our ABAP source code?
    If yes, then please use the function module: "CALL_INTERNET_ADDRESS". This will do the job for you..
    Reward points if I have helped you.
    Regards

  • Calling a web service In Netweaver 7.0 abap stack through an external alias

    Hello,
    In CRM 2007 (Netweaver 7.0 abap stack SP 16), we have defined a web service from a module function using the wizard and configuring it with SOAMANAGER.
    This web service works great when calling it with the "official" URL, something like :
    http://host.domain:port/sap/bc/srt/rfc/sap/zwebservice/client/zoperation/zbinding
    We would like to use a more simple URL. So with SICF, I have created an external alias /zwebservice which points to the "official" URL.
    The problem is that it does not work. I get every time an HTTP 500 error code and an error Message
    u201CThe configuration of the http server is missingu201D.
    Do you think that it is possible to call a web service through an external alias ?
    Thanks in advance for any ideas or solution !
    Olivier

    Seems that no one has tried it...
    I close the question.

  • Calling a web service in ABAP

    Hello Experts!
    After I am assuming the SOAP Experts at the SOAP Forum
    are being already on christmas vacation
    I saw no other possiblitiy to post my question right here.
    I have created a web service through:
    Open the affected  function Module  .
    Choose Utilities  -> More Utilities  -> Creating a Web Service  -> From Function Module.
    Later you can test it with SOAMANAGER etc.
    The goal is now (requirement)
    Calling a web service in ABAP.
    How can I generally call a (eg .above created by me ) webservice with abap which is existing on the sap system (Web Services which are generated from Function Modules)
    Has really nobody such a problem ever before ?
    Regards
    ertas ilhan

    Michael thank you very much.
    You are saying:
    The easiest way to do it is with the WSDL file that you'll get from the existing Web Service. In your proxy class it will generate a method which you can then call within your program to consume that web service.
    I understand the first part with the WSDL file but the second part it is unclear to me with
    In your proxy class it will generate a method which you can then call within your program to consume that web service
    Can you please explain me this more detailed.
    Thanks
    ertas

  • Error while consuming CAF Web Service in ABAP

    Hi experts,
    I need to consume a CAF Web Service in ABAP 7.0. While trying to generate the Proxy Object in SE80 it is thowing an error "Proxy generation terminated: WSDL error. (<extension> not supported)" and terminating the Proxy generation.
    Can anyone please help me out with the solution for this?
    Thanks in Advance.
    Vaishali.

    Hi,
    waiting for reply.....

Maybe you are looking for

  • How do i share media (music and videos) between all of my devices?

    i currently have (and attempt to use as much as possible) the following devices:  macbook pro 15", ipad 4, iphone 6 plus 64 GB, and appletv 2. i would love it if these devices would talk to each other correctly.  first came the macbook, and i took an

  • Month view not appearing

    I have been having problems with my ical recently. I opened it one day and nothing appeared and I figured out that it was because my month view wasn't appearing. I can still see the day and week view, but as soon as I switch to month, its gone. Any i

  • Itunes wont launch after 7.6 install

    It appears that itunes installs successfully but when i try to lauch it, I get a message "application failed to start because 3ivx_dec.dll was not found". Reinstalling may fix this problem. I tried reiinstalling and same error.

  • I purchased a Mota Battery case and protection for my iPhone 4s,  will I encounter any problems with this new device?

    I currently have an iPhone 4s with an otterbox cover which provides excellent protection for my iPhone.  I am an electrician and the environment my phone can be exposed to at times can be hostile at times.  Do you know of and Otterbox which would acc

  • Av adapter problem.

    After I updated to ios7 I got  "downloading accessory firmware" when I plug in the adapter but nothing works. Need help ;-)