how can I replace soap with axis in turbine?

2003-07-16 Thread Yu Baofeng
hello, everyone: I want to replace apache soap in turbine with apache axis, how can I do? thanks Yu Baofeng

How to deploy a service with constructor...

2003-07-16 Thread doug
Hi: After install axis in my tomcat. I can deploy a simple class in axis. public class WhoAmI{ public String getName(String name){ return name ; } } but I dont know how to deploy a class with constructor: public class WhoAmI{ private String NAM

How to map DatHandler in a .NET client

2003-07-16 Thread Astie, Sebastien
Hello everybody, I have to send a file as an attachment to my webservice. I specified a parameter of type javax.activation.DataHandler in one of my exposed operation. I know how to call this method using a Java client, but I would like to know how I can map this DataHandler using a .Net client.

RE: Performance of Web Service Clients

2003-07-16 Thread dave . prout
Dims, I downloaded the nightly build of 14/7/03. This made no significant difference. Please see attached graph. (The problem with WLS clients is a known problem, which BEA have promised us a fix for). Dave -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTE

Re: WSDL2Java

2003-07-16 Thread Godfrey, Gary
Title: Re: WSDL2Java Follow up Q added to maillist as requested. Hello James, Please can you explain in a bit more detail how this works? We are writing code on the server side and generating the WSDL from that. Our example package structure is as follows: customer        - 

Re: WSDL2Java

2003-07-16 Thread Godfrey, Gary
Hardiman, Piers wrote: > Any assistance you could give us would be greatly appreciated. > I just noticed that this isn't going through the mailing list. If you want I can send you part of my Makefile, or ant build file (I use ant now, but started with make), and you can monkey with it and s

Re: WSDL2Java

2003-07-16 Thread Godfrey, Gary
James' response: Hardiman, Piers wrote: > Please can you explain in a bit more detail how this works? > > We are writing code on the server side and generating the WSDL from > that. > > Our example package structure is as follows: > > customer- contains the delegate class fo

RE: Problem returning byte array in SOAP attachment

2003-07-16 Thread Davanum Srinivas
"code show how I should have been doing this in the first place". You can always disagree with me and post a bug :) -- dims --- [EMAIL PROTECTED] wrote: > Thanks, dims. I'll give it a whirl. > > Was my initial approach correct but stopped by a bug (which I should > report), and is the zipped c

RE: Axis Performance problem

2003-07-16 Thread Jim Harris
Title: Axis Performance problem I am no expert Michael but have you tried pinpointing the exact piece of code that is taking up all of the time? You could try logging the system time at intervals in your code and from there gradually find the exact statement that is taking so long.  If you a

Re: Axis Performance problem

2003-07-16 Thread Davanum Srinivas
Can you please post a stripped down version of your test case? (with traces from tcpmon). FYI, there have been some bug fixes since 1.1 release. Thanks, dims --- MicHael Galkovsky <[EMAIL PROTECTED]> wrote: > I am sending out an array of custom type, when the array is longer then say > 20 member

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread Subhendu Kumar mohanty
Hi I am sending part of my wsdl which describes the datahandler When I use WSDL2Java tool it creates a java object with three properties. Here is the definition of properties private javax.activation.DataHandler dataHandler; private byte[] data;

Axis Performance problem

