aspose file tools*
The moose likes Web Services and the fly likes My first webservice call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "My first webservice call" Watch "My first webservice call" New topic
Author

My first webservice call

Shriram Krishnamoorthy
Greenhorn

Joined: Dec 21, 2005
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
Shriram Krishnamoorthy
Greenhorn

Joined: Dec 21, 2005
Posts: 5
This is the error message after invoking the service

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My first webservice call
 
Similar Threads
Soap client giving error
Error in client for webservice on websphere 4.0
Accessing .NET web service from java
consume web service
Use Web Service