how to call wcf in postman?
Microsoft Net Framework

how to call wcf in postman?

in app.config change      <service name="GettingStartedLib.WeatherService">
    project name+service name
line#  <endpoint address="" binding="basicHttpBinding" contract="GettingStartedLib.IWeather">
    
change bnding and contract name

line# 23  <add baseAddress="http://localhost:8733/Design_Time_Addresses/GettingStarted/WeatherService" />

 change port and service name accordingly
        


URL of service http://localhost:8733/Design_Time_Addresses/GettingStarted/WeatherService/
Method: Post

Header: Content-type: text/xml
SOAPAction: http://Microsoft.ServiceModel.Samples/IWeather/Hello

   Interface name and function name


body: Raw and contetns type xml

eg.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">  
  <s:Body>
    <Hello xmlns="http://Microsoft.ServiceModel.Samples">
      <name>ali</name>
    </Hello>
  </s:Body>
</s:Envelope>

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM