<?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: Implementing WS through ABAP Proxy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198756#M1520864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the logical port to create the proxy class.&lt;/P&gt;&lt;P&gt;The note helps debug the SOAP exchange but the request is never send due to the header error, so it doesn't help me much.&lt;/P&gt;&lt;P&gt;Anybody else encountered similar errors ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br Rasmus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2010 22:04:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-16T22:04:29Z</dc:date>
    <item>
      <title>Implementing WS through ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198752#M1520860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some of ypu gurus knows you way around webservices in the SAP world &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use a webservice from ABAP.&lt;/P&gt;&lt;P&gt;The webservice is on the SAP Portal from Knowledge Management called RepositroyFrameworkWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I build a proxy through SE80 and setup a logical port through SOAMANAGER.&lt;/P&gt;&lt;P&gt;I then call one of the method on the proxy.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD LO_CLIENTPROXY-&amp;gt;FIND_RESOURCES
      EXPORTING
        INPUT  = ls_request
      IMPORTING
        OUTPUT = ls_response.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But i comes out with the same error always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 400 : Bad Request")&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged it and looks like the WS request has the wrong header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the method.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
CL_SOAP_HTTP_TPBND_ROOT-&amp;gt;GET_HTTP_HEADERS
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;there is a call&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
value = entity-&amp;gt;get_header_field( if_http_header_fields=&amp;gt;content_type ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it receives      &lt;/P&gt;&lt;P&gt;  &lt;EM&gt;"text/html;charset=ISO-8859-1"&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;but it will only accept stuff like &lt;/P&gt;&lt;P&gt;  &lt;EM&gt;"text/xml"&lt;/EM&gt; or &lt;/P&gt;&lt;P&gt;  "application/xop+xml"&lt;/P&gt;&lt;P&gt;which seems reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is my request in the wrong format ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 21:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198752#M1520860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-12T21:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WS through ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198753#M1520861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rasmus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction LPCONFIG and open the logical port you have defined in edit mode.&lt;/P&gt;&lt;P&gt;Switch to "Operations" tab, for each method on the left side, the SOAP Action&lt;/P&gt;&lt;P&gt;on the right side has to be defined. For example, if the method is SAY_HELLO,&lt;/P&gt;&lt;P&gt;then its SOAP Action is "http://tempuri.org/UpdateSay_Hello" . It seems that you have left the SOAP&lt;/P&gt;&lt;P&gt;Action blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 06:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198753#M1520861</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-08-13T06:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WS through ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198754#M1520862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ozcan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that.&lt;/P&gt;&lt;P&gt;I couldn't find the logical port i had created with the SOAMANAGER, so i created a new one.&lt;/P&gt;&lt;P&gt;Unfortunately there is no change after setting the SOAP action on the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Rasmus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Aug 2010 11:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198754#M1520862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-14T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WS through ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198755#M1520863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if it will help but you may try to use the logical port name when creating the webservice proxy (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CREATE OBJECT LO_WSPROXY 
  EXPORTING LOGICAL_PORT_NAME = '&amp;lt;your_port_name_here&amp;gt;'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you may have a look at SAP Note 1009109 - Analyzing Web service problems using the ICF recorder. May be you can find out the exact problem by tracing the soap messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 08:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198755#M1520863</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2010-08-16T08:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing WS through ABAP Proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198756#M1520864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the logical port to create the proxy class.&lt;/P&gt;&lt;P&gt;The note helps debug the SOAP exchange but the request is never send due to the header error, so it doesn't help me much.&lt;/P&gt;&lt;P&gt;Anybody else encountered similar errors ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br Rasmus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 22:04:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-ws-through-abap-proxy/m-p/7198756#M1520864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T22:04:29Z</dc:date>
    </item>
  </channel>
</rss>

