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

Similar Messages

  • Logical Port Problem using a Web Service

    Hi.
    I have created a simple web service and imported the model succesfully into my webdynpro component. However, when I execute the web service method, I just get the following error:
         "Logical Ports loading problem. Parser error."
    I'm new to NWDS, but my application did work when I first used it, because my web service throws an exception and this was  displayed correctly in the application.
    Could this error be due to Internet explorer connection settings on the Duiscovery server? (We have a few exclusions in there).
    If I type in the url of my web service manually into IE on the discovery server, it returns the expected results, so I know my web service is working.
    There also seems to be a problem with my NWDS install, because if I change any of the properties of the Logical Port, the save icon isn't available, and shutting the properties page and reopening it restores the original settings.
    Any help would be greatly appreciated, as this is driving me nuts!
    Many thanks in advance.
    Nigel

    OK, so I've found the answer to the proxy settings on the client - they are stored in
    <InstallDIR>\Workspace\ .metadata\ .plugins\com.tssap.config\pref_store.ini
    For no proxy, change the contents of this file as follows:
    #Tue Apr 15 10:09:09 ACT 2008
    proxyHost=
    sapInitialized=true
    proxySet=false
    applyNoProxy=true
    proxyPort=
    Then save it, delete the logical port on your model and then create a new logical port from your WSDL.

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • Problem while creating logical port using soamanager

    Hi all,
    I have created a client proxy for web service from a 3rd party system.
    When i am creating a logical port for the same consumer proxy i get a error as follows:
    RABAX_STATE -e: UNCAUGHT_EXCEPTION
    and a dump saying
    "  The exception 'CX_SXMLP' was raised, but it was not caught anywhere along the call hierarchy.
         Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program
          'CL_SXMLP_FRAGMENT=============CP' has to be terminated.                  
    Please suggest what can be done or what can be the problem.
    Thanks in advance.
    Komal

    Pls go to txn SM59 and check if the RFC destination for webservice is working in the test connection.
    Then go to txn LPCONFIG and create the logical port using the RFC dest.  Pls mention the path suffix appropriately.
    Next in your code while instantiating the client proxy pass the logical port name in the constructor (if the LP is not maintained as default).
    Pls reward points if the tips are helpful.

  • Problem using logical port type "ABAP"

    Hi, my problem is that I have to save a txt file  with a certanly format who feeds from an IDOCs that is sended nowhere.
    Instead of using a BADI the client wants that every time a PO is liberated an IDOC has to be triggered and it has to save that txt in a path, but that IDOC is not sended anywhere is just for saving the file. Dont ask why... they want to do this approach.
    So I created a logical port of type ABAP, copy the function "OWN_FUNCTION" as a template and in my custom function I parse the IDOC and save the file... it works. My problem is that the IDOC is created when a PO is created but not triggered !!!
    The IDOC is created with status 30 (ready to send).
    What I need is that when the PO is saved the file has to be generated in the server but the function is not triggered. I try running the Program RSEOUT00 and the IDOC is not found (dont know why) the only way I can trigger the IDOC is via BD87.
    Someone could help me, I dont know why the logical port type ABAP is not triggered. all my setting in WE20 is right.
    Thx

    The problem was in the WE20, the radio button was in mode 4 (collect IDOCs) instead of 2 (send inmediatly)

  • Problems of logical port configuration

    Currently we made the system X8A_100 as our integration server and we designed a service interface which can dispatch the request to a function module in A1S_100, then we generated its proxy (through the transaction code SPROXY) in the X8A_105 which act as the sender after we had finished some design and configuration work. It run successfully.
    And then we expose the service interface as a web service, generated its proxy in the X8A_105, it also run successfully (didn't create any logical port). But after that, we generated a proxy of the same service interface in BBT_100, it failed and threw a exception 'GENERAL_ERROR Error during proxy processing (PART UNKNOWN (NULL)   )' although we had create a default logical port of the proxy. When I create logic port of the proxy, I set the value of the URL in Call Parameters tabs 'http://pwdf2655:50050/sap/xi/engine?type=entry&version=3.0&Sender.Service=X8A_105&Interface=http%3A%2F%2Fsap.com%2Fxi%2Ftest%2Fabap%5ESayHello_ServiceInterface', I think the problem was caused by the wrong configuration of the logical port, could anyone please tell me how we can do the configuration correctly? Thanks a lot in advance.

    Hi,
    This might help you
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/7d7b60d1e9744d9fe27b4438d9014d/frameset.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/ef/f9896cca8a8248a563050932b05322/content.htm
    Regards
    Agasthuri Doss

  • Edit Customer Problem and Logical Port

    Hi Experts,
    ISSUE 1
    In Web Service Administration, when I look at /iwcnt/actionitemvi_document service in details, I can see one Endpoint only, that is Binding_T_HTTP_A_HTTP.
    In the Troubleshooting Guide, in section 5. No Workflow / Reports reach the SCL from backend system, there are mentioned two endpoints: Binding_T_HTTPS_A_HTTP and Binding_T_HTTP_A_HTTP - all other setting, I have, are the same on my server as mentioned in the troubleshooting guide. So why there is diffrence in binding on that particular service?
    The other thing I noticed, is, that when looking closer on the logical port creation on backend system in the Behind the scene video, it mentions, that the Path Suffix include binding_t_http_a_http whereas in the Troubleshooting Guide it is showing binding_t_https_a_http - why this?
    What is the right path suffix for the logical ports at the backend system?
    ISSUE 2
    When we edit a customer from SharePoint, we get the following error:
    Error
    An unexpedted error has occured
    Correlation ID: ea04d908.xxxxxxxxxxxxxx
    Looking closer at the correlation at SCL, everything seems to be green and no error is reported, but in the ULS Viewer, following info are displayed:
    Microsoft.BusinessData.Runtime.BackendNullReturnException: LobSystem (External System) returned a null structure which is incompatible with the associated metadata.  
    at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.WrapAsEntities(IMethodInstance methodInstance, IEntity thisEntity, IParameter parameter, ITypeDescriptor entityInstanceRootTypeDescriptor, Object correspondingAdapterObject, IEntity targetEntity, ISystemUtility dataSystemUtility, ILobSystemInstance lobSystemInstance)   
    at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterCollection filters)   
    at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.FindSpecific(IEntity thisEntity, Identity entityInstanceIdentity, String specificFinderName, ILobSystemInstance lobSystemInstance)
    regards
    Tariq

    Hi,
    ISSUE 1:
    This is very likely because SSL is not configured. First of all can you go to SOAMANAGER -> Business Scenario Configuration and deactivate and activate the DUET_ENTERPRISE_ALL. When activating check if you are getting errors for the Assertion profiles (my guess would be, that you are getting errors).
    In this case check the SSL configuration from SMICM -> \[Menu] Goto -> Services
    Here you should see an active service HTTPS. If that is not the case, check that the SSL certificate is created (STRUST) and make sure that the required profile parameters are set (see also Deployment Guide -> "To configure the use of SSL in the SCL host" on page 33 at http://www.service.sap.com/instguides -> Duet -> Duet Enterprise 1.0 -> Duet Enterprise SAP Deployment Guide)).
    Regarding the backend configuration for the logical ports in LPCONFIG. Here it depends on how you have setup the configuration on the SCL. If you released the services with HTTPS then the URL in the backend has to be HTTPS binding, if you configured it via HTTP, then it has to be HTTP binding Did you perform the connection tests as described in the videos or in the checkpoint of the troubleshooting guide?
    ISSUE 2:
    Can you take a look also on the SAP side in SRTUTIL? Do you see any additional error information there? You might also want to check the errors from the log viewer /IWFND/VIEW_LOG
    Regards,
    Holger.

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

  • 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

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

  • Error when generating logical port in SOAMANAGER

    Hi,
    When generating the logical port in SOAMANAGER transaction I get an error message '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'.
    Does anyone know what the problem might be?
    Thans in advance.
    Kind regards,
    Amel Alic

    Hi,
    I, by mistake, reported the same problem; however the problem is that I referenced the WSDL without endpoint (WSDL service name....). I took this URI from Servces Registry, but was wrong (altough on the SR there were a valid binding+endpoint).
    I put the right IRU pointing to the compete Service COntract (with endpoint reference), and it worked.
    If you did't solve the problem, try to opern on the browser the URI you are referring to, and see, at the end if it contains the endpoint like that:
    <wsdl:service name="zsMy2ndCodeFirstWebService">
      <wsdl:port name="zsMy2ndCodeFirstWebServiceBinding" binding="tns:zsMy2ndCodeFirstWebServiceBinding">
      <soap:address location="http://xyz:8000/sap/bc/srt/rfc/sap/.....my service operation..." />
      </wsdl:port>
    </wsdl:service>
    Hope this help.
    Regards
    Roberto

  • Error generating logical port in SOAMANAGER

    Hi,
    When generating the logical port in SOAMANAGER transaction I get an error message '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'.
    Does anyone know what the problem might be?
    Thanks in advance.
    Fernando.

    Hi,
    go to SICF transaction under /sap/bc/srt/wsil path, test the service and look for service provider you want to consume.
    you get 2 links then test for logical port.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3
    The link is constructed in the following way:
    http://<host_name>:<port>/sap/bc/srt/wsil?sap-client=<sy-mandt>
    or you can use transaction SICF then navigate to node /sap/bc/srt/wsil
    and press "Test service" from the context menu.
    In case there is a Service Registry in your system landscape to which the provider system is connected the profile-based endpoints could be found in that Service Registry as well.
    you can follow note 1330545
    /people/franklin.herbas/blog/2007/12/11/service-modeling-with-the-esr
    /people/peter.mcnulty/blog/2008/02/04/service-implementation-in-abap
    regards
    nag
    Edited by: welcomenag on Jun 25, 2009 5:56 PM

Maybe you are looking for

  • IDCS3 - Mac:  Plugins do not show up on production machines

    I have converted a series of plugins on my Mac from CS2 to CS3 and have made their release versions available to our production people. I can see them fine on my box, but when the plugins are installed on Macs other than my own the plugins do not sho

  • Adobe Creative Suite 5.5 Design Standard - Windows

    I am trying to install the paid-for (not trial) Education Edition of the above software on my PC. My PC meets the system requirements of the software. The issue is that at 20% installation, while the Adobe Switchboard 2.0 component is being installed

  • VERY URGENT!!transferring a midlet to a mobile device and other questions

    PLEASE HELP!! hi i would like to know the following details regarding J2ME: 1. What is the size of a KVM(Kilobyte Virtual Machine)? 2. What would be approximately the memory size of a mobile phone? 3. How do i transfer my midlet application developed

  • Adobe Interactive forms are not editable following an EHP6 upgrade, how do we correct this?

    Good day, We are currently going through an upgrade to EHP6. We have set up a test parallel environment that was copied from prod and applied EHP6 for a compare. During our initial tests, we have found that Adobe interactive forms are not loading pro

  • Tween with path animation

    hi, I am Flash Action 2 Beginner. can some one help me out for creating the animation with Tween and path I have created path as circle and I want to move the my movie clip alogn with the path in circular maner countinously. It is to be done by frame