AxisHttpSession

2004-10-20 Thread Dorner, Thomas
Hi all,   we use the AxisHttpSession (generate them out of a HttpSession) We make several request all over the SessionTimout-Time and touch the AxisHttpSession, but the session die within the SessionTimeout.   I think this is not the right behaviour ? à The Session lifetime should inc

RE: how to get rid of these warnings?

2004-10-20 Thread Tami Wright
Any complex objects being passed across the wire need to be standard bean types (getters/setters) with a default constructor in each. java.util.List and net.sf.hibernate.Interceptor will not qualify because axis cannot marshall/unmarshall them into platform-independent/soap-compliant types. Sa

Noob Question: JAVA2WSDL

2004-10-20 Thread maxmaxwell
Hi everyone, this is probabaly a huge trivial question, yet I can't figure it out... so I'm not sure if it even does it. I want to be able to use constants when I generate the WSDL file (and of course in stub classes when generated from WSDL). This is like the only thing while implementing a web

java.lang.OutOfMemoryError in WSDL2Java

2004-10-20 Thread NGUYEN Tuan Anh
Hi, I'm using Axis 1.1 to create a webservice. I started with a WSDL file which import a XML schema A, the schema A includes another schema B who include A (A includes B and B includes A). When I use WSDL2Java to generate java files, I've got a java.lang.OutOfMemoryError error while parsing the

How to publish two class with one WSDL?

2004-10-20 Thread Dacheng
Hi, every fellow: I met a new problem. I implemented two classes A and B. I want to publish them as a Web service, that is, I want to use a single WSDL file to describe these two class. Could anyone please tell me how to achieve that? Thank you in advance Dacheng

Re: HashMap problem

2004-10-20 Thread Dacheng
Hi, every fellow: I met a new problem. I implemented two classes A and B. I want to publish them as a Web service, that is, I want to use a single WSDL file to describe these two class. Could anyone please tell me how to achieve that? Thank you in advance Dacheng

Re: is it a must??

2004-10-20 Thread Nelson Minar
>It's the way it works. It's a servlet, so you need a servlet container, >such as tomcat. I don't thinkA hat's strictly true. Axis has a local transport, which bypasses HTTP. And SOAP is transport neutral. In theory you could do SOAP over SMTP, for instance, although I don't know if Axis suppor

Re: JavaBean as parameters overwritten by WSDL2JAVA

2004-10-20 Thread Shantanu Sen
I have a similar issue. I am doing a Java2WSDL on a set of existing class/interfaces that contains beans and arrays of beans and then I do a WSDL2Java to genrate the WSDD that I need to programmatically configure the axis engine on the server side. But this results in overwriting the pre-existing

OutOfMemoryError

2004-10-20 Thread James Brady
Hi all, I have a fresh installation of Tomcat and Axis in Linux (2.6 kernel). Working through the Axis installation guide, I get to the "stock" webservice and after setting up the AXIS_CLASSPATH env. variable, I run the command $ java -cp $AXIS_CLASSPATH org.apache.axis.client.AdminClient -lhttp:

HTML form for invoking the an axis service (test client)

2004-10-20 Thread axis
Hi there, Does anybody know when the message "Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... " will be exchanged with a simple test form to invoke the web service? Or is there already some tool out there to convert the WSDL into an HTML form for t

RE: how to get rid of these warnings?

