[WebService-CONSUMER] ERROR_WEBSERVICE_RUNTIME_INIT No logical port...

Hi Guys,
I have a big problem when instantiating PROXY object in ABAP for sending data through my Web Service.
Context:
A Program calls a Mondule Function that calls afterwards a Webservice.
Realization:
in SE80, I created my Webservice correctly.
and my PORT is defined correctly:
When I go to SE80 and test my WEBSERVICE in TEST Mode, SAP got me all information needed via the Matchcode to test it properly .
Also, my methods are displayed via the PORT defined:
But unfortunately, when I do some codes in the MF for calling the Webservice, I got an Exception Message when executing the program during "CREATE OBJECT PROXY" statement.
" ERROR_WEBSERVICE_RUNTIME_INIT No logical port 'LP_WOLOAD' exists for the proxy class 'ZWOLOADCO_ISERVICE' "
Have you got any idea?
Thank you all.
Rachid.

I found note 1543696 about generating a logical port in the local client.
The error occurs because the logical port for the monitored system cannot be found. As of logical ports are client dependent they need to be regenerated in the client in case the setup was made in a different one. Normally this could be done via RZ21 Menu Technical Infrastructure -> Reorganize segment table.
http://sap-note.com/1543696.htm

Similar Messages

  • Error while creating logical port for Consumer Proxy in SOAMANGER

    Hi,
    While creating logical port for my consumer proxy in SOAMANGER, I am getting the error shown below
    SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination
    I have searched in the forums but none of the answers helped me.
    I have specifed my PI user ID and password and the user has the followwing roles assigned to it.
    SAP_BC_WEBSERVICE_SERVICE_USER
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_ADMIN
    Current user in the error message refers to the PI user that i have specified or the user with which i have logged in the backend ABAP system?
    Please help me reslove this issue.
    Thanks and regards
    Sreehari Nambiar

    Hi,
    Please add the following roles as well.
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    Also make sure that you are doing the role comparison  after adding all SAP* roles in your profile.
    Let me know if this works?
    Thanks,
    Sridhar

  • How to Assign Logical port for a standar Consumer proxy

    Hello,
    I'm working with a SAP application creating a WS Connector that ask me for the following data:
    - Class name:
    - Logical Port name:
    As far as I have read SAP delivers for this application an example implementation for the following web service: ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In with the /BCV/CL_SIN_WS_BOM class.
    And the help also says that We can find the example implementation delivered by SAP for the Web service ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In in the package /BCV/SIN_PRX, under Service Consumer /BCV/CO_PRODUCTION_BILL_OF_MAT
    In se80 transaction under /BCV/SIN_PRX package I can find /BCV/CO_PRODUCTION_BILL_OF_MATERIAL consumer proxy.
    As far as I know, I just need to assign a Logical port to this proxy.
    So, I go to soamanager transaction under "Service-Administration" --> "Single Service Configuration" and find this Consumer proxy. Then, under Configuration tab I select "Create logical port" option but I need to fill an URL for WSDL access.
    Where can I find this URL? I think that I need to provide de WSDL URL (end point) of the ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In Web Service but I can't find it on the soa manager. Or maybe I need to implement a WS by my own WB using the /BCV/CL_SIN_WS_BOM class?
    I appreciate if someone could help me with these SOA concepts.
    Thanks in advance,
    Abigail.

    Hi Abigal,
    In  SOAMANAGER , u can configure the logical port in 3 ways first it by WSDL and second by manually and third by PI.
    1. WSDL based :   URL will automatically determined using WSDL file.
    2. MANUAlly :   in this , we have to provide the URL .
    Thanks
    jitendra

  • Error in Logical port for Consumer proxy in SOAMANAGER

    HI Experts,
    While creating Logical port for Consumer proxy in SOAMANAGER I am facing problem
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL ".
    Kindly suggest.

    Hi Milan,
    this kind of error occurs when there is no service and end point description in the WSDL of provider who's service you are trying to consume using Consumer Proxy.
    Just open the provider's WSDL URL that you have given while creating Logical port for the consumer proxy   and check if service and end point exists there.
    Thanks
    Sunil Singh

  • Client proxy consuming web service provider using logical port issue

    Hi All,
    I have a proxy client having a logical port (configured using  NWDS)  to consume a web service in the provider system.
    In the logical port, I have given target address, and logical port name. While moving this client proxy NWDI dev track to Q and prod,
    how do I change this target address to point to Q and prod respectively. In other words, even though I am using Visual admin to configure the destination url for the logical port, to point to Q and prod, its still referring to the dev environment provider service after moving the proxy client to Q and prod. What is the suggested approach to take care of this issue
    Thx
    mike

    Hi Michael,
    I can only help from that point of view that I believe this question belongs to the forum
    Service-Oriented Architecture (SOA) and SAP
    Please try to raise this question there.
    Thanks and Regards,
    Ervin

  • Example wsdl and logical port for consumer proxy anyone ?

    Hi,
    Could please somebody give me an example of external WSDL file and logcial port created for the WSDL file in SOAMANAGER ?
    I need to create manually logical port for my consumer proxy and I am missing something because my logical port is not active.
    Any example is more than welcome. 
    I need to know how to populate fields manually on the following tabs based on the info in a WSDL file:
      Consumer Security  Additional Information  Web Service Addressing  Messaging  Transport settings  Message Attachments  Operation specifi
    Thanks and Regards
    Agnieszka
    The message, I am getting, when creating logical port is:
    Operation 'SrtFmStatefulTf' not found [NS: 'urn:sap-com:document:sap:soap:functions:mc-style']
    I think that maybe something is wrong with my wsdl.
    Edited by: Agnieszka Domanska on Nov 17, 2010 5:41 PM

    Hi Milan,
    this kind of error occurs when there is no service and end point description in the WSDL of provider who's service you are trying to consume using Consumer Proxy.
    Just open the provider's WSDL URL that you have given while creating Logical port for the consumer proxy   and check if service and end point exists there.
    Thanks
    Sunil Singh

  • Logical port error (WS_LOGICAL_PORT) when consuming WS in PI

    Hi All,
    I am trying to integrate simple Currency Conversion Web Service witm my ECC program.
    Program displays two fields in the selection screen (Currency From and Currency To)
    WS is: http://www.webservicex.com/ws/WSDetails.aspx?WSID=10&CATID=2
    The scenario is as below:
    Proxy (Z-PROGRAM ) <-sync-> PI <-sync-> WS (Currency Convertor)
    Looks like ABAP Proxy is done ok.
    PI configuration also looks ok as I am trying it in IB's Test Configuration tool - all steps are 'Green / Passed'
    Based on WSDL 3 interfaces were generated:
    CurrencyConvertorHttpPost
    CurrencyConvertorHttpGet
    CurrencyConvertorSoap
    I am using Soap one... along with WS Communication Channel
    CC has configuren itself based on WSDL likn provided,
    Technical Transport Settings were set to:
    Target Host:               www.webservicex.net
    Service Name / Port:     -1
    URL Access Path:          /CurrencyConvertor.asmx
    Transport Binding:          SOAP 1.1 Using HTTP
    Why am I getting logical port error?
    Error while determining logical port Cannot find logical port for agreement EAC1E5CF03FD3B2C827ADDECA2EA6B26 and interface urn:webservicex:com:test:currencyrates.CurrencyConvertorSoap
    I searched the web for error message and I found obsolete logical port configuration using LPCONFIG, and also some 'new' approach with SOAMANAGER LogPort configuraton
    (When I try to do this as suggested in [document |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04408cc-f10e-2c10-b5b7-af11026b2393?QuickLink=index&overridelayout=true]
    then I cannot see my newly created services on the list)
    ... but is this the right track to follow?
    Should I run Logical Port configuration in PI?
    I would appreciate your comments on this.
    Regards,
    bob.

    Hello,
    Why am I getting logical port error?
    Error while determining logical port Cannot find logical port for agreement EAC1E5CF03FD3B2C827ADDECA2EA6B26 and interface urn:webservicex:com:test:currencyrates.CurrencyConvertorSoap
    WS Adapter is used for those that are using WS-RM (Webservice-Reliable Messaging)...See this blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b00bbb77-75bc-2a10-6b9a-a6f8161515a6, but I think for now this is limited to SAP-to-SAP connections. That is why in your error it is searching for a logical port (ABAP Proxy).
    You should be using the SOAP Receiver Adapter instead.
    Hope this helps,
    Mark

  • Webservice logical port

    Hello,
    I have a webservice that reads information out of a device connected to a PC.
    When a function is called, I want to execute the webservice located at the PC who called the function.
    Is it possible to change the url parameter of the logical port at runtime or do I have to create a Logical port for all my (300) destinations ?
    kr,
    Joachim

    This is for webdynpro for java...
    I need a solution for the ABAP Part.
    this is how I create my proxy object:
    TRY.
    CREATE OBJECT proxy
       EXPORTING
         logical_port_name  = 'LP00'
    CATCH cx_ai_system_fault .
    ENDTRY.
    LP00 is going to a predefiened URL, I want to change this at runtime....
    Is it possible?
    gr,
    Joachim

  • Maximum Wait for WS Consumer: SOAMANAGER Logical port

    Hello Everyone,
    I was trying to configure consumer proxy through SOAMANAGER transaction. When you create a Logical port, within Transport setting you can see a Parameter called 'Maximum Wait for WS Consumer' which as per my understanding is the time for which the consumer is required to wait for a response from Provider.
    The problem here is i cannot edit that value. The field is disabled with its default value as '0'(wait for infinite amount of time). I want to make that wait period as just 10 secs.
    Am i heading in the right direction? If yes, then how can i edit that value?
    Regards
    Shailesh

    Hello Shailesh
    You should be able to modify this parameter. See the link:
    Configuring a Consumer Proxy
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/9e/c7a3591dc74a679bbc9716354e42af/content.htm
    Are you able to modify any of the other parameters? Does your user have the required authorizations?
    Regards
    Mark

  • How to programmatically create a logical port to consume external webservic

    Hi All,
           I have created a logical port in soamanager transaction manually to consume a web service.
    I have a requirement where I need to create this logical port programmatically,so that i can release the proxy class
    of that web service and port will be automatically get created in all systems when the user uses it for first time in each system.
    It will be helpful if you provide any method or function module which can do that.
    Thanks in advance..

    Hello,
    Creation of Logical Port using LPCONFIG is explained in this link [http://help.sap.com/saphelp_nw04/helpdata/en/16/285d32996b25428dc2eedf2b0eadd8/content.htm]. It can also be created using SOAMANAGER.
    Thanks,
    Venu

  • Cerate Logical port for Webservice

    HI,
    I create abap WS in one backend and i want to call him in different backend , i generate proxy via se80 .
    I want to create logical port but i don't know how.
    Do i need to create it via SM59 or via LPCONFIG.
    Please guide me step by step i new to this topic.
    Best Regards
    Michael

    HI Venu,
    I want to use Abap program/method  to call this proxy ,you have an idea ?
    i saw this for calling the proxy from LPconfig :
    CALL METHOD cl_srt_lp_maintenance=>get_default_port_by_proxy
      EXPORTING
        proxyclass = lc_proxy
      RECEIVING
        lp_name    = lv_port_name.
    But i didn't find any method for calling the LP from Soamanger.
    Best Regards
    Michael

  • Error while creating logical port in SOAMANAGER

    Hi,
    Im consuming the webservice.While creating the new logical .Im getting the following error.
    Error: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:401Unauthorizedhttp://vmtmasterdev.rune2emaster.rune2e.com:1080/sap/bc/srt/wsdl/sdef_Z_NUMBER/wsdl11/ws_poli
    I have entered logical port name,description, URL for WSDL access.When i press enter i got the above eeror.
    Please help me.
    Regards,
    Brahmaji

    Hi,
    tell me please wenn you run SOAMANAGER you have to apply an user Authentication or not?
    If yes If the service that you want to configure is an Enterprise Service or Self-Modelled Service.
    In case of Web Services Please Check again in The ICF Services under
    sap/bc/srt/SAP and Check if your Service activated or not.
    If you don´t have Access to SOAmanagement you can see the specified Roles hier
    http://help.sap.com/saphelp_nw04s/helpdata/en/2b/07074155bcf26fe10000000a1550b0/frameset.htm
    Regards
    A.Labrache

  • Logical port for client proxy

    Hi,
    when consuming a webservice i have to create a logical port and this port will be used when i create an instance of the proxy class e.g.
    DATA: lo_proxy  TYPE REF TO /ipro/co_bbp_cms_ibf_metadata.
    CREATE OBJECT lo_proxy EXPORTING logical_port_name = 'E6S_300'.
    The question is how could i know how the customer will name the logical port?
    Is there a way to get a list of logial ports for a give proxy class?
    Regards,
    Christoph

    the following table holds all the logical port for a given proxy class
    SRT_LP
    Regards
    Raja

  • URL rewriting for a WebService Consumer Proxy

    Hi all,
    Did anybody come across this issue?
    I have a SAP System - let's call it "TM" -  that I want to bind with another non-SAP one - let's call it "FB" - without any PI between them.
    The communication is made as a Service Consumer (TM side), the Proxy (see image below) and Proxy-Implementation Class being generated automatically after the ".wsdl" file and the "url" given by the documentation of FB.
    Everything looks good! All the Methods (operations) that are available from the service have been added to the Implementing Class.
    After the Proxy generation, I also created the Logical Port (in transaction SOAMANAGER - see image below) where the path, host, prefix, and all the necessary stuff were also automatically created after the ".wsdl" document.
    So far so good! When I want to test it and to play along with this connection TM -> FB, I am creating the Proxy-Object, I am filling the required User / Pass / and an ID in order to call the first method. As you have probably guessed already: LOGIN.
        ls_in_login-login_request-id             = '...some ID...'.
        ls_in_login-login_request-user          = '...some user ...'.
        ls_in_login-login_request-password  = '...some password'.
    TRY.
             CREATE OBJECT lo_proxy
               EXPORTING
                 logical_port_name = 'ZAS_PORT_FB'.
         CATCH cx_ai_system_fault INTO lo_ref.    " Application Integration: Technischer Fehler
    ENDTRY.
       TRY.
           CALL METHOD lo_proxy->login
             EXPORTING
               input  = ls_in_login
             IMPORTING
               output = ls_out_login.
         CATCH cx_ai_system_fault INTO lo_ref.    " Application Integration: Technischer Fehler
         CATCH cx_ai_application_fault INTO lo_ref.    " Application Integration: Applikations Fehle
    ENDTRY.
    As a response, (meaning that the connection works and that the WebService acknowledges the connection) I get a "SessionID" -> a string of characters.
    In the Wiki of the Service is written that from this point on, every other methods (but I mean ALL of them, logout() also...) need to be called along with this SessionID. The problem is, that this SessionID doesn't have a specific place in the "inbound"-structure of the methods, but this mechanism of passing around the SessionID must be made with URL rewriting. Another solution would be to use COOKIES. From my point of view, a so-called URL rewriting would be easier, right?
    In the documentation is the following info written:
    URL rewriting (recommended):
    The JSessionId is attached to the URL of the SOAP request, as follows:  http://[URL];jsessionid=[jsessionid]
    Caused by tecnical reasons, it is necessary to specify the static string “;jsessionid=” in lower case letters.
    I have turned this "LO_PROXY" object around and around and around... trying to find a solution... a method...anything that would let me rewrite the URL, but nothing...
    I have also tried to use ce CL_HTTP_CLIENT class and to create myself the client and the URL and the host and everything manually... but in this case how do I end up in calling a specific "custom" method -> for instance... how do I call the "LOGIN"... or the LOGOUT...where do I put the parameters, etc?
    Do you have any suggestions / ideas / hints ?
    Thanks a lot in advance!
    Warm regards,
    Alex

    Hi Stefan,
    You are right! It doesn't support to set URL / HTTP parameters outside the logical port.
    Nevertheless, I have debugged the whole engine and found out that via custom coding (enhancements / modifications) and with extreme attention, the URL can be rewritten as desired.
    When a method of the proxy is called, let's say for instance: lo_proxy->logout (...) - as written up for example, the method CL_HTTP_CLIENT=>CREATE_BY_URL is called dynamically.
    In this method, in the "url" variable is the desired URL that needed to be rewritten.
    Here it's about an importing parameter, so it cannot be changed so easily, but it's not impossible.
    Another place where a nice Enhancement can be created is at the beginning of the FM "SWLWP_URI_PARSE".
    You need to be very careful not to change these places in all cases (this CREATE_BY_URL will be called pretty much), JUST when the specific conditions are fulfilled.
    Have a great day / week!
    Warm regards,
    Alex

  • Connection to ByDesign with a ODP Source system: Logical port creation on CO_RSDSPX_ODP_IN

    Hello,
    I am trying to connect my ByDesign Could server to the our BW Server by an ODP Source system.
    I tried applying what SAP recommend:
    http://help.sap.com/saphelp_nw73/helpdata/en/46/b9297716c94e509fcbe62d3c795e85/content.htm?frameset=/en/c6/afacb707764885a6fb62f511c24f34/frameset.htm
    http://help.sap.com/saphelp_nw73/helpdata/en/ca/14c0899cb04f16929b5d88e147fc8f/content.htm
    http://help.sap.com/saphelp_nw73/helpdata/en/9e/c7a3591dc74a679bbc9716354e42af/frameset.htm
    When trying to create a Logical Port on CO_RSDSPX_ODP_IN from SOA Manager with a WSDL Based configuration (downloaded from a Webservice of our ByD), this error is thrown:
    SRT Framework exception: The WSDL document is not compatible with proxy class "CO_RSDSPX_ODP_IN": "Unsupported Operation(s):GetList, CloseSubscription, CloseSubscription, CloseSubscription, CloseSubscription, CloseSubscripti
    Do you have any idea ?
    Also, i was unable to use any Consumer Service directly ... I am not a Basis and don't understand what configuration needs to be done.
    Thank you very much.

    Hi,
    Did you create consumer proxy for the service you like to consume ?
    It looks like your WSDL and Consumer proxy are not the same ?
    Or you could create Logical Port Manually, but it will fail on provider side because the message you are sending and the provider of the service are not the same.
    Manual Configuration
    The system uses a user-specified binding URL to create a logical port. You need to specify a unique name for the logical port.
    Thank You
    Regards
    Gov

Maybe you are looking for

  • HT203254 NVIDIA GeForce 8600M GT graphics processors

    How much does this repair cost now that Apple is no longer covering the expense?

  • Error message: You cannot save a completed copy of this form to your computer.

    Hello, I created a PDF form in Acrobat Pro X and i am trying to distribute it by placing it on our shared drive so employees can take it from there and save it to their own computer. I tested the form with some employees that have Reader. Some can op

  • Removing the Adobe Captivate loading screen

    Hi, Is it possible to remove the Adobe Captivate loading screen on exported .swf files? Or if not to remove the loading screen create my own? Any help would be appreciated, as a total newbie to captivate! Thanks

  • RosettaNet Plug in with Collaborate 1.0

    Has anyone gotten the RosettaNet plug in for Collaborate 1.0 to work? First I had problems with the deployment descriptor files for the EJBs. There was a problem with the weblogic-ejb-jar.dtd file. Now I'm having problems opening the jar files when s

  • Uninstalled Apps still showed in BlackBerry Hub

    Hi all, Am using a Z10. I installed Whatapps from BlackBerry World and didn't like it much so I got it uninstalled by holding press and delete the App. But in BlackBerry Hub it's still there, but not usable. How to delete it totally please!?