Thanks Currently I am trying to do this in Tomcat. By copying and modifying example services I managed to call SoapServlet but I am facing missing dependencies now. Could you please list all the jars I would need to include to make it run or provide any method for getting it (I suppose ant knows how to do it). I suppose I would need them in Tiny Java Web Server anyway.
The second thing is what does the servlet actually do? What happens if a SOAP service has complex types as input/output? My services have complex types as input but this is mostly becaouse Python soaplib cannot take several values as input but only complex types consstructed out of several simple types (which i compose and decompose using XML splitters in Taverna) Would I be able to construct complex types using SoapServlet? Could you provide any screenshots of the program? -- Best regards, Jerzy Orlowski Laboratory of Bioinformatics and Protein Engineering International Institute of Molecular and Cell Biology Trojdena 4, Warsaw, Poland Paul Gordon wrote: > If it'd be useful to people, I can make a WAR file you can deploy, > rather than needing to go through CVS, etc. The activation procedures > for most common WAR containers are listed at > http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/sawsdlServlet.html#deploy > > On the other hand, the most lightweight way to deploy a servlet if > you're only interested in hosting the one is to use the Tiny Java Web > Server in your code and load the SoapServlet class directly using its > API. In its simpliest form the code would be: > > SoapServlet soapServlet = new SoapServlet(); > > final Acme.Serve.Serve srv = new Acme.Serve.Serve(); > java.util.Properties properties = new java.util.Properties(); > properties.put("port", portNum); //pick a portNum above 1024 > srv.arguments = properties; > srv.addServlet(servletPath, soapServlet); // our deployment > Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() { > public void run() { > try { > srv.notifyStop(); > }catch(Exception e) { > logger.warn("Trouble shutting down SOAP > proxy servlet on port " > + portNum + ": " + e); > } > srv.destroyAllServlets(); > } > })); > new Thread(){public void run(){srv.serve();}}.start(); > > Regards, > > Paul > > Jerzy Orlowski wrote: >> Hi >> >> I managed to get the code (attached). >> See download instructions at >> http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/CVS.html >> http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/Download.html#easyservlet >> >> >> >> However, I have never deployed a servlet before. Could anyone help me? >> >> Jerzy >> >> >> Alan R Williams wrote: >>> Thanks for the pointer Paul. Where is the best place to see the code? >>> It's probably sensible for the "workflow running from a portlet" >>> people to look at it for comparison. >>> >>> Thanks in advance, >>> >>> Alan >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day trial. Simplify your report design, integration and deployment >>> - and focus on what you do best, core application coding. Discover >>> what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> taverna-hackers mailing list >>> [email protected] >>> Web site: http://www.taverna.org.uk >>> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ >>> Developers Guide: http://www.mygrid.org.uk/tools/developer-information >>> >>> >>> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> taverna-hackers mailing list >> [email protected] >> Web site: http://www.taverna.org.uk >> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ >> Developers Guide: http://www.mygrid.org.uk/tools/developer-information > > > ------------------------------------------------------------------------ > > Scanned for malicious content. See headers for details. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > taverna-hackers mailing list > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ > Developers Guide: http://www.mygrid.org.uk/tools/developer-information ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
