web service client with IronPython RRS feed

  • Question

  • User1881790064 posted

    The main asp.net/ironpython page says that IronPython cannot be used for developing web services.


    Can it be easily used for a webservice client?  That is, is there an easy way to take the wsdl to generated callable web methods?


    Thanks much,


    Friday, January 5, 2007 9:10 PM

All replies

  • User1641955678 posted

    Hi David,

    Yes, this should work no differently than it does from a C# app.  Just import the web service ('Add Web Reference...') and use it.  e.g. in you python code for a page, you could have: 

    from localhost import *
    def Page_Load():
      ws = WebService()

    Just adapt 'localhost' and 'WebService' to your specific scenario.


    Sunday, January 7, 2007 10:58 PM
  • User1881790064 posted
    Thanks for the reply.  I'm going to give IronPython a try!
    Thursday, January 11, 2007 3:53 PM