[axis2]Configuring logging inside Tomcat

2007-05-28 Thread jnedzel
Folks: I've been trying to do logging from inside my POJO axis2 web service, but I'm buffaloed by the configuration. I'm deploying into Tomcat 5.5.x Currently, my error messages go to the console. I'm trying to configure the logging so that my log messages go to a separate application log

Re: [Axis2] Required element null defined...

2007-05-24 Thread jnedzel
Ognjen: Many thanks -- that worked. It would be great if this was put into the FAQ and the manual. Jared Ognjen Blagojevic wrote: This is a Java compiler issue. When you compile your web service class, the resulting .class file have no information about parameter names. Since axis2 is

[Axis2] Required element null defined...

2007-05-23 Thread jnedzel
I'm having problems creating a simple REST service that takes an argument, using a POJO. The service works fine if the method does not take any parameters. If it does take a parameter, then I get the message: Required element null defined in the schema can not be found in the

Log4J and tomcat 5?

2007-05-15 Thread jnedzel
I'm having problems with Axis2, Tomcat 5.5.23, and Log4J. I'm creating a REST service using Axis2, creating an AAR file, and dropping that in the services directory. The REST service uses Hibernate (which uses Log4J). I have put log4j.properties in the root level of my AAR file, and

Re: Log4J and tomcat 5?

2007-05-15 Thread jnedzel
Dropping it in Tomcat's common/lib directory worked. Thanks, Jared [EMAIL PROTECTED] wrote: I'm new here, but I'll take a stab at it... My understanding is that there are different class loaders for axis itself, and for the aars (maybe there is one for each aar?) Anyway, the easiest way

embedding axis2 in a webapp and REST

2007-05-02 Thread jnedzel
I'm using axis2 v1.1.1 I'm embedding axis2 in my webapp following the example shown here: http://www.redhat.com/magazine/021jul06/features/apache_axis2/ I'm following what the article calls Use Case 2. I've added the Axis servlet to my web.xml: ?xml version=1.0 encoding=UTF-8? web-app

axis2 and webapp

2007-04-30 Thread jnedzel
I'm writing a web application (struts + JSF) that will also provide webservices using Axis2. In previous web applications using Axis1, we created a single WAR file that we deployed to Tomcat. My question is how do we do the same with achieve this with Axis2? I've found plenty of examples of

axis2: classpath and jars in an aar?

2007-04-27 Thread jnedzel
Could someone point me towards documentation that explains where to put third-party jars in an aar file and how to put them on the service's classpath? I'm trying to build an axis2 service that uses hibernate, but I don't know where to put the hibernate jar files inside the aar ( /lib? root?

Re: axis2: classpath and jars in an aar?

2007-04-27 Thread jnedzel
Hickman, Craig wrote: You shouldn't need to do this. Just add the hibernate.jar to the classpath of your container. My container is Tomcat. So are you suggesting that I drop the jars into $CATALINA_HOME/lib or $CATALINA_HOME/webapps/axis/WEB-INF/lib? But doesn't that then mean that all

Re: axis2: classpath and jars in an aar?

2007-04-27 Thread jnedzel
Davanum and Deepal: Thanks. Putting my jars in /lib and using ServiceTCCL in my services.xml file worked: parameter name=ServiceTCCLcomposite/parameter Jared Davanum Srinivas wrote: Jared, If you are using hibernate, please set ServiceTCCL option to composite in your

axis2-1.1.1 wsdl2java code does not contain import statements

2007-04-20 Thread jnedzel
I'm just starting with Axis2 (v1.1.1) and I'm working through the User's Guide. I've generated the client using the command shown in Code Listing 6: %AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s However, the Java class generated by this

Re: axis2-1.1.1 wsdl2java code does not contain import statements

2007-04-20 Thread jnedzel
Nevermind, my mistake... jnedzel wrote: I'm just starting with Axis2 (v1.1.1) and I'm working through the User's Guide. I've generated the client using the command shown in Code Listing 6: %AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s

version 1.2 missing?

2007-03-27 Thread jnedzel
Is there any where I can download Axis Final Version 1.2? I've tried a bunch of mirrors on this page: http://www.apache.org/dyn/closer.cgi/ws/axis/1_2/ but they all return not found. -- Jared Nedzel Cancer Genomics Informatics Broad Institute 7 Cambridge Center Cambridge, MA 02142