none
SOAP Request Format - Calling in c# RRS feed

  • Question

  • Hi,

    My Client has given me WSDL File with SOAP request format. This is SOAP based webservice-- and having tokens to authenticate.

    Please let me know how to call in c# to authenticate or consume API?

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:env="http://xxxxxxxxxxxx/ISL/xxxxxxxxxxxxx">

       <soapenv:Header>
    <INF:INF_Security xmlns:INF="http://com.INF.us.Security/">
    <INF:APIKey>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</INF:APIKey>
    <INF:APIToken>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</INF:APIToken> 
    </INF:INF_Security>
    </soapenv:Header>

       <soapenv:Body>
          <env:getclientsbyids>
             <clientId>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</clientId>
             <tokenId>TK.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:-7086</tokenId>
          </env:getClientById>
       </soapenv:Body>
    </soapenv:Envelope>

    Monday, December 19, 2016 7:45 AM

All replies

  • This is the exact same question asked by REDDY-SP 20 minutes ago.
    Monday, December 19, 2016 3:46 PM
    Moderator
  • Hi Badri207,

    Thank you for posting here.

    According to your question is more related to WCF, I will move it to WCF forum for suitable support.

    The Visual C# Forum discuss and ask the question about the C# programming language, IDE, libraries, samples and tools.

    If you have some grammar or code errors, please feel free to contact us.

    Thanks for your understanding and cooperation.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, December 20, 2016 1:50 AM
  • Hi Badri207,

    Is Call SOAP webservice API in C# ( SOAP Request format) your thread? If it is, I would suggest you delete this thread, and keep following the other thread. If not, I suggest you check the reply in the other thread, and check whether it is helpful to you.

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, December 20, 2016 5:28 AM