La vostra richiesta potrebbe essere qualcosa di simile:
POST /WeatherWS/Weather.asmx/GetCityWeatherByZIP HTTP/1.1
Host: wsf.cdyne.com
Cache-Control: no-cache
Postman-Token: e5bc46a4-71ac-f357-78a7-c4b4de894afb
Content-Type: application/x-www-form-urlencoded
ZIP=90210
E la risposta sarà:
<?xml version="1.0" encoding="utf-8"?>
<WeatherReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://ws.cdyne.com/WeatherWS/">
<Success>true</Success>
<ResponseText>City Found</ResponseText>
<State>CA</State>
<City>Beverly Hills</City>
<WeatherStationCity>Van Nuys</WeatherStationCity>
<WeatherID>4</WeatherID>
<Description>Sunny</Description>
<Temperature>68</Temperature>
<RelativeHumidity>54</RelativeHumidity>
<Wind>CALM</Wind>
<Pressure>29.89R</Pressure>
<Visibility />
<WindChill />
<Remarks />
</WeatherReturn>
fonte
2015-06-08 11:30:13
Non capisco la domanda. Vuoi chiamare metodi in ws senza scrivere un'applicazione client? Non puoi farlo usando un browser o forse persino un ricciolo? – Birger
Date un'occhiata a questo post http://stackoverflow.com/questions/578306/simple-free-soap-client-for-testing-web-services – AlexSC
è necessario utilizzare un programma come interfaccia utente SOAP o equivalenti. – whosrdaddy