From: Joshua B. <JRB...@lb...> - 2005-03-28 17:18:14
|
wsdl2dispatch uses the modules generated by wsdl2py, which will contain the missing classes. -josh Christopher J. Bottaro wrote: >So I ran wsdl2dispatch on my wsdl and here is what it made: > ><code> > >from TaskManager_services import * >from ZSI.ServiceContainer import ServiceSOAPBinding > >class TaskManager(ServiceSOAPBinding): > soapAction = { > 'capeconnect:TaskManager:TaskManagerPortType#test': 'soap_test', > } > > def __init__(self, post='/TaskManager', **kw): > ServiceSOAPBinding.__init__(self, post) > > def soap_test(self, ps): > # input vals in request object > args = ps.Parse( TestRequestMsgWrapper() ) > > # assign return values to response object > response = testResponseWrapper() > > return response > ></code> > >So I'm a bit confused as to what to do now. First off TaskManager_services.py >doesn't exist, so that first import statement fails. I'm guessing I'm >suppose to create it and then define TestRequestMsgWrapper() and >testResponseWrapper() which are referenced in >TaskManager_services_server.py...? How am I suppose to define those >functions? They take no arguments...? > >Thanks for the help. > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Pywebsvcs-talk mailing list >Pyw...@li... >https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > > |