RE: JWS question

2005-02-17 Thread Patrick Martin
If you invoke it through SOAP, you will get a nice SOAP:Fault with more details of the error. HTH -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 20:46 To: [EMAIL PROTECTED] Subject: JWS question I have a single java class that has two public

RE: HELP! DLLs and Axis

2005-01-31 Thread Patrick Martin
Hi, just a quick comment. Access Violation is a proper programmer's term for attempts to read/write invalid memory locations. It never happens in Java (almost), but is a classic fault in systems composed of (you guessed it) 3rd party dlls. I'm suspecting you're going down the wrong route by

RE: serializer for hashmap

2005-01-19 Thread Patrick Martin
Title: Message There is a NameValueCollection in .NET which it would seem would be perfect for storing a HashMap where you want to have string values stored under string keys. If that's what you really want. You might need to work out how to insert the (de)-serialisation of the Axis

RE: axis performance in multithreading env

2005-01-11 Thread Patrick Martin
of each function call, or all of them? Because my test does not based on any special type of webservice app, I think it can easily be replicated somewhere else. Patrick Martin wrote: Is there any chance you can use a profiler on these tests? This should makes things a lot clearer. If you're

RE: package paths for jws files

2005-01-10 Thread Patrick Martin
Title: Message I'm not sure this works properly, fora number of reasons. The worst of which, (from my reading of the source, apologies if it's not correct) is that the Class Name is used as the key into a cache of service descriptions. translation into English: Even if you did manage to

RE: axis performance in multithreading env

2005-01-10 Thread Patrick Martin
Is there any chance you can use a profiler on these tests? This should makes things a lot clearer. If you're using Eclipse, there is an eclipse profiler that is free, easy to set up and very informative. http://sourceforge.net/projects/eclipsecolorer/ -Original Message- From: Vy Ho

RE: Importing packages

2005-01-07 Thread Patrick Martin
, and it will generate the java code to put behind axis (automagically with it's WSDL :) ). In this test that im trying to do, i've configured the service sum generating sum6 (chosing one parameter, and defining a fixed value (6) for the other). So, can anyone help? Paulo Sérgio. Patrick Martin wrote: Do

RE: Best way to send attachments

2005-01-07 Thread Patrick Martin
Title: Message I have to add one comment: Base64 encoding might still compress well, so if you can enable compression support for the client and server, you might be able to use the simplest approach without feeling too bad about using up the world's dwindling bandwidth resources. Another

RE: Importing packages

2005-01-06 Thread Patrick Martin
Do you really need to have a web service calling another web service directly? This adds more things to consider (exceptions to handle, as you've found). You can easily add import java.rmi.RemoteException; To Sum6.jws But wouldn't it be easier to have the Sum class in a .jar in the web

RE: Re[2]: deploy a class as a web service

2004-12-30 Thread Patrick Martin
a look at the test.typedesc.TestTypeDescSynch class and the files in that package in the Axis test source tree... Hope this makes sense! Patrick -Original Message- From: Daniel Sánchez Gómez [mailto:[EMAIL PROTECTED] Sent: 30 December 2004 11:49 To: Patrick Martin Subject: Re[2]: deploy

RE: connection timeout for Call

2004-12-30 Thread Patrick Martin
I suspect the timeout you're seeing the tpcip-level timeout, which is perhaps not controlled/accounted for in the Call timeout. Try creating a simple web service that sleeps for 10010 seconds and invoke that... Hope this helps, Patrick -Original Message- From: Julien ALLANOS

RE: Service Specific Exception not working

2004-12-30 Thread Patrick Martin
I ended up using a dynamic proxy and doing a little bit of magic to unpack the exceptions. The essential problem is the RemoteException exception specification, but yes, perhaps the cause should be initialised if it were possible. It's not entirely straightforward, though, the following questions

RE: Axis Attachments Delphi

2004-12-15 Thread Patrick Martin
This guy is very good: down the bottom he mentions attachments. Hope this helps Regards, Patrick http://www.agnisoft.com/white_papers/advancedws/ -Original Message- From: Mark Chaimungkalanont [mailto:[EMAIL PROTECTED] Sent: 14 December 2004 23:39 To: [EMAIL PROTECTED] Subject: Axis

AXIS-1664 DoAutoTypes

2004-12-13 Thread Patrick Martin
Is there any progress/interest on the DoAutoTypes flag? http://nagoya.apache.org/jira/browse/AXIS-1664 From what I've got working, it seems a very useful solution for AXIS (client )-AXIS (server) communication, barring one tiny bug in the client engine not registering return types

RE: Client side AXIS without aplication server

2004-12-03 Thread Patrick Martin
From what little I know: Yes - there are examples of this on the Sun Site for pure JAX-RPC, and I've found AXIS seems to support this fine. Have look at Chapter 11 in http://java.sun.com/webservices/docs/1.1/tutorial/doc/ And specifically, A Dynamic Proxy Client Example in there. You will

RE: Asynchronous Web Service call possible in Axis?

2004-12-03 Thread Patrick Martin
I'm interested in this too: In org.apache.axis.client.async There is a class AsyncCall and some supporting classes and interfaces. There's a test in test.client :TestAsyncCall which seems to demonstrate a couple of useful techniques. Question: could anyone comment on usage of these classes?

using DoAutoTypes flag in TypeMappingImpl?

2004-12-02 Thread Patrick Martin
Hi all I'm using AXIS in closed pure Java system, and it seems for us a combination of dynamic invocation and the DoAutoTypes property in TypeMappingImpl might make the use of Web Services very easy. However, the property is defaulted to false, and I can't see the approved way to set it. There

RE: using DoAutoTypes flag in TypeMappingImpl?

2004-12-02 Thread Patrick Martin
to justify making this late change. Thanks, dims On Thu, 2 Dec 2004 17:19:37 -, Patrick Martin [EMAIL PROTECTED] wrote: Hi all I'm using AXIS in closed pure Java system, and it seems for us a combination of dynamic invocation and the DoAutoTypes property in TypeMappingImpl might make