Re: Configuring a web service...

2002-06-24 Thread Jürgen Kaatz
Hi Jess, you can put the variables in the copnfigureation file of your application server. I use tomcat (and for that server.xml): In your code you can use: Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:/comp/env"); String retVal = (DataSource) env

Re: Complex Data type

2002-06-14 Thread Jürgen Kaatz
Hi Aravind, perhaps the error is, that your bean isn't declared as a public class. Juergen >I am trying to build a webservice, which uses complex type parameters.The >method I am following to deploy the web services is , change the .java >extension of the file to .jws and place it in axis dire

missing boolean types in wsdl query

2002-06-14 Thread Jürgen Kaatz
Hi to all, I'm using a bean with three boolean types and the respective get/set methods. When I query the soap service there are no mistakes for this boolean types. But in the result wsdl file (called via webservice?wsdl) I miss this boolean types in the bean specification. Any hints about thi

Re: soapAction="" why?

2002-06-12 Thread Jürgen Kaatz
Hi, A SOAPAction value of "" means, that the intent of the request is provided by the HTTP request URI. An empty value fpr SOAPAction means that the intent is not specified ... In fact, AXIS ignores the SOAPAction header and instead relies on this approach; the first child of the element and

RE: Axis web services for MySQL Connection (DAO Factory)

2002-06-05 Thread Jürgen Kaatz
Hi, in the attachment there is a small example for a DAO Factory to access a database within a web service. Juergen > > Hi to all, > > > > I use a data access object design pattern (DAO), to access a > > mysql database > > through a webservice function. > > To big advantage is, that one doesn'

Re: Axis web services for MySQL Connection.

2002-06-04 Thread Jürgen Kaatz
Hi to all, I use a data access object design pattern (DAO), to access a mysql database through a webservice function. To big advantage is, that one doesn't need any database specific environment variables like host, database, user or something else in the source code. All this is done in the JN