Hello. Faced with the problem of incorrect technical specifications. for a C # program. In those tasks, it is erroneously indicated that the SOAP service is raised on the server and the format of the request and response to the service in XML format is given. But XML does not conform to the SOAP format. When clarifying, it was found out that you just need to send an XML file to the server and expect an answer from it, too, an XML file.

For the regulatory timetable, the WEB server interface is GetScheduleNormative4Place.

Request example:

<?xmlversion="1.0" encoding=" utf-8" ?> <root> <Authentication User='ddd' Password='samba'/> <Place ESR='34567'/> </root> 

I can generate XML and parse response. This part has already been tested. I am interested in the network exchange itself through what to do it?

It comes to mind to use webclient.

  • and there is no WCF by chance? For him, this is quite a regular mode to work on http binding and provide methods under the contract. Can you fulfill this request from a regular browser? what returns? - rdorn
  • And not a multipart there? Then come across the boundary ... I did a SystemRNet WebResponse response to cover all the farms, just in case. - xSx
  • To execute the request from the browser, I need to specify "ip: port / GetScheduleNormative4Place"? - Aldmi
  • I think that there is no WCF. I only know that they exchange XML files and provide an interface for each type of request. - Aldmi

0