<?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>Question Re: Calling SAP Web Services does not work in Additional Q&amp;A</title>
    <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328438#M11748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is the utopia of WS*, but the reality is somewhat different.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2007 06:32:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-13T06:32:11Z</dc:date>
    <item>
      <title>Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaq-p/2328435</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;using this little program, I try to get a simple "Hello World" from a webservice in SAP.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------" /&gt;&lt;P&gt;require 'soap/rpc/driver'&lt;/P&gt;&lt;P&gt;s = SOAP::RPC::Driver.new('http://server:port/sap/bc/srt/rfc/sap/Z_WS_RUBY/', 'urn:sap-com:document:sap:soap:functions:mc-style')&lt;/P&gt;&lt;P&gt;s.add_method("Z_WS_RUBY", "StringIn" )&lt;/P&gt;&lt;P&gt; p s.Z_WS_RUBY("World")&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there is an error:&lt;/P&gt;&lt;P&gt;in `parse_local': unknown namespace qualifier: xml (XSD::NS::FormatError)&lt;/P&gt;&lt;P&gt;	from D:/rubyy/InstantRails/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:532:in `decode_attrs' ETC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the WebService Recorder I find that the call is going through with request:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;  &amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;n1:Z_WS_RUBY xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;StringIn xsi:type="xsd:string"&amp;gt;World&amp;lt;/StringIn&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/n1:Z_WS_RUBY&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but response ist like:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------" /&gt;&lt;P&gt;- &amp;lt;soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;soap-env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;soap-env:Fault&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;faultcode&amp;gt;soap-env:Client&amp;lt;/faultcode&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;faultstring xml:lang="en"&amp;gt;Operation not supported&amp;lt;/faultstring&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Fault&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;What am I mssing here ?&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Marcus Schiffer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 12:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaq-p/2328435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328436#M11746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - sapwas allready does this, and works with sap4rails =&amp;gt; &lt;A href="http://raa.ruby-lang.org/project/sapwas" target="test_blank"&gt;http://raa.ruby-lang.org/project/sapwas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 13:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328436#M11746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328437#M11747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the hint !&lt;/P&gt;&lt;P&gt; I will try it out immediately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, where ist the problem with the above code ? SOA is about using easy standards, so  I would expect SAP to work with standard Web Service coding in Ruby.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help is still appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328437#M11747</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-13T06:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328438#M11748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that is the utopia of WS*, but the reality is somewhat different.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328438#M11748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328439#M11749</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;now I tried with the recommended SAP/WAS package to call a web service in SAP:&lt;/P&gt;&lt;P&gt;This is the little program: &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt;require "SAP/WAS"&lt;/P&gt;&lt;P&gt; @was = SAP::WAS.new(:url =&amp;gt; "http://myserver:myport/sap/bc/srt/rfc/sap/Z_WS_RUBY",&lt;/P&gt;&lt;P&gt;                     :lang   =&amp;gt; "EN",&lt;/P&gt;&lt;P&gt;                    :client =&amp;gt; "800",&lt;/P&gt;&lt;P&gt;                   :user   =&amp;gt; "user",&lt;/P&gt;&lt;P&gt;                  :passwd =&amp;gt; "password",&lt;/P&gt;&lt;P&gt;                :trace  =&amp;gt; nil)&lt;/P&gt;&lt;P&gt;iface = @was.ZTestWsRuby&lt;/P&gt;&lt;P&gt;iface.STRINGIN = 'Hello'&lt;/P&gt;&lt;P&gt;@was.call(iface)&lt;/P&gt;&lt;P&gt;puts iface.STRINGOUT&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortiunately thi sdoes not work and the error is &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------" /&gt;&lt;P&gt;WAS call failed!&lt;/P&gt;&lt;P&gt;ignored element: &lt;SPAN __jive_macro_name="http"&gt;&lt;/SPAN&gt;Feature&lt;/P&gt;&lt;P&gt;ignored element: &lt;SPAN __jive_macro_name="http"&gt;&lt;/SPAN&gt;useFeature&lt;/P&gt;&lt;P&gt;in `call': SAP::WAS::CallException (SAP::WAS::CallException)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP I can see the request:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;  &amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:rfc:functions"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;STRINGIN&amp;gt;dd&amp;lt;/STRINGIN&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/n1:ZTestWsRuby&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the response is:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;P&gt;- &amp;lt;soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;soap-env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;soap-env:Fault&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;faultcode&amp;gt;soap-env:Client&amp;lt;/faultcode&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;faultstring xml:lang="en"&amp;gt;Operation not supported&amp;lt;/faultstring&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Fault&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/soap-env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More help on this available ? Any hint is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the Service from another language (VB) and it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 06:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328439#M11749</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T06:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328440#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you recorded the Call of the VB program are there any differences in the XML? What exact Web Application Server Version and Service pack do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 06:37:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328440#M11750</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2007-06-14T06:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328441#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version are you running against?  sapwas has been tested against 620 and 640 systems certainly as of sapwas-0.11.  Inorder for anyone to help you effectively, you need to give version information of ruby/sapwas/SAP .&lt;/P&gt;&lt;P&gt;Additionally - I'm not sure of the syntax that you are using for sapwas - given a service for RFC_READ_REPORT, then an example might be:&lt;/P&gt;&lt;P&gt;     @was = SAP::WAS.new(:url =&amp;gt; "http://dbw00.bydeluxe.net:8000/sap/bc/srt/rfc/sap/Z_FRFC",&lt;/P&gt;&lt;P&gt;                          ...&lt;/P&gt;&lt;P&gt;                         :trace  =&amp;gt; true)&lt;/P&gt;&lt;P&gt;    irep = @was.RFC_READ_REPORT&lt;/P&gt;&lt;P&gt;    assert( irep.qtab.structure.name == 'D022S' )&lt;/P&gt;&lt;P&gt;    irep.program.value = "SAPLGRFC"&lt;/P&gt;&lt;P&gt;    irep.call()&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;access an interface table object&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;    print "Rows of #{irep.program.value}: ", irep.qtab.rows.inspect, "\n"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try setting this one up and let us know how you go.  Also, activate :trace as above, and lets see the output.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 07:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328441#M11751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T07:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328442#M11752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using SAP WAS Rel. 7.0. SAPWAS is of 0.11.&lt;/P&gt;&lt;P&gt;Couldnt retype your exact example, but I hope it works with my simple program too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I activated the trace, here the result:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;ignored element: &lt;SPAN __jive_macro_name="http"&gt;&lt;/SPAN&gt;Feature&lt;/P&gt;&lt;P&gt;ignored element: &lt;SPAN __jive_macro_name="http"&gt;&lt;/SPAN&gt;useFeature&lt;/P&gt;&lt;P&gt;Wire dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;! CONNECT TO myserver:myport&lt;/P&gt;&lt;P&gt;! CONNECTION ESTABLISHED&lt;/P&gt;&lt;P&gt;POST /sap/bc/srt/rfc/sap/Z_WS_RUBY?sap-client=800&amp;amp;sap-language=EN HTTP/1.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOAPAction: "urn:sap-com:document:sap:rfc:functions"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content-Type: text/xml; charset=utf-8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization: Basic gzhtfzu=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User-Agent: SOAP4R/1.5.5 (/146, ruby 1.8.6 (2007-03-13) [i386-mswin32])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date: Thu, 14 Jun 2007 08:14:05 GMT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content-Length: 332&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Host: myserver:myport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&lt;/P&gt;&lt;P&gt;    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:rfc:functions"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;STRINGIN&amp;gt;dd&amp;lt;/STRINGIN&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/n1:ZTestWsRuby&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP/1.1 500 Internal Server Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set-cookie: sap-usercontext=sap-language=EN&amp;amp;sap-client=800; path=/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set-cookie: sap-recorder_sid=%2cc%3dID6-95D8115601C54670F9E2221A00000000--1%2co%3jhggz; path=/; domain=mydomain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content-type: text/xml; charset=utf-8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content-length: 264&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap-srt_id: 20070614/101842/v1.00_final_6.40/466FCFE5847D01C50000000095D81156&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server: SAP Web Application Server (1.0;700)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;&amp;lt;soap-env:Body&amp;gt;&amp;lt;soap-env:Fault&amp;gt;&amp;lt;faultcode&amp;gt;soap-env:Client&amp;lt;/faultcode&amp;gt;&amp;lt;faultstring xml:lang="en"&amp;gt;Operation not supported&amp;lt;/faultstring&amp;gt;&amp;lt;/soap-env:Fault&amp;gt;&amp;lt;/soap-env:Body&amp;gt;&amp;lt;/soap-env:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call does not ecven go through to the Function Module in SAP.&lt;/P&gt;&lt;P&gt;Here is the call that worked from my VB  Program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;n1:ZTestWsRuby xmlns:n1="urn:sap-com:document:sap:soap:functions:mc-style" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;STRINGIN xsi:type="xsd:string"&amp;gt;wert&amp;lt;/STRINGIN&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/n1:ZTestWsRuby&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Body&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/env:Envelope&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328442#M11752</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328443#M11753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post the source of the RFC Enabled Function module you published as a web service? Have you published the Function Goup or the Function Module alone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328443#M11753</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2007-06-14T08:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328444#M11754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the function is very simple, just for test &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION Z_TEST_WS_RUBY.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(STRINGIN) TYPE  STRING&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(STRINGOUT) TYPE  STRING&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt; concatenate stringin 'World' into stringout.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------" /&gt;&lt;P&gt;and is published alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 08:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328444#M11754</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T08:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328445#M11755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;I've created this in a 640 system (BW), and it runs OK.  There is a problem with the response in that it comes back garbled because of an edge case in SOAP4R.  When SOAP4R gets a single parameter result it returns a scalar value, and not an array, but this would not have shown a SOAP fault like you are seeing - you would have got a number instead of a string value for STRINGOUT, most likely.  This particular problem I've fixed in sapwas-0.12, which is available for download now.  The test that I used was:&lt;/P&gt;&lt;P&gt;require "lib/SAP/WAS"&lt;/P&gt;&lt;P&gt;require 'test/unit'&lt;/P&gt;&lt;P&gt;require 'test/unit/assertions'&lt;/P&gt;&lt;P&gt;class SAPTest &amp;lt; Test::Unit::TestCase&lt;/P&gt;&lt;P&gt;  def setup&lt;/P&gt;&lt;P&gt;     @was = SAP::WAS.new(:url =&amp;gt; "http://dbw00.bydeluxe.net:8000/sap/bc/srt/rfc/sap/Z_TEST_WS_RUBY",&lt;/P&gt;&lt;P&gt;                         :lang   =&amp;gt; "EN",&lt;/P&gt;&lt;P&gt;                         ...&lt;/P&gt;&lt;P&gt;                         :trace  =&amp;gt; false)&lt;/P&gt;&lt;P&gt;  end&lt;/P&gt;&lt;P&gt;  def test_BASIC_00010_test&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;look up the interface definition for an RFC&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;    i = @was.Z_TEST_WS_RUBY&lt;/P&gt;&lt;P&gt;    i.stringin.value = "Hello, "&lt;/P&gt;&lt;P&gt;    i.call()&lt;/P&gt;&lt;P&gt;    print "STRINGOUT: #{i.stringout.value}\n"&lt;/P&gt;&lt;P&gt;  end&lt;/P&gt;&lt;P&gt;  def teardown&lt;/P&gt;&lt;P&gt;  end&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 10:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328445#M11755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328446#M11756</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 still struggeling. The new SAPWAS is installed, the od deinstalled and I tried the coding you provided. however, the error is still the same. Meanwhile I tried again with the original version &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;s = SOAP::RPC::Driver.new('http://myserver:myport/sap/bc/srt/rfc/sap/Z_WS_RUBY', 'urn:sap-com:document:sap:soap:functions:mc-style')&lt;/P&gt;&lt;P&gt;s.add_method("ZTestWsRuby", "STRINGIN")&lt;/P&gt;&lt;P&gt; p s.ZTestWsRuby("Hello")&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it worked fine (in the first place I used the wrong service name, SAP changes this in the WSDl description on automatic generation to a version without underscores).&lt;/P&gt;&lt;P&gt;The soap call is exactly as the VB example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On debugging your example I found that namespace is urn:sap-com:document:sap:soap:functions whereas in the running example it is &lt;/P&gt;&lt;P&gt;urn:sap-com:document:sap:soap:functions:mc-style&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May this be the reason for failure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 12:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328446#M11756</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T12:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328447#M11757</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;just verified the urn problem. When changing to urn:sap-com:document:sap:soap:functions  the above little example also fails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging the abap tells me that somewhere in the CL_SOAP_APPLICATION_SERVER class a method CHECK_OPERATION is called. This method fails if the call does not use the mc-style extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can the namespace be provided in theh SAPWAS ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 13:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328447#M11757</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T13:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328448#M11758</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;finally I found the reason and a cure.&lt;/P&gt;&lt;P&gt;The reason is, that on generation of the web service from the function module i checked the "mapping" feauture in the wizard. This forces SAP to erase all underscores and to use the urn with extension mc-style.&lt;/P&gt;&lt;P&gt;As soon as the service is generated without the mapping option, everything works as designed. However, as the example abaove shows, a call with an explicit namespace parameter can also go through and sometimes the mapping is a usefull feature. So mayby you think of including it in the pacakage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 15:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328448#M11758</guid>
      <dc:creator>marcus_schiffer</dc:creator>
      <dc:date>2007-06-14T15:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328449#M11759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the posted message and reply from you. I have faced a new problem when calling WS from Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields&lt;/P&gt;&lt;P&gt;such as&lt;/P&gt;&lt;P&gt;medPlace -- String&lt;/P&gt;&lt;P&gt;publictn - String&lt;/P&gt;&lt;P&gt;amount - long&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This WS is working fine when I am testing from WS Nevigator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have imported the WS in Excel and now the data types are like &lt;/P&gt;&lt;P&gt;medPlace -- String&lt;/P&gt;&lt;P&gt;publictn - String&lt;/P&gt;&lt;P&gt;amount - double&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to send the multiple row of the Excel to the WS at a time( I mean as a List). So when I have executed it first time I got error like &amp;#147;deserialisation error&amp;#148;. But I got an article (SAP Web Services and Microsoft Office: How to Create Simple Composite Applications ) by Marcus Schiffer and that problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Now I am getting the error like ......Client:Type conversion failure for element eXLSTRUCT0  HRESULT=0x80020005: Type mismatch.  - Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eXLSTRUCT0 - This is my structure name in input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 11:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328449#M11759</guid>
      <dc:creator>former_member206397</dc:creator>
      <dc:date>2008-03-25T11:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calling SAP Web Services does not work</title>
      <link>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328450#M11760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried SAP Note 1009109 - Analyzing Web service problems using the ICF recorder to analyze the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 21:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/additional-q-a/calling-sap-web-services-does-not-work/qaa-p/2328450#M11760</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2008-03-28T21:39:45Z</dc:date>
    </item>
  </channel>
</rss>

