service specific exception with messages - HOWTO?

2003-02-03 Thread Robert Herold
How can I get a service specific exception with a String-argument constructor to be catch-able in my client with the message intact? I have a service with a method from which I want to throw a service-specific exception with a message, i.e. the exception constructor has a String argument: class

Re: Accessing a service via SOAP as well as Java

2003-02-03 Thread Anthony Elder
Hi Naresh, This is exactly what the Web Service Invocation Framework(WSIF) is for. Now, you describe your service with a WSDL file which includes a SOAP binding, with WSIF you can add bindings other than SOAP to the WSDL file, for example a Java binding. In your application you then uses the

Re: regarding the license of WSIF

2003-02-03 Thread Anthony Elder
IBM has donated WSIF to the Apache Foundation so WSIF is freely available under the Apache license. For details of the Apache license see http://cvs.apache.org/viewcvs.cgi/xml-axis-wsif/LICENSE?rev=HEAD. This is the same for WSIL which IBM also donated to the Apache Foundation. Early on there

Setting Mime Header - Content-Transfer-Encoding

2003-02-03 Thread Horn, Rob
Title: Setting Mime Header - Content-Transfer-Encoding Hi, I am using SOAP with attachments and have created a DataSource class to handle Base64 Encoding of ByteArrayInput/Output streams. I can successfully create the attachments but cannot work out how to set the Mime Header for the

RE: Accessing a service via SOAP as well as Java

2003-02-03 Thread Naresh Bhatia
Very interesting. I will take a look at WSIF. One quick question - how does WSIF compare with JSR-109 (Web Services for J2EE), which seems to addressing similar issues? Is there an overlap? Thanks. Naresh -Original Message- From: Anthony Elder [mailto:[EMAIL PROTECTED]] Sent: Monday,

What is XML Infoset

2003-02-03 Thread rf
While trying to read SOAP 1.2 I came accross the term Infoset. I could get a good idea from the pages returned by google on xml infoset. Does anyone know of good documents explaining xml infoset by example? Thank you Rf.

Re: What is XML Infoset

2003-02-03 Thread rf
Sorry, I meant I could *not* get a good idea of xml infoset. Rf --- rf [EMAIL PROTECTED] wrote: While trying to read SOAP 1.2 I came accross the term Infoset. I could get a good idea from the pages returned by google on xml infoset. Does anyone know of good documents explaining xml infoset

RE: Accessing a service via SOAP as well as Java

2003-02-03 Thread Anthony Elder
JSR-109 deals mainly with the deployment of web services in a J2EE environment and relies on the JAX-RPC specification to describe the WSDL to Java representation mappings. JAX-RPC only mentions SOAP but the JAX-RPC API does not exclude the use of other protocols. One of our goals is for WSIF to

RE: standalone vs. servlet

2003-02-03 Thread Jess Sightler
On Sun, 2003-02-02 at 13:52, Anne Thomas Manes wrote: A servlet container is a container within an application server that can host Java servlets and JavaServer Pages (JSPs). All J2EE application services include a servlet container. They also include an EJB container. There are a number of

RE: Make beanMapping default

2003-02-03 Thread Shellman, Joel
That sounds like what I want. Are you saying that I could just put that parameter tag in the config and it would start working? Or are you saying there is still more coding to do in Axis before that will work. Also, which version of Axis would that work in? Thank you, Joel Shellman

[wsif] Internationalization

2003-02-03 Thread Rhett . DeWall
How does WSIF and Apache AXIS handle internationalization and localization of data and messages? I see that Log4J is used as a logging mechanism, and from that I understand how messages are localized, or can be. However, as for data, what assumptions are made by both WSIF and Apache AXIS? What

RE: Make beanMapping default

