Skip to Content
0
Former Member
Oct 09, 2012 at 10:52 AM

Error while connecting to the webservice

95 Views

Hi Experts,

I am working on the offline time sheet .

As per the client requirement I am using two methods to upload the time records to the SAP table.

1. I am using webdynpro upload method which is working fine.

2.Second methods is : I have one button on the offline 'SUBMIT TO SAP' , on clicking on this the Time entries should be saved to the SAP table.

Problem is in second method:

To enable the functionality of button:

1. I create a RFC function module.

2. A web service based on this RFC FM.

3.Configured this web service in SOAMANAGER T code.

4.I save the wsdl file generated from web service .

5.From form side I created a data connection for the button "SUBMIT TO SAP" which takes the URL of webservice. Then I save and activate the form.

Then I download the offline time sheet and fill the entries and clicked on the button to save the time entries to the SAP table.

But I am getting the below error :

Error attempting to read from file :

http://project-abcd.com8080/sap/bc/srt/rfc/webservice

Please suggest me the solution.

Regards,

Akhilesh Bhagat.