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); } pu

generating server-config.wsdd from deploy.wsdd

2003-02-03 Thread Joerg Buchberger
Hi there. Is there any axis class I can use to generate the axis config file "server-config.wsdd" from "deploy.wsdd" offline, i.e. without axis running. IOW, I'm looking for a way to do kind of a "cold" pre-installation as opposed to the "hot deployment" (the latter via AdminClient). (I think I

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] C

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 be

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- From:

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 o

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, I'

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

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

2003-02-03 Thread Betsy Frey
Title: RE: Keep-alive SOAP connections are disabled in Axis; Axis hangs if they are enabled I think the problem of non-persistent connections only shows up if you're using HTTP/1.1.   I'm seeing persistent connections, with no hang (because I'm using an Axis server), without Chen's patches,

SSL and Axis (client-side)

2003-02-03 Thread Sean Leblanc
Hi,   I'm trying to call a SOAP function via AXIS over SSL.   However, I get an AxisFault error (below). Searching around the archives, I saw someone say that:   AxisProperties.setClassDefault(SecureSocketFactory.class, "org.apache.axis.components.net.SunJSSESocketFactory");   woul

Re: Fear of Attachments

2003-02-03 Thread Mark Mueller
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 increase interoperability -- probably with two different operations in order to be able to specify the MIME-type of the MIME attachment in the WSDL binding. Your code

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 (Th

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 ge

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 Guid

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

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 attachme

Re: standalone vs. servlet

2003-02-03 Thread Dennis Sosnoski
Steve Loughran wrote: I suspect that the use of reflection has a lot to do with the issue. Java platforms use reflection to enable a bunch of dynamic features which are really hard to reproduce in a C++ environment. You'll find this to be true in SOAP platforms, servlet engines, and J2EE servers.

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

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 t

Re: What is XML Infoset

2003-02-03 Thread Dennis Sosnoski
The official XML Infoset specification is http://www.w3.org/TR/xml-infoset/ It's basically an abstract definition of what comes out of parsing an XML document. You may also see references to PSV-Infoset or PSVI in other places. This is the "post-schema-validation" infoset, defined in http://w

Re: Out of Memory problem

2003-02-03 Thread Brian Ewins
Steve Loughran wrote: 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. Are we sure it's the XML parser thats at fault here? I'm a little interested in this one, as some of the stuff we d

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" <[EMA

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:

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

AW: AW: Out of Memory problem

2003-02-03 Thread Doss Markus
Praveen, do you have any examples for using soap with attachments ? Thanks Markus -Ursprüngliche Nachricht- Von: Praveen Peddi [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Februar 2003 18:04 An: [EMAIL PROTECTED] Betreff: Re: AW: Out of Memory problem I would use SOAP with attachme

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: 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 February

Re: AW: Out of Memory problem

2003-02-03 Thread Praveen Peddi
I would use SOAP with attachments. Encoding into Base64 format will occupy ur memory more than 2 times both on the server side and the cleint side. I did the same thing before and had memory problems, but when I used SOAP with attachments (Using DataHandler) it solved some problems. Increasing the

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 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 = > java.lang

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 solutio

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: 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: '[EMA

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 somethi

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 A

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: 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 Andre

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 "autoT

[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 i

Out of Memory problem

2003-02-03 Thread Doss Markus
Hi axis people   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 data with s

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 > -Orig

RE: Make beanMapping default

2003-02-03 Thread Glen Daniels
Hi Joel! There is some unfinished support in Axis for "autoTyping", which sounds like what you want. AutoTyping, when switched on, will take any class which it doesn't find a mapping for and use the Bean serializer/deserializer with an XML type QName of "java:package.subpackage.classname". T

RE: ServletSecurityProvider

2003-02-03 Thread Keeney, Thomas
The Authentication and Authorization Handlers apply to the entire service description, so you'd have to declare two services in your WSDD, one with security handlers and one without: Of course this will create two instances of your service, but s

Make beanMapping default

2003-02-03 Thread Shellman, Joel
We have a bunch of classes that are going to be sent across the wire and would really rather not have to specify beanMapping (they should all work with the beanMapper) for each and every one of them for each and every service. Is there a way to set it up such that if it doesn't have a specific mapp

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: 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: 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

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. Mi

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, F

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 encodi

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 was

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 WSI

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 M

WSDL2Java: sequences & URLs

2003-02-03 Thread Olivier Gauwin
Hi, I've got 2 problems with WSDL2Java and I would like to know your opinion before reporting them as bugs. Problem 1: I'm trying to use this array : but the file generated by WSDL2Java doesn't contain the getItem()