2003-07-16 Thread MicHael Galkovsky
Title: Axis Performance problem I am sending out an array of custom type, when the array is longer then say 20 members the performance of the axis implemented service just crawls to an eventual completion around 30 sec.  The db side of the service takes around 2 sec at the worst and the rest I

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread jaccoud
AFAIK, WSDL has no way to specify attachment handling. The language does not provide constructions for that. If your client sends or recieves attachments, you should handle it yourself. Or am I missing something? May we see your WSDL? Can you send some code sample?

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread Subhendu Kumar mohanty
hi, I am using the generated client stub classes from the WSDL of the service. My client program is a java based program. So when I call the method on client stub , Axis does all the internal processing . The service returns a datahandler for image and my client program calls the method on stub

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread Kellogg, Richard
I will add it this evening. Thanks. Rick Kellogg -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 8:27 AM To: [EMAIL PROTECTED] Subject: RE: Axis attachment file created in the Temp directory Can someone please add this to Wiki? (http:/

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread Davanum Srinivas
Can someone please add this to Wiki? (http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages) Thanks, dims --- [EMAIL PROTECTED] wrote: > > Just write the output yourself, for example: > Iterator iterator = call.getResponseMessage().getAttachments(); > AttachmentPart par

Hardi Rokk is out of the office.

2003-07-16 Thread hardi . rokk
I will be out of the office starting 14.07.2003 and will not return until 11.08.2003. Olen kontorist ära kuni 12. augustini 2003. a. Pakiliste küsimuste korral palun pöörduge Mari-Liis Kivioja (kantselei juhataja, tel 640 8800, e-mail: [EMAIL PROTECTED]) poole. Hardi Rokk I will be away until

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread jaccoud
Just write the output yourself, for example: Iterator iterator = call.getResponseMessage().getAttachments(); AttachmentPart part = (AttachmentPart) iterator.next(); DataHandlerdh = part.getDataHandler(); dh.writeTo(new java.io.FileOutputStream("completeF

RE: Problem returning byte array in SOAP attachment

2003-07-16 Thread Davanum Srinivas
Phil, See enclosed zip file. -- dims > Hi, > > I've been able to return strings in SOAP attachments, but I haven't been successful \ > returning a byte array. I wrote in previously about this problem because I was \ > getting error messages such as "javax.activation.UnsupportedDataTypeException

Axis Newbie Questions

2003-07-16 Thread Daire Treanor
Title: nollaig Signature Hi All,   I am currently writing an application that is currently just a test java application. We currently have a SOAP server located on a linux box and it has a subscription service, which is written in C++, on it. The idea is that the subscription service takes a 

Re: document style Web Service example in Axis

2003-07-16 Thread Tamas Hauer
Can some body point me to an example of document style Web Service using AXIS? From my experience, this is an excellent way to understand the workings: 1. handwrite a simple WSDL (see below) 2. java org.apache.axis.wsdl.WSDL2Java --verbose \ --server-side \

How can we access and set HTTP headers in AXIS

2003-07-16 Thread Agarwal, Naresh
Hi   I want to access and set HTTP headers in my webservice using AXIS.   How can I do this?   thanks & regards, Naresh Agarwal

Re: Problem returning byte array in SOAP attachment

2003-07-16 Thread Davanum Srinivas
Phil, Please open a bug report, so that we can track down and fix this problem. (http://ws.apache.org/axis/bugs.html) -- dims --- [EMAIL PROTECTED] wrote: > Hi, > > I've been able to return strings in SOAP attachments, but I haven't been successful > returning a > byte array. I wrote in previ

Re: odd bug: Does axis reparse its own SOAP?

2003-07-16 Thread Davanum Srinivas
Please open a bug report with stack traces...Any stripped down test case would be a big plus. (http://ws.apache.org/axis/bugs.html) Thanks, dims --- Jeffrey J Gaynor/jqhome <[EMAIL PROTECTED]> wrote: > We are using AXIS as part of a file uploading service (it will eventually > run under the Glob

RE: Axis attachment file created in the Temp directory

2003-07-16 Thread Javier_Gimenez_Escudero
I have one question about this topic. Is there any way I can change the file where Axis will write the attachment. I mean, I don't want Axis to write in /tmp (I'm using linux) but in a user's home directory (let's say /home/javi/tmp). Thanks all, Javi

Complex Bean don't get deserialized as espected

2003-07-16 Thread Gavriloaie_andrei
Hi,   I use Axis server 1.1 and I have a service with some methods working with complex beans. An example of such a bean is one containing an array of other beans and some basic types.   Here is an example of such a class:   public class Differences {    private Long ID_PRODUSEA;    private V

Complex Bean don't get deserialized as espected

2003-07-16 Thread Gavriloaie_andrei
Hi,   I use Axis server 1.1 and I have a service with some methods working with complex beans. An example of such a bean is one containing an array of other beans and some basic types.   Here is an example of such a class:   public class Differences {    private Long ID_PRODUSEA;    priva

document style Web Service example in Axis

2003-07-16 Thread Agarwal, Naresh
Hi   Can some body point me to an example of document style Web Service using AXIS?   thanks & regards, Naresh Agarwal

AW: JNI problem

2003-07-16 Thread Grossert Alexander EXT
When you created the header file you surely used "javah -jni yourClass", right? If not don't keep on reading and tell me exactely what you did.   Okay, this problem always comes up when the Class impelemting your native code is part of a package. The tutorials on the internet only deal with

Re: Simple example of typemapping

2003-07-16 Thread Srinath Perera
Hi andrei you should extends from the Serializer, and Desirializer (in org.apache.encoding i think). Then should create SerializerFactory and desirializerFactory. I will not write lot. see Aixs user giude about beans and custom type mapping. (even though it pretty thin has links to cuple of

Re: JNI problem

2003-07-16 Thread Harald Pollak
please let me know if you have a solution, I have a simmular problem, but I have no solution until jet. nice day Harry On Die, 2003-07-15 at 05:16, SEong CHEE wrote: Hi everyone, I tried to use JNI within a Axis service. I had compile the java code to .class file, then created the .h file,