Logical Port

Hi.
I have downloaded a wsdl file from a BAPI in r/3 4.7. I have created a Proxy object in neatwever 2004s client. I created the logical Port for the Proxy Class.
When I tested the Proxy class I get the followinf error
<CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
  <ERRORTEXT>Error when instantiating the Web service runtime (Logical port 'DEMO' for proxy class 'ZDEMO_ BAPI_SERVNOT_CREATEPOR' is not active )</ERRORTEXT>
Please Advice

I found the problem. The Logical Port needed to be activated indeed.

Similar Messages

  • ** Logical Port in Client Proxy

    Hi Friends,
    I am doing proxy to web service scenario. My proxy is client proxy. After I created proxy, I checked that.  There is no standard method 'EXECUTE_ASYNCHRONUS'.   I read the Michal's blog /people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method and understand that this method is not created. The reason is that  SAP_BASIS support package level is 15. (Release 700) in our R/3 ECC 6.0 system.
    Now, I am not able to test my proxy from SPROXY tcode. It asks Logical Port.
    1. Can you tell me, what is logical port ? How do I create this in LPCONFIG tcode ?
    2. Once this is done, can I call the class with the method like in older version ?
    3. Currently I am getting the information 'No vendor specified' while test proxy withe empty logical port.
    Expecting your reply.
    Kind regards,
    Jegathees P.

    Hi Rene,
    If a logical port is not configured, the X/PI Runtime will be used instead.
    In Jegathees' case, this is probably what happened. If you want to route your message through PI then you need to make sure that you are pointing to your Integration Server (i.e. PI), on ECC use transaction code SXMB_ADM --> Integration Engine Configuration. Role of Business System should be "Application System" and "Corresp. Integration Server" should be your PI server.
    You will see when you test your client proxy (using TCode SPROXY) you have the option of choosing XI Runtime - or - Logical port too.
    Regards, Trevor

  • How to change a Logical Port URL-Destination/Endpoint at Runtime

    Hi,
    i am looking for a way to change the endpoint for a webservice-call without redeploying my application. (I am using a standalone-proxy).
    In the SAP-Help from NetWeaver 2004s I found the following hint:
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
    Configuring Logical Ports:
    Logical ports (LPs) contain the configuration of the client-side SOAP runtime, such as the access URL or security settings. These are required if Web service calls are executed using proxies.
    The Web service port is part of the WSDL description. This defines a URL where the service is to be called. As a rule, this URL is generated directly into the proxy object. However, this can cause problems whenever the proxy is transported into a system landscape (for example, from the test system into the productive system). In this case, the proxy would still attempt to call the Web service on the test server although the proxy should point to the productive system. The proxy could be re-generated or the coding could be changed manually. Due to the risk of errors with this method, the configuration data in the SAP Web Service Framework is separated from the implementation. After transport or re-deployment of the proxy, the URL and other important parameters can be adapted using a simple editor. 
    The LPs provided correspond to the Web service configurations created for the Web service.
    My Question:
    Where can I change the URL of the corresponding logical port at runtime?
    I don't want to redeploy my application !!!
    I want to change the endpoint-destination at runtime!!!
    In the Visual Administrator I can see the webservice in the "Web Services Container Service Administration". I also can see the different ports from the WebService-Configuration I made.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
    But it is not possible to change the "target adresses"!
    Can anybody help me finding a solution concerning my question?
    Regards
    Steffen

    You can include below method in your code and call it.
    private void UpdateConfig(string key, string value, string fileName)
    var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
    cFile.AppSettings.Settings[key].Value = value;
    cFile.Save();
    Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Error while creating logical port for Reporting

    Hi,
    In one of the training materials for Duet Enterprise, i saw the steps for creating logical port for the consumer proxy /IWTNG/CO_PXY_RECORDS_REPOSITO.
    When i am trying to create the logical port, i am getting an error saying,
    " SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:500 Native SSL error
    https://<server:port>/_vti_bin/OBAFileReceiver.asmx?wsdl "
    I would like to know is it really necessary to create this logical port for "Reporting Scenario" and is it not created automaticallly using the Installation Wizard??
    And in case it has to be created, how to resolve this SRT framework exception?
    ~ Ramanath.

    Hi,
    the consumer proxy  /IWTNG/CO_PXY_RECORDS_REPOSITO was used in Duet Enterprise SP01. Now with SP02 the consume proxy /IWTNG/CO_OBAFILE_RECEIVER_SOA is created.
    However, the SSL error that you are getting looks a little strange (it does not mean that there is an error, but it is worth checking):
    So can you go to SOAMANAGER -> Service Administration -> Single Service Configuration. In here select "Consumer Proxy" from the "Search by", Search Pattern "/IWTNG/CO_OBAFILE_RECEIVER_SOA" and Field: Both.
    You should find one entry. Select it and click "Apply Selection".
    Now go to the Configurations tab. Here you should see one Logical Port with name "LOGICALPORTFORREPORTING" with Creation Type "Manually Created". In fact this logical port was created by the Wizard.
    Click on Display and scroll down again. Now in the "Additional Information" tab there is a string after HTTP Destination, e.g. 0050568E3F5A1ED096F22339C44BAF83.
    Copy this value and go to your SAP GUI -> Transaction SM59.
    Here click on Find/Search and search for this HTTP Destination. You should find one Type G RFC Destination that has the target host of your SharePoint server and the path prefix /_vti_bin/OBAFileReceiver.asmx.
    Now you can test the service. Just click on Connection Test. The result should be a HTTP Response: 200.
    If not, then something went wrong with the automatic configuration and we should take another look at it (for example maybe the SSL certificate from SharePoint that was imported by the Wizard is not valid)
    Regards,
    Holger.
    PS. Don't use the "Ping Web Service" test from SOAMANGER -- unfortunately this is not working consistently.

  • 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

  • Error Message "No logical port exists to call web services" installing SM7

    I am trying to use SLM to download a service stack.  However, the option is not available in step 2.5.  There is an error message "No logical port exists to call web services".  I have performed the Wizard install, but the Wizard seems to have left out this step.  I have looked around for documentation on how to configure the port, but cannot find anything more useful than comments to the effect that I should configure the port.

    I found the problem, I think, although I am now on to the next problem.  "Web Services for software lifecycle manager not available'.
    The documentation is lacking.  When the RFC connection is set up, the user id is j2ee_admin, using the install password.  This is not specified anywhere in the install instructions that I could find, there is only a reference to a 'user id and password'.
    The LPCONFIG is used to create a logical port, that ties the RFC to the LP.  However, no name is specified that is to be used for the LP.

  • Error while creating logical port from WSDL in SOAMANAGER

    Hi,
    I am trying to create a logical port for the webservice TerritoryCRMBasicDataByIDQueryResponse_In with the WSDL
    http://usciq9e.wdf.sap.corp:50077/sap/bc/srt/wsdl/sdef_TERRITORYCRMBASICDATABYIDQUERY/wsdl11/ws_policy/document?sap-client=506
    In SOA Manager, I selected the proxy object and clicked on 'Create Logical Port' ,
    gave the name and description for the port and set it as default.
    The other settings are :
    Configuration type : WSDL based configuration
    WSDL base is : Via HTTP Access 
    Then I gave the address of the WSDL in  the URL and the proper username and password. When I clicked on 'Apply Settings' I get the following error:
    "Error when building binding view: 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 "
    Please advise me on how to approach the problem.
    Thanks,
    Sashi

    Creating logical ports is done here:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/cc8fd368c873dfe10000000a11466f/frameset.htm

  • 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

  • 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

  • Logical port problem

    Hi All
    I create logical port in LPCONFIG for a WS and i put the proxy class and logcal port (just variable like abc ) i choose defult port
    and in runtime i choose webservice and in in call parameters in URL i put the WSDl of the WS i create via se37 .
    when i activate it i get message : Web service requires state management
    What i need to do to overcome this issue?
    Best Regards
    Nina

    Hi Nina,
    Purpose
    The options for error handling depend on the type of communication chosen:
    ·        Asynchronous Communication: On the sender side, the application can only handle errors that occur when the message is being sent (for example,  the outbound queue is full). You can catch and persist these errors by using the exception class CX_AI_SYSTEM_FAULT. On the receiver side, as in the synchronous case, you can define fault messages, which are then only forwarded to monitoring (and not to the sender).
    If you want to define how the sender is to process asynchronous errors, see the Acknowledgments section. The Web service runtime only supports synchronous communication.
    ·        Synchronous Communication: You can use fault messages to handle errors that have occurred on the receiver side. To confirm an error, the proxy runtime sends the fault message from the receiver back to the sender, which can then respond to it.
    Process Flow
    The example used here works with the XI runtime standardized structure. When using the Web service runtime, follow the same procedure to trigger an exception on the receiver side and handle it on the sender side (indicated in the source text by the comments with a hash symbol (#)). The fault message structure is defined by the WSDL description in both cases and is found in the exception class.
        1.      If an application on the receiver side triggers an error, the ABAP proxy runtime converts the corresponding exception class to a fault message and transfers it to the sender system.
           2.      In the sender system, the ABAP proxy runtime interprets the fault message and triggers the exception for the client proxy.
           3.      In the sender system, the application can catch and handle the exception using a Try/Catch block. Using the super exception class CX_AI_APPLICATION_FAULT you can - in a similar way to the statement WHEN OTHERS in a CASE statement - catch all remaining application errors.
    see the following links for Possible ...
    http://help.sap.com/saphelp_nw70/helpdata/EN/75/a55c3cff8ca92be10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/frameset.htm
    Regards,
    Prabhudas

  • Creating new logical ports for WSDL with several port types not working

    Hi all,
    I am trying to integrate some BODS webservice into the BPM. I am using CE 7.2 Kernel Version:     7.20.3710. When I am trying to assign a provider system in the application configuration I get following error:
    The provider system successfully found the needed service, but its wsdl is without webservice policy. Thus the generated client configuration might not work because of different configurations between service and client (most probable a difference in the security settings). Either assign a provider system with access to wsdl with policy or manually create the client configuration.
    The regarding provider system is using a communication profil where the authentication method is set to "none". Normally this configuration should work, but it isn't.
    So I started to create new logical ports for each port type. But then I get the error:
    Port type name of loaded WSDL does not match the port type name of the Service Reference.
    I checked already the port type names in the WSDL but they are 100% the same. What I found was that the configuration is always trying to use the first port type in the WSDL. So I am not able to configure the other port types in the service group.
    I also tried to do the same thing using a WSDL with just one port type and surprise it is working...
    I hope somebody can help me out
    Thanks in advance
    Andy

    Hi Andy,
    Please check this Link: https://cw.sdn.sap.com/cw/docs/DOC-45012
    Regards,
    Naresh B

  • Error in logical port while connecting to SAP CRM cloud

    Dear Members,
    I have created a logical port manually to connect to SAP CRM cloud system. But when I ping the web service I am getting below error. Please let me know how to solve this error.
    SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Couldn't create Object: ("ICF Error when creating HTTP client object by Config for URL <WSDL URL>

    Hello Nihar,
    The error message indicates the HTTP client object cannot be created by the given URL. Please check if your URL is correct.
    You also need to check what protocol is used, HTTP or HTTPS, and ensure the protocol is active in your local ABAP system as well. You can check them by t-code SMICM->Goto->Services.
    Regards,
    Robert

  • Error in Logical Port Creation

    Hi,
    When I try to create a logical port in my consumer system I am getting error
    "Error: HTTP: Error in interface for management of HTTP destinations; "
    Any ideas on how to fix this?

    Sorry - I should have been more clear earlier.
    I am using SOAMANAGER to create the logical port.  The error occurs when I choose 'WSDL Access Settings' to obtain the WSDL.  I was able to get around the problem by going into SOAMANAGER on my provider system, locating the service & binding I want, and then downloading that file.  This is a workaround as I would like to get the file via HTTP access.
    I suspect this has to do with configuration but I do not know where this needs to be setup.

  • Logical port for XI

    Hi,
    While configuration of XI managed system . Logical ports were created in the managed system diagnostics configuration.
    Can anyone please tell me whether these ports will be created in solution manager or managed system? Where can i check in system level?
    Thanks,
    Rohan Hardikar

    Hello Manpreet,
      Lets say ur R/3 System is D10 and XI is P10.
    Configuration on R/3 Side.. sending system..
    1.Create a Port SAPP10 with RFC dest to XI in R/3. WE21
    2.Create a Logical System Type LS in R/3. WE20
    This logical system is for XI so in you Integration server in SLD Logical System name should be same.
    That will do for R/3.
    Now for XI..
    1. Call Transaction IDX1.
    Create a port with name SAPD10 and an RFC dest to R/3.
    Now go to WE19 in R/3 take a successful IDOC and display the same.
    Doubble click on EDIDC and enter Sender/Receiver Port/Partner Number.
    In your case..
    Sender: SAPD10.
    Partner: xxxxx
    Receiver: SAPP10 created above
    Partner: xxxxx created above
    Partner Type: LS.
    And start outbound processing.
    Goto SM58 and check ur TRFC if no messages apper you are successful in sending the IDOC else correct and resend.
    Let me know if you were successful..
    Regards,
    Sri.

  • Error in creating Logical Port in SOAMANAGER

    Hello,
    I create a consumer proxy for http://www.thomas-bayer.com/axis2/services/BLZService?wsdl. No when I am trying to create a logical port I am getting SRT Exception. I am able to open the link in IE. What shall I do to solve it?
    Regards,
    Ahmed

    What type of SRT error you are getting? post complete message.
    SRT error with unsupported xstream means service provider is returning non-xml message (HTML).
    Please note I am able to get wsdl of this service but not the endpoint (HTTP return code: 500) so read documentation carefully if there is any additional requirement to access this service.
    Regards,
    Gourav

  • 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

Maybe you are looking for

  • Material Transfer from Storage Location 2 Storage loc

    Hi Gurus, Here Client want to transfer Material from 1 loc to another. Std T Code is MB1B with Mov Type 309. But here we have to enter material, qty,& batch no.But client's requirement is that he dont want  to enter all these things.He want to select

  • Interconnecting DME and CM

    I am trying to locate a doc on connecting my present CME systems to my CM system. How hard is this? Does anyone have any good links.

  • Limit the email attachment size XI

    Hi All , I am working on a requirement . I did an extensive search on this(SAP Notes, SDN and on the system itself) but couldnu2019t find any such functionality provided by SAP. 1.  CCMS configuration for the ability to check emails being sent out of

  • What could be the issue with Envy 4500?

    I have a linksys Cisco E1000 router and Charter cable internet.  The Router DOES have the firewall turned on.  I have installed the 4500 exactly as I should and it initially showed up on my Network, printed and everything was peachy.  Fast Forward a

  • My computer will not let me download firefox, a screen comes up and says my security settings won't allow it.

    This is a lap top. Yesterday nor today we could not display firefox and that is how I would normally logon to the computer. Firefox kept coming up and saying it could not display page. Today I uninstalled firfox and tryed to re-install, now a box com