<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem to test WebService with ABAP-Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396092#M1045135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution for me was to ensure the Logical Port was correctly defined. I had forgotten to enter a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start transaction &lt;STRONG&gt;LPCONFIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Under "General Settings" click the tab "Call Parameters"&lt;/P&gt;&lt;P&gt;3. Enter the URL of your Web Service or define the HTTP Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you don't have any leading spaces in your URL or you will get the following error message:&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;cx_ai_system_fault Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text'  )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2009 09:41:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-06T09:41:06Z</dc:date>
    <item>
      <title>Problem to test WebService with ABAP-Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396090#M1045133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've developed a webservice based on webdynpro and deployed it on out portal-server. the testing of this webservice with the internal test-tool for webservice on portal (web services navigator) was finished succesfully.&lt;/P&gt;&lt;P&gt;Now i try to use this webservice with an abap-program. first of all i let the system generated a webservice-proxy to get comfortable access to  the webservice. The proxy-class has been generated and i configured with transaction lpconfig a logical port with the use of this proxy-class. &lt;/P&gt;&lt;P&gt;So after i comply all these requirements i developed the abap-code and tried to test it. &lt;/P&gt;&lt;P&gt;But i have following failure-code and i could not find any reason for that. Perhaps you have some ideas on this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         UNCAUGHT_EXCEPTION&lt;/P&gt;&lt;P&gt;Except.                CX_AI_SYSTEM_FAULT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    The exception 'CX_AI_SYSTEM_FAULT' was raised, but it was not caught anywhere&lt;/P&gt;&lt;P&gt;     along&lt;/P&gt;&lt;P&gt;    the call hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Since exceptions represent error situations and this error was not&lt;/P&gt;&lt;P&gt;    adequately responded to, the running ABAP program&lt;/P&gt;&lt;P&gt;     'CL_PROXY_RUNTIME_ERRORS=======CP' has to be&lt;/P&gt;&lt;P&gt;    terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error (id=SOAP:1.004): variable M_ENTITY is not initiated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    8   WRITE soap_failure-&amp;gt;error_id TO l_id_c LEFT-JUSTIFIED.&lt;/P&gt;&lt;P&gt;    9   CONCATENATE 'SOAP:' l_id_c INTO l_id.&lt;/P&gt;&lt;P&gt;   10   l_text = soap_failure-&amp;gt;error_text.&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;11  RAISE EXCEPTION TYPE cx_ai_system_fault&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   12     EXPORTING&lt;/P&gt;&lt;P&gt;   13       code      = l_id&lt;/P&gt;&lt;P&gt;   14       errortext = l_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea whats wrong with that variable "M_ENTITY"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 15:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396090#M1045133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to test WebService with ABAP-Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396091#M1045134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing the same problem... did you already find a solution to that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396091#M1045134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T16:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to test WebService with ABAP-Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396092#M1045135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution for me was to ensure the Logical Port was correctly defined. I had forgotten to enter a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start transaction &lt;STRONG&gt;LPCONFIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Under "General Settings" click the tab "Call Parameters"&lt;/P&gt;&lt;P&gt;3. Enter the URL of your Web Service or define the HTTP Destination&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you don't have any leading spaces in your URL or you will get the following error message:&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="Courier" __jive_macro_name="font"&gt;cx_ai_system_fault Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text'  )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 09:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-to-test-webservice-with-abap-program/m-p/4396092#M1045135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T09:41:06Z</dc:date>
    </item>
  </channel>
</rss>

