Re: 2 way SSL with Axis and Tomcat as a Service

2004-10-11 Thread Silvano Maffeis
Hubble, Christopher wrote: Welp, after much trial and tribulation, I finally got axis using 2 way ssl. This required me to custom set up tomcat as a service, and I finally got that working. Once I get my code all cleaned up, I'll post the relavent details. Chris That would be much appreciated,

question regarding arrays of beans and doc/lit (wrapped)

2004-10-11 Thread Shantanu Sen
Sorry for sending the previous message too soon... I have a question regarding the following scenario. I start of with a set of java classes. The main class is listsvc.ListService: public interface ListService extends java.rmi.Remote { public ListPropertyBean[] getListProperties(

question regarding arrys of beans and doc/lit

2004-10-11 Thread Shantanu Sen
I have a question regarding the following scenario. I start of with a set of java classes. The main class is listsvc.ListService: public interface ListService extends java.rmi.Remote { public ListPropertyBean[] getListProperties( String listId) throws RemoteException, BadIdException

Re: capturing SOAP XML in a client for debug?

2004-10-11 Thread Peter Smith
I could achieve the same thing programatically by simply modifying the generated Stub as follows: BEFORE public int times(int in0, int in1) throws java.rmi.RemoteException { if (super.cachedEndpoint == null) { throw new org.apache.axis.NoEndPointException(); }

Re: running sample

2004-10-11 Thread Yeo Wee Tat
Hi Fahad , java.lang.NoClassDefFoundError --- meaning that your classes or jar file is not your class path. However for your first problem , culprits was the package names , maybe you can run your program using command below : samples.userguide.example1.TestClient

running sample

2004-10-11 Thread Fahad Javed
Title: running sample Hi, I successfully installed axis and ran through tests but on the first sample it is giving me the following errror. Exception in thread "main" java.lang.NoClassDefFoundError: TestClient (wrong nam e: samples/userguide/example1/TestClient)     at java.lang.Cla

RE: capturing SOAP XML in a client for debug?

2004-10-11 Thread Simon Fell
Does anyone know if there a way to do this programmatically at the client ? Thanks Simon > -Original Message- > From: Nelson Minar [mailto:[EMAIL PROTECTED] > Sent: Friday, October 08, 2004 11:18 AM > To: [EMAIL PROTECTED] > Subject: Re: capturing SOAP XML in a client for debug? > > >T

RE: Configuration setup with web.xml

2004-10-11 Thread THOMAS, JAI [AG-Contractor/1000]
I woudn't mess with web.xml for that. A properties file is ideal in these kind of cases. Jai -Original Message- From: Barlotta, Timothy - Arlington, VA - Contractor [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: RE: Configuration setup wit

RE: Configuration setup with web.xml

2004-10-11 Thread Barlotta, Timothy - Arlington, VA - Contractor
> My web service receives data and saves it out to a user > defined directory. Currently I have them defining the > directory in a file that my web service reads in. However, I > would like to move this functionality over to web.xml. I'm > not sure on how to get a handle to the property from t

RE: Configuration setup with web.xml

2004-10-11 Thread Hubble, Christopher
My web service receives data and saves it out to a user defined directory. Currently I have them defining the directory in a file that my web service reads in. However, I would like to move this functionality over to web.xml. I'm not sure on how to get a handle to the property from the serviceimpl

RE: Configuration setup with web.xml

2004-10-11 Thread Barlotta, Timothy - Arlington, VA - Contractor
> Where are you getting the config from? I'm running a web > service using Axis(the reason I asked on here), and I used > wsdl2java, so I don't really have a hook to the underlying > stuff. Can I still pull the properties, or do I need to get > ahold of the axis servlet? I am curious what yo

RE: Configuration setup with web.xml

2004-10-11 Thread Hubble, Christopher
Where are you getting the config from? I'm running a web service using Axis(the reason I asked on here), and I used wsdl2java, so I don't really have a hook to the underlying stuff. Can I still pull the properties, or do I need to get ahold of the axis servlet? Chris -Original Message-

RE: Configuration setup with web.xml

2004-10-11 Thread Barlotta, Timothy - Arlington, VA - Contractor
Not really a question for the Axis forum but: If you have a servlet filter and are trying to pass in whether you want it on or not, the code would go in the init method. public void init(FilterConfig config) throws ServletException { if(log.isDebugEnabled()) {

2 way SSL with Axis and Tomcat as a Service

2004-10-11 Thread Hubble, Christopher
Welp, after much trial and tribulation, I finally got axis using 2 way ssl. This required me to custom set up tomcat as a service, and I finally got that working. Once I get my code all cleaned up, I'll post the relavent details. Chris

Configuration setup with web.xml

2004-10-11 Thread Hubble, Christopher
How do I define something in the web.xml file and read it into my program? Chris

RE: WSDL2Java and Basic Profile

2004-10-11 Thread Dickinson, Ian John (HP Labs, Bristol, UK)
From: Henry Lu [mailto:[EMAIL PROTECTED] > Could you provide the web site for downloading "a free WSDL > editor with a validator"? I've been using the wsvt validator [1] with Eclipse. It works very well. Combined with any of the various XML plugins for Eclipse, and Eclipse's support for Ant, it m

RE: WSDL2Java and Basic Profile

2004-10-11 Thread Flores, Raul
http://www.capescience.com/soa/index.shtml -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 9:54 AM To: [EMAIL PROTECTED] Subject: RE: WSDL2Java and Basic Profile Could you provide the web site for downloading "a free WSDL editor with a validato

RE: WSDL2Java and Basic Profile

2004-10-11 Thread Henry Lu
Could you provide the web site for downloading "a free WSDL editor with a validator"? -Henry >>> [EMAIL PROTECTED] 10/11/2004 10:13:04 AM >>> Cap Science provides a free WSDL editor with a validator. Raul -Original Message- From: Dan Ciarniello [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: WSDL2Java and Basic Profile

2004-10-11 Thread Flores, Raul
Cap Science provides a free WSDL editor with a validator. Raul -Original Message- From: Dan Ciarniello [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 5:08 PM To: [EMAIL PROTECTED] Subject: WSDL2Java and Basic Profile I am trying to follow the advice that I've seen in this ma

RE: How to access HTTP headers from provider

2004-10-11 Thread James Richardson
If anybody could help me out with this question as posted a few days ago, would very much appreciate it. I'm trying to get access to the original HTTP headers of the SOAP request. I have loked around in the docs, and it appears that one should do as shown below, but the code, while compiling ok,

RE: wsdl2java fault bug ?

2004-10-11 Thread Thomas Bailey
thanks for the tip Steve - looks like this isnt just me so ive made it a bug report. /tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:28 AM To: [EMAIL PROTECTED] Subject: Re: wsdl2java fault bug ? You need to hand modify the wsd

Re: wsdl2java fault bug ?

2004-10-11 Thread smcardle
You need to hand modify the wsdl file so that the qname for each fault is different. The java2wsdl util creates the same qname for each fault. This name is used to lookup the fault from a map and hey presto only one id returned, generally the last fault specified. If you hand modify the wsdl f

Faults and exception inheritance.

2004-10-11 Thread Adrian Perez Jorge
I'm deploying web services using EJB Provider and services are implemented by Session Beans. Methods are declared to throw some exceptions, but those exceptions doesn't extend AxisFault because I don't want EJB clients depend on Axis. So to build a Java client for those services WSDL2Java is use

RE: wsdl2java fault bug ?

2004-10-11 Thread Thomas Bailey
il get confirmation from a dev then jira it i guess - mostly going to be php clients in my case so i havent resorted to a work around yet. /tom -Original Message- From: Silvano Maffeis [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 10:21 AM To: [EMAIL PROTECTED] Cc: [EMAIL PRO

Re: wsdl2java fault bug ?

2004-10-11 Thread Silvano Maffeis
Yes, I just got that very same problem! I'm using axis-1_2RC1. Any workarounds? (Well, besides resorting to using just one fault type, of course 8-) silvano [EMAIL PROTECTED] wrote: Anyone else observed that when you have code that throws multiple possible faults, the generated stub assumes that