• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My first webservice call

 
Shriram Krishnamoorthy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am trying to write a webservice call client for a webservice at http://www.webservicex.net/WeatherForecast.asmx?WSDL

. But I have some problms in invokint the call. This is the code I have. Please let me know whats wrong with it.

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But I have some problms in invokint the call.

What problems are those? TellTheDetails

Also, please edit your post to UseCodeTags. It's unnecessarily hard to read the code as it is, making it less likely that people will bother to do so.
 
Shriram Krishnamoorthy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the error message after invoking the service

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to use a tool like tcpmon or SOAPUI to monitor what's going over the wire. The default HTTP method for SOAP is POST, so if the service doesn't like what's being sent you should examine what *is* being sent.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic