<?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: Create BAPI as Web Service in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350985#M803771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;give a sap logon userid and password and store it as a wsdl extension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your SAP logon userid validity with the BASIS team. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if help.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 04:51:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T04:51:51Z</dc:date>
    <item>
      <title>Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350983#M803769</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 have expose a BAPI as a web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application : PA&lt;/P&gt;&lt;P&gt;BAPI : EmployeePersonalData&lt;/P&gt;&lt;P&gt;Method : Create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to test the web serive with the following test data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employeenumber (String) = 12345678&lt;/P&gt;&lt;P&gt;Validitybegin (String) = 2001-01-01&lt;/P&gt;&lt;P&gt;Validityend (String) = 2003-01-01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It give me the following error:&lt;/P&gt;&lt;P&gt;=============================================&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;Set-Cookie: &amp;lt;value is hidden&amp;gt;&lt;/P&gt;&lt;P&gt;content-type: text/xml; charset=utf-8&lt;/P&gt;&lt;P&gt;content-length: 803&lt;/P&gt;&lt;P&gt;sap-srt_id: 20080128/122539/v1.00_final_6.40/DCCD591434D56BF19BA300145E6770F3&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;&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;Deserialisation failed&amp;lt;/faultstring&amp;gt;&amp;lt;detail&amp;gt;&amp;lt;n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"&amp;gt;&amp;lt;MainName&amp;gt;/1BCDWB/WSS0080123034217187000&amp;lt;/MainName&amp;gt;&amp;lt;ProgName&amp;gt;/1BCDWB/WSS0080123034217187000&amp;lt;/ProgName&amp;gt;&amp;lt;Line&amp;gt;128 &amp;lt;/Line&amp;gt;&amp;lt;Valid&amp;gt;X&amp;lt;/Valid&amp;gt;&amp;lt;ReferenceFault&amp;gt;&amp;lt;DescriptionText&amp;gt;Error accessing the ref. node 'EMPLOYEENUMBER'&amp;lt;/DescriptionText&amp;gt;&amp;lt;RefName&amp;gt;EMPLOYEENUMBER&amp;lt;/RefName&amp;gt;&amp;lt;/ReferenceFault&amp;gt;&amp;lt;Caller&amp;gt;&amp;lt;Class&amp;gt;CL_SRG_RFC_PROXY_CONTEXT&amp;lt;/Class&amp;gt;&amp;lt;Method&amp;gt;IF_SXML_PART~DECODE&amp;lt;/Method&amp;gt;&amp;lt;Positions&amp;gt;1 &amp;lt;/Positions&amp;gt;&amp;lt;/Caller&amp;gt;&amp;lt;/n0:SimpleTransformationFault&amp;gt;&amp;lt;/detail&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;P&gt;============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What wrong with it? Any idea how to resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 04:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350983#M803769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T04:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350984#M803770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rayden&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will surely help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please reward pts if help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepanker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expose BAPI as a Web Service&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1. Go to transaction SE80.Select Function Group from drop down menu; enter the function group in which the BAPI (which is to be exposed as Web Service) comes. You can find this Function Group from function module (BAPI) itself. Go to transaction SE37 and enter function module name (BAPI name) and click on display. You can see the function group here under attribute tab . &lt;/P&gt;&lt;P&gt;2. Then from Function Modules list choose the BAPI to which you want to expose as a    &lt;/P&gt;&lt;P&gt;    Web Service .&lt;/P&gt;&lt;P&gt;3. On right clicking on the BAPI a context menu appears. Click on create and Web Service option .&lt;/P&gt;&lt;P&gt;4. New window will pop up. Click on Continue.&lt;/P&gt;&lt;P&gt;5. Give the name for Enterprise service and short description. Click on continue.&lt;/P&gt;&lt;P&gt;6.  New window will pop up.Click on Continue&lt;/P&gt;&lt;P&gt;7. New window pop up. Click on 'Release service for runtime'. Click on Continue.&lt;/P&gt;&lt;P&gt;8. This window pops up. Click on Complete.&lt;/P&gt;&lt;P&gt;9. New pop up window come up asking for Package. Give the package name and click on SAVE button.&lt;/P&gt;&lt;P&gt;10. New window pop up asking for Request . Give request and click on OK.&lt;/P&gt;&lt;P&gt;11. New window comes displaying service definition.&lt;/P&gt;&lt;P&gt;12. Now go to transaction WSADMIN and choose your web service. Go to Web Service menu and choose WSDL option.&lt;/P&gt;&lt;P&gt;13. New pop up window come.Check on Include SAP Feature in WSDL and click on OK.&lt;/P&gt;&lt;P&gt;14. Internet browser will be opened and asking for User Name and Password .&lt;/P&gt;&lt;P&gt;15. After giving values for user name and password, you will get WSDL file opened in internet explorer. SAVE this locally on your computer for further use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 04:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350984#M803770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T04:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350985#M803771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;give a sap logon userid and password and store it as a wsdl extension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your SAP logon userid validity with the BASIS team. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if help.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 04:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350985#M803771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T04:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350986#M803772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepanker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already expose the BAPI to Web Service. What the BAPI do is to create an employee detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem now is i enter the required field Employeenumber, and submit it it return an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;An error has occurred. Maybe the request is not accepted by the server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deserialisation failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error accessing the ref. node 'EMPLOYEENUMBER'&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is that so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 05:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350986#M803772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T05:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350987#M803773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also having the same error with a custom function. &lt;/P&gt;&lt;P&gt;this is the trace from sm59&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XRFC&amp;gt; ERROR 16:48:08: SOAP Message CL_SOAP_MESSAGE-&amp;gt;IF_SOAP_MESSAGE       &amp;lt;&lt;/P&gt;&lt;P&gt;XRFC&amp;gt; &lt;U&gt;PART~DESERIALIZE&lt;/U&gt;BODY() SOAP Fault Exception caught: :             &amp;lt;&lt;/P&gt;&lt;P&gt;XRFC&amp;gt; Deserialisation failed                                              &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exposed other web services and i am able to execute those just fine.  However, this WS fails.  I am using the same user, same auths &amp;amp; i have no problems running the function module in r3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 16:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350987#M803773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T16:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350988#M803774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to fix my issue.&lt;/P&gt;&lt;P&gt;I was passing the date incorrectly.  Originally I passed the date as "20080501", the WS wanted the date passed "2008-05-01".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 17:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350988#M803774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create BAPI as Web Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350989#M803775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;                        How we can make use of the WSDL file for calling the Webservice from outside the SAP system? I have a RFC FM  pointed to a service definition and I have the WSDL file with me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me how I can make use of this WSDL for the Webservice call?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-bapi-as-web-service/m-p/3350989#M803775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T18:51:05Z</dc:date>
    </item>
  </channel>
</rss>