2003-02-03 Thread Mark Rowell
Hi Would this work with Java2WSDL as well? Thanks Mark -Original Message- From: Glen Daniels [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 3:30 PM To: '[EMAIL PROTECTED]' Subject: RE: Make beanMapping default Hi Joel! There is some unfinished support in Axis for

RE: Antw: Asynchronous interface

2003-02-03 Thread Nirmal Mukhi
Hello Paul, WSIF also has an asynchronous invocation model with correlation. You can find more details about the async model from http://www.mail-archive.com/axis-user@xml.apache.org/msg07607.html, and more information on WSIF itself at http://ws.apache.org/wsif Thanks, Nirmal. Paul

Re: Out of Memory problem

2003-02-03 Thread Elmar Fasel
Hi Markus, Markus Doss schrieb: I wrote some services which transports image data to a server. I've done this with apache soap. Now I transported a 8 MB tif image to the server and run out of memory. Actually I don't use attachments for the service. I code the image data base64 and sent this

RE: Make beanMapping default

2003-02-03 Thread Glen Daniels
Hi Mark: It would work for auto-generated WSDL (?wsdl) from a running Axis engine, but we'd have to put in an option to do it when using Java2WSDL from the command line. --Glen -Original Message- From: Mark Rowell [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 11:13 AM

RE: Make beanMapping default

2003-02-03 Thread Mike Burati
Cool... Any chance that could/would be configurable (both config files and/or via API) such that a different default serializer could be explicitly set (eg, if someone with a particular need wanted to replace or wrap BeanSerializer with one that had it's own logic for determining whether

RE: Make beanMapping default

2003-02-03 Thread Mark Rowell
Thanks for the quick response. BTW, have done some testing here of interop between .NET and Java and it works both ways... (with custom types being serialized) which is great! -Original Message- From: Glen Daniels [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 4:24 PM To:

RE: Make beanMapping default

2003-02-03 Thread Glen Daniels
Hi Mike: That kind of support doesn't exist currently, but could be added. For instance, YOU could add it and submit a patch... :) --Glen -Original Message- From: Mike Burati [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 11:25 AM To: '[EMAIL PROTECTED]' Subject: RE:

AW: Out of Memory problem

2003-02-03 Thread Doss Markus
First I increased the memory to 128M. After increasing up to 256 the my soap client doesn't throw any exception. But now the out of memory comes from tomcat (with 256M memory, on linux). Fault Code = SOAP-ENV:Server.Exception: Fault String = java.lang.OutOfMemoryError Any further

Re: AW: Out of Memory problem

2003-02-03 Thread Elmar Fasel
Hi Markus, Markus Doss schrieb: First I increased the memory to 128M. After increasing up to 256 the my soap client doesn't throw any exception. But now the out of memory comes from tomcat (with 256M memory, on linux). Fault Code = SOAP-ENV:Server.Exception: Fault String =

AW: AW: Out of Memory problem

2003-02-03 Thread Doss Markus
The tomcat configuration with 256 and 384 doesn't work either. -Ursprüngliche Nachricht- Von: Elmar Fasel [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Februar 2003 17:41 An: [EMAIL PROTECTED] Betreff: Re: AW: Out of Memory problem Hi Markus, Markus Doss schrieb: First I increased

RE: AW: Out of Memory problem

2003-02-03 Thread Keith Hatton
If the problem is the message rather than the handling of it, have you considered applying ZIP/UNZIP algorithms in the serializer/deserializer for your object? TIFF is quite a compressible format. Keith -Original Message- From: Praveen Peddi [mailto:[EMAIL PROTECTED]] Sent: 03

Re: Out of Memory problem

2003-02-03 Thread Elmar Fasel
Hi Markus, Markus Doss schrieb: Increase the memory allocation pool size of tomcat? The tomcat configuration with 256 and 384 doesn't work either. Well, than you should probably investigate the usage of attachments, as Praveen mentioned. Regards, Elmar

Re: Make beanMapping default

2003-02-03 Thread Steve Loughran
- Original Message - From: Glen Daniels [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 07:30 Subject: RE: Make beanMapping default Hi Joel! There is some unfinished support in Axis for autoTyping, which sounds like what you want. AutoTyping, when switched

Re: Out of Memory problem

2003-02-03 Thread Steve Loughran
send it as an attachment. That works for files that size. base64 encoding is very slow as well as being inefficient; XML parsers dont like strings that size. - Original Message - From: Doss Markus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 08:14 Subject: Out

Re: AW: Out of Memory problem

2003-02-03 Thread Praveen Peddi
Hi Doss, I am using Apache SOAP tool kit. Even though the server code is same, client code differs. Look at the Axis samples for attchments. It has some basic programs on how to write soap with attachments. Look at the Echo example. Praveen - Original Message - From: Doss Markus [EMAIL

RE: training for axis

2003-02-03 Thread Volkmann, Mark
Title: RE: training for axis I've created a web services course that covers Axis in a fair amount of detail and uses it for all the SOAP and WSDL-related lab exercises. You can find information on it at http://www.ociweb.com/education/course_description.cgi?courseCode=ESXM03-01. Travelling to

Re: Out of Memory problem

2003-02-03 Thread Steve Loughran
- Original Message - From: Brian Ewins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 09:48 Subject: Re: Out of Memory problem Steve Loughran wrote: send it as an attachment. That works for files that size. base64 encoding is very slow as well as being

Fear of Attachments

2003-02-03 Thread Steve Loughran
For all those people who want to do attachments, here is an early draft of something I'm writing to look at attachments properly, including for .NET and other platforms. Here is the Axis coverage; the code was working against the CVS version of Axis this weekend; there have been changes in

calling SOAP with attachments from non java application

2003-02-03 Thread Praveen Peddi
Hi All, I have a soap method on the server side that implements soap with attachments (method takes DataHandler as an argument). we have clients implemented in different programming languages like Java, C, VB and accessing soap services. With Java everything works perfect. Now we are trying

Re: training for axis

2003-02-03 Thread Dennis Sosnoski
Very nice presentation, Mark - I just downloaded it and took a look. In case anyone else on the list is interested in Axis training or mentoring I should mention that I also provide these services, with the emphasis more on mentoring and getting projects off the ground quickly. The Reading

Re: standalone vs. servlet

2003-02-03 Thread Steve Loughran
- Original Message - From: Dennis Sosnoski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 10:44 Subject: Re: standalone vs. servlet Just in passing, one particular area that I suspect causes performance problems is the SAX event stream buffering that gets done

RE: BeanSerializer

2003-02-03 Thread Tom Jordahl
Hummm.. You could try generating the WSDL2Java Bean from the WSDL, then editing the meta-data in the Bean to remove the properties that you don't want exposed. Axis uses this meta data in WSDL generation. You could also try adding a BeanInfo class, which I believe the code that Axis uses

Re: Fear of Attachments

2003-02-03 Thread Steve Loughran
- Original Message - From: Mark Mueller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 14:32 Subject: Re: Fear of Attachments Hi Steve, Thanks for the paper, it is helpful. I gather that it makes sense to support both MIME and DIME attachments in order to

RE: Keep-alive SOAP connections are disabled in Axis; Axis hangs if they are enabled

2003-02-03 Thread Norris Merritt
Title: RE: Keep-alive SOAP connections are disabled in Axis; Axis hangs if they are enabled Hi Betsy, I looked at the several messages posted by Sebastian on 12/17 but didn't find the changes you referred to. I would appreciate it if you would forward that message to me. Re Chen's patches,

Shorthand for WSDD file

2003-02-03 Thread Brain, Jim
As of now, my deploy.wsdd file is topping 477kB, and I notice that a lot of the bean mappings for each service are simply repeats. Is there a way to either: a) tell AXIS that for a service, map all incoming items of name X to class package.to.X b) put the mappings in a block outside

RE: Shorthand for WSDD file

2003-02-03 Thread Vidyanand Murunikkara
option b is good . You can specify all the bean mappings inside deployment. It need not be inside the service defintion. and you need not reference the mappings inside of a service as long as the mappings are in the same wsdd. Vidyanand. -Original Message-

which manual changes to server-config.wsdd are ok

2003-02-03 Thread Joerg Buchberger
Hi all. I want to install axis with services already preinstalled (instead of hotdeployed). So, I think of editing axis config file directly. Which parts of the axis config file may I delete (e.g. JWSHandler etc.)? Or, to ask the other way around: Which parts of the server-config.wsdd may not

RE: AxisFault: could not find a target service to invoke

2003-02-03 Thread Vidyanand Murunikkara
This usually happens when a) the URL that clients uses for a service is wrong . or b) the service is not deployed in the server. Vidyanand. -Original Message- From: Ray S. Karkera Sent: Sun 2/2/2003 1:10 PM To: [EMAIL PROTECTED]

set and get methods from the browser

2003-02-03 Thread Zafar T Minhas
Hi I have made a web service, a very simple jws file. This is the code: public class HelloWorldService { private java.lang.String sGreeting = ; public String getMessage() { return(sGreeting); }