facebook

Slightly OT – Good and Free Weather Webservice?

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #263750 Reply

    David Orriss Jr
    Participant

    I figured I’d ask here since this is the Web Services forum.. 🙂

    Anyone know of a good Web Service for obtaining weather forcasts that’s free?

    I’ve found a couple of varying quality and reliability… so I’m probably just not looking in the right place.

    Thanks in Advance.

    #263817 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    Dave, I kicked out an email to a few developers that I know who might have some suggestions. I’ll let you know what I hear back.

    #263830 Reply

    Riyad Kalla
    Member

    This one is WSDL-able:
    http://www.weather.gov/xml

    #263835 Reply

    David Orriss Jr
    Participant

    Nice! Thank you so much..!!

    #263859 Reply

    Brian Fernandes
    Moderator

    Dave,

    Unfortunately the WSDL Riyad posted above seems to be using RPC / Encoded and a client would most probably not be generated when using XFire or MyEclipse tools. It might be possible to modify the WSDL so that it will work with document / literal wrapped style , but not all webservices can be converted like this nor can the correct working of the client be guaranteed.

    #263865 Reply

    David Orriss Jr
    Participant

    Well, crud… 🙁

    Back to the drawing board… Or perhaps I can try it with the WebService tools in Java 6.

    #263866 Reply

    Brian Fernandes
    Moderator

    Dave,

    Unfortunately, the situation with WS tools in Java 6 will be similar. Java 6 bundles JAX-WS which also does not support RPC / Encoded. Like most next generation frameworks, JAX-WS has decided not to add RPC / Encoded support since it isn’t standards compliant (this is when I checked last, 1 month ago). Ironically, JAX-WS is JAX-RPC version 2.0. Similarly, Axis 1.3/4 does support RPC / Encoded, but it has transitioned into maintenance phase now; the new and rewritten Axis 2 framework does not support RPC / Encoded.

    I usually find web services from here: http://www.xmethods.net/ve2/Directory.po – all the weather services listed seemed to be Doc / Literal, but I’m not sure if they fit your needs or if they are free.

    Hope this helps.

    #263939 Reply

    David Orriss Jr
    Participant

    Can someone sum up what makes RPC/Encoded unique and why it doesn’t seem to be very widely supported in the Java space? I know document/literal is very common, but I’m curious why so many serices are using RPC/Encoded but it seems that no (or very few) Java tools are supporting it.

    #263969 Reply

    Brian Fernandes
    Moderator

    Dave,

    I believe Axis and some other older frameworks were set to use RPC / Encoded by default, that’s why we have a ton of older RPC / Encoded services around – but most of the newer services are Doc / Literal.
    Here’s a good article on the subject: http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Slightly OT – Good and Free Weather Webservice?

You must be logged in to post in the forum log in