locked
Consume any http or https request in Soap and Http RRS feed

  • Question

  • User-148788041 posted

    Hi,

    I am writing a common code that consume any http or https url for Soap and Http.

    Web api:

    In Http or Https Api i need to write common code  for these methods

    • POST
    • PUT
    • MERGE
    • OPTIONS
    • HEAD
    • PUT,PATCH

    Note :

    Input is either XML or Json string. 

    How to consume it for either http or https.

    SOAP

    Note :

    Input is either XML or Json string. 

    METHOD:POST

    HOW TO CONSUME SOAP AND WEB API IN c# CODE. 

    Sunday, October 28, 2018 11:26 AM

All replies

  • User475983607 posted

    Guhananth

    I am writing a common code that consume any http or https url for Soap and Http.

    Web api:

    In Http or Https Api i need to write common code  for these methods

    • POST
    • PUT
    • MERGE
    • OPTIONS
    • HEAD
    • PUT,PATCH

    Note :

    Input is either XML or Json string. 

    How to consume it for either http or https.

    SSL/TLS is handled in the OS or API.  Can you explain why you are having an issue consuming an HTTPS endpoint?  Can you provide code that illustrates the issue?

    Guhananth

    SOAP

    Note :

    Input is either XML or Json string. 

    METHOD:POST

    HOW TO CONSUME SOAP AND WEB API IN c# CODE. 

    SOAP is a protocol.  Web API is a REST architecture which is very different from a SOAP service.  Your question simply does not make logical sense.  Being that you've asked the same question several time a week few months now, can you explain why you ignore the advice given here on the ASP.NET forum?  

    Sunday, October 28, 2018 2:10 PM