Link to home
Start Free TrialLog in
Avatar of ZURINET
ZURINET

asked on

Calling WebService: request , respond form C# class/Apps

Hi all

Given the SOAP message below
I am looking for guidance in form of a direction, code or tutorial
That will help me call the webservice and get a respond..

I have the WSDL file, I have downloaded already and have generated the corresponding classes.

Thanks in Advance
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /MYWebServices/BillerDownloadServices.asmx HTTP/1.1
Host: ebill-test.yellowworld.ch
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.myWorld.com/GetProcessProtocol"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetProcessProtocol xmlns="http://www.myWorld.com">
      <CustomerID>string</CustomerID>
      <CreateDate>dateTime</CreateDate>
      <ArchiveData>boolean</ArchiveData>
    </GetProcessProtocol>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetProcessProtocolResponse xmlns="http://www.myWorld.com">
      <GetProcessProtocolResult>
        <DownloadFile>
          <Data>base64Binary</Data>
          <Filename>string</Filename>
        </DownloadFile>
        <DownloadFile>
          <Data>base64Binary</Data>
          <Filename>string</Filename>
        </DownloadFile>
      </GetProcessProtocolResult>
    </GetProcessProtocolResponse>
  </soap:Body>
</soap:Envelope>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ZURINET
ZURINET

ASKER

Hi Kaufmed

Thank you for the feedback..
I would be glad to have a tutorial or example.. any link might help..
I have found a couple but... I am still looking


Kind Regards