2004-10-20 Thread Paul Kukk
Can you post your applicationContext.xml file? -Original Message- From: Koney, Satish [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 12:00 PM To: [EMAIL PROTECTED] Subject: how to get rid of these warnings? I am trying to develop the service using Spring and Hibernate. When

how to get rid of these warnings?

2004-10-20 Thread Koney, Satish
I am trying to develop the service using Spring and Hibernate. When I try to get the WSDL from the java classes I am getting the following warnings: WARNING: The class java.util.List is defined in a java or javax package and cann ot be converted into an xml schema type. An xml schema anyType will

Re: How to change the port where AdminClient runs?

2004-10-20 Thread Dan Ciarniello
Koney, Satish wrote: The problem with the AdminClient is that it is not showing any useful message if it is invoked without any parameters. This is the message that is displayed. INFO: Usage: AdminClient xml-files | list But when I decompiled the AdminClient file I found that it is using command l

RE: How to change the port where AdminClient runs?

2004-10-20 Thread Koney, Satish
The problem with the AdminClient is that it is not showing any useful message if it is invoked without any parameters. This is the message that is displayed. INFO: Usage: AdminClient xml-files | list But when I decompiled the AdminClient file I found that it is using command line arguments. Th

RE: Java2WSDL on class that implements multiple interfaces

2004-10-20 Thread Arijit Mukherjee
Are you inheriting your interfaces from a base class? I thought WSDL doesn't yet support inheritence... This was the reason why the globus guys created the concept of GWSDL and modified Axis for GT3.x... Cheers Arijit >-Original Message- >From: Eric Chijioke [mailto:[EMAIL PROTECTED] >

Re: How to change the port where AdminClient runs?

2004-10-20 Thread Dan Ciarniello
Koney, Satish wrote: Is there anyway to change the port the AdminClient runs in Axis? I need this because, I am getting some error while deploying service using AdminClient. ... So I want to see the SOAP request and response message using TCPMON. But If I use 8080, it says the address is in use?

Java2WSDL on class that implements multiple interfaces

2004-10-20 Thread Eric Chijioke
Running the WSDL2Java tool on a class that implements multiple interfaces (or a base class and 1+ interfaces), results in a WSDL schema that (randomly?) selects only one of the interfaces (or base class) as the of the implementing class. Is there a way to express multiple interface implementati

JavaBean as parameters overwritten by WSDL2JAVA

2004-10-20 Thread Grenier Nicolas
Hello, I have a Web Services that use JavaBean as In/Out parameters. My JavaBean are classes that have been previously created. My problem is that when I run Wsdl2Java it overwrites my JavaBean classes and I loose the code I have put in them. Is there a way to avoid that WSDL2Java overwrite Java

RE: Need to let axis check if parameter is null ?

2004-10-20 Thread Jairam, Roopnaraine
Does anyone know how to implement a webservice where all the parameters are required? -Original Message- From: Jairam, Roopnaraine Sent: Tuesday, October 19, 2004 11:21 AM To: [EMAIL PROTECTED] Subject: RE: Need to let axis check if parameter is null ? After I modified the wsdl and regen

Returning objects array

2004-10-20 Thread Sriram Sathiamoorthy
Hi, I am new to using AXIS Web Services and have been having the following problem. I am using Axis 1.1 and Tomcat 4.1 to develop my Web Services. The class I have implemented returns an Array of Java Beans. I used Java2WSDL utility to create the WSDL and then, WSDL2Jave utility to get the deploy.

AW: AXIS and websphere 5.1

2004-10-20 Thread Dorner, Thomas
Hi all,   for all who have problems with AXIS and websphere 5.0 (5.1?).   I have solved my problem with saaj.jar and the incompatibleClassChangeError Exception.   Im not able to tell you the correct words for settings, because my WASD is in german, so I have to Translate the words.

Re: Using ant task to deploy services

2004-10-20 Thread Janusz Martyniak
solved: from echo directory: ant -v -Dadmin.file=deploy.wsdd -Dadmin.file.exists=true adminClient Does the job. cheers jm -- *** * Janusz Martyniak TEL +44 (0)207 594 7810 * * HEP Group, P

Re: newbie wsdl question

2004-10-20 Thread john cho
Hi, i have been trying to run example4(LogHandler) thru Ant script to create WSDL and to create WSDD. When I did run to generate WSDL with axis-wsdl2java, it generates warning messages as follows: [axis-java2wsdl] Java2WSDL sample.services.web.LogHandler [axis-java2wsdl] - The class org.apache.a

How to change the port where AdminClient runs?

2004-10-20 Thread Koney, Satish
Is there anyway to change the port the AdminClient runs in Axis? I need this because, I am getting some error while deploying service using AdminClient. Error is: Oct 20, 2004 6:24:17 PM org.apache.axis.client.AdminClient process INFO: Processing file deploy.wsdd Oct 20, 2004 6:24:18 PM org.apac

Using ant task to deploy services

2004-10-20 Thread Janusz Martyniak
Hi, I managed to run some examples using a 'manual' method to install them into axis. I used javac and adminClient directly to compile and deploy examples contained in axis distribution. Now I want to use ant to do it. There are build.xml files shipped with examples. I tried the echo example fo

RE: is it a must??

2004-10-20 Thread Koney, Satish
thanx a lot... > -Original Message- > From: WAJSBERG Julien RD-BIZZ [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, October 20, 2004 4:39 PM > To: [EMAIL PROTECTED] > Subject: Re: is it a must?? > > Koney, Satish a écrit : > > >If I develop a web service using axis, SHOULD the axis be

configuring URL end point in client

2004-10-20 Thread METIN ZAVRAK
Hi, I used Java2WSDL and WSDL2Java tools to generate the code for the web service. When I examine XXXServiceLocator.java I saw the following code: * ... // Use to get a pr

Re: is it a must??

2004-10-20 Thread WAJSBERG Julien RD-BIZZ
Koney, Satish a écrit : If I develop a web service using axis, SHOULD the axis be deployed as web application in the server ?? or is there any other way? It's the way it works. It's a servlet, so you need a servlet container, such as tomcat. -- Julien

is it a must??

2004-10-20 Thread Koney, Satish
If I develop a web service using axis, SHOULD the axis be deployed as web application in the server ?? or is there any other way? Thanks, Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be p

RE: Websphere 5.1 and Axis rc1

2004-10-20 Thread Pranay Parsatwar
Dear,   From your mail I get that u have added axis jars in server classpath. I.e. your WSAD configured server. Am I right? I don’t want you to put the axis jars in server classpath. Just include the jar files in your WEB-INF/lib directory and automatically as per the war structure, ur

AW: Websphere 5.1 and Axis rc1

2004-10-20 Thread Dorner, Thomas
Hi Pranay Parsatwar,   Thank you for your reply - but I don't understand what you mean.   I am starting websphere out of my IDE (WSAD) so I can change the order of my jars, but it doesn't change anything.   I do not want to include my classes in a jar (service.jar), because I will de

Handler destroy() method - when?

2004-10-20 Thread Peter Smith
I was experimenting with a trivial implementation of javax.xml.rpc.Handler (it does nothing except say hello from each API). I wrapped it with one of those axis JAXRPCHandler components and added the following (in server-config.xml) to one of my services       

RE: Obtaining the client hostname inside *BindingImpl.java

2004-10-20 Thread Patrick Herber
If I correctly understand you are trying to invoke your WebService via a GET request and not a "usual" "SOAP Client", isn't it? I gave a look at the code of the org.apache.axis.transport.http.AxisServlet and there I found that when the Servlet receives a POST request (line 869) it creates a Message