<?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: Integrating with an external system problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578776#M261331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Disha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was that server didn't support DNS. That is, if you type in IP address as a host name, you'll get connected without any problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe there are more problems to rise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 03:22:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T03:22:34Z</dc:date>
    <item>
      <title>Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578769#M261324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing a program for a local railways company. The task is to transmit data from SAP tables as a XML data to an external system which evaluates tariffs and receive a XML document back (with all those tariffs evaluated). I cannot use both XI and J2EE, I need to write it on ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The external system provides a webservice. I've got an URL to WSDL file. When I try to get it, I receive error 500. The header of a HTTP request looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~request_uri MY_HOST_NAME/MY_WSDL_FILE.WSDL&lt;/P&gt;&lt;P&gt;~request_method POST&lt;/P&gt;&lt;P&gt;~server_protocol HTTP/1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the message-body is empty. I don't know should it be filled with something or not. I also don't know if method CL_HTTP_CLIENT-&amp;gt;SEND appends any extra fields to HTTP header of request prior to sending.&lt;/P&gt;&lt;P&gt;Then I call CL_HTTP_CLIENT-&amp;gt;RECEIVE to get response. It looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~response_line: HTTP/1.1 500 Business Server Page Error&lt;/P&gt;&lt;P&gt;~server_protocol: HTTP/1.1&lt;/P&gt;&lt;P&gt;~status_code: 500&lt;/P&gt;&lt;P&gt;~status_reason: Business Server Page Error&lt;/P&gt;&lt;P&gt;content-type: text/plain; charset=utf-8&lt;/P&gt;&lt;P&gt;content-length: 319&lt;/P&gt;&lt;P&gt;server: SAP Web Application Server (1.0;620)&lt;/P&gt;&lt;P&gt;~remote_addr:&lt;/P&gt;&lt;P&gt;~uri_scheme_expanded: NONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Server Page (BSP) Error##URL&lt;EM&gt;%d0%bd%d0%b5&lt;/EM&gt;%d1%81%d0%be%d0%b4%d0%b5%d1%80%d0%b6%d0%b8%d1%82&lt;EM&gt;%d0%bf%d0%be%d0%bb%d0%bd%d0%be%d0%b3%d0%be&lt;/EM&gt;%d1%83%d0%ba%d0%b0%d0%b7%d0%b0%d0%bd%d0%b8%d1%8f&lt;EM&gt;%d0%b4%d0%be%d0%bc%d0%b5%d0%bd%d0%b0&lt;/EM&gt;(MY_HOST_NAME&lt;EM&gt;%d0%b2%d0%bc%d0%b5%d1%81%d1%82%d0%be&lt;/EM&gt;MY_HOST_NAME%2e%3cdomain%3e%2e%3cext%3e)%2e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Response message body contains URL-encoded string. My attempts at decoding it weren't successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use class CL_HTTP_CLIENT to send request and listen for response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is, why do I get error 500? Should I fill request body with something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 11:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578769#M261324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T11:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578770#M261325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dima ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all , lets check if the webservice that you are trying to use takes in which parameters and may be some of them are mandatory to pass. Use some tools like Altova XML spy to test the webservice first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you on MySAPERP? If yes, then to consume webservice in ABAP is fairly easy. You can go to SE80 ..find enterprise services tab and all the steps are mentioned therein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally Error 500 occur due to following:&lt;/P&gt;&lt;P&gt;1. Probably there are some mandatory parameters which needs to be send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The server is too busy to respond to the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;As per my experience of sending the XML data, sometimes, the HTML header gets appended to the main body. You need to test this in debug mode , if this is happening. The XML must be transmitted without the header ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578770#M261325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578771#M261326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Disha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your advice wasn't helpful because I have SAP Basis version of 620 where there are no client proxies in SE80 (at least I wasn't able to find one via menus), but thanks anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've activated the 'default_host' node in transaction SICF, and I still get error 500. I've been told that no additional parameters are need to be sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 11:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578771#M261326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T11:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578772#M261327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for you to provide me the link for webservice which you are trying to use? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if possible, please post your program which you have written to consume the webservice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right ..Client Proxies are not available in 6.2..they are available in 6.4 WAS - as Enterprise Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not too sure, but I hope you have provided the Background user / password .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are getting 500 error message, then I guess the system is able to communicate over the internet..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Disha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 16:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578772#M261327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T16:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578773#M261328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Disha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've solved this problem on my own.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 03:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578773#M261328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T03:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578774#M261329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know the solution. I will enhance my knowledge too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 04:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578774#M261329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T04:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578775#M261330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Disha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll tell the solution you when I get everything working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 04:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578775#M261330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T04:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating with an external system problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578776#M261331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Disha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was that server didn't support DNS. That is, if you type in IP address as a host name, you'll get connected without any problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe there are more problems to rise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 03:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/integrating-with-an-external-system-problem/m-p/1578776#M261331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T03:22:34Z</dc:date>
    </item>
  </channel>
</rss>

