- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Consuming Web Service in C# application (SAP)
This error occurs when remote server doesn’t provide a response to your request and connection is broken before request is complete. To fix this issue, first setup a request that includes QaaWsHeader and ReportBlock configuration, then create the Request and in last using ServicesSoapClient, you can make method to send results.
Check out the below code and it may help −
Sellers.QaaWSHeader qaawsHeaderDatos = new Sellers.QaaWSHeader(); Sellers.GetReportBlock_WBS_Sellers getReportBlock = new Sellers.GetReportBlock_WBS_Sellers(); getReportBlock.login = userWS; getReportBlock.password = passWS; getReportBlock.refresh = true; getReportBlock.startRow = 0; getReportBlock.startRowSpecified = true; getReportBlock.endRow = 1000; getReportBlock.endRowSpecified = true; Sellers.GetReportBlock_WBS_Sellers_Request WSRequest = new Sellers.GetReportBlock_WBS_Sellers_Request(qaawsHeaderDatos, getReportBlock); Sellers.BIServicesSoap BiService = new Sellers.BIServicesSoapClient(); Sellers.GetReportBlock_WBS_Sellers_Response FinalResponse = BiService.GetReportBlock_WBS_Sellers(WSRequest); object[][] yourTable = FinalResponse.table;
- Related Articles
- Naming conflict error while consuming SAP Web Service in .net
- Invoke a Web service from AJAX in SAP application
- Error Message: Unsupported xstream found: (“HTTP Code 200:OK”)” while consuming SAP Web Service
- Using SAP Gateway service in SAP Web project
- Extended application Service in SAP HANA
- Integrating JSession in a Web-Service in SAP
- SAP BI retrieving PDF from Web Service
- Using SAP Web Service from WSDL file
- Using SAP Web Service from SAP by PHP with parameters
- Calling SAP Web Service to get data in Flash dashboard
- Connecting system with SAP system using a Web Service
- Java Web application pointing to SAP HANA locally
- Creating SAP interface to pull data from web application
- Exposing employee master data from SAP HR system using Web Service
- Accessing SAP Web Dynpro page within an application using NSURL

Advertisements