date serialization

2002-05-16 Thread Ricardo Rocha
I have a method in a web service which receives as an argument a java.util.Date... My client is in .NET and the generated WSDL is this: The thing is .net is not able to understand this WSDL and as far as i understood the error it is generating a class with only the hours

Re: Axis beta1 vs. ClassLoader management - Commongs logging fails

2002-05-16 Thread Heitzso
You may also want to try the hint re -Djava.endorsed.dirs=path_to_axis_lib Not sure this fixes your problem, but I've seen wierdness when the jar files were all spec'ed explicitly in the classpath, but that still failed because of conflict with other jars in the jdk/jvm, but worked when the jars

Re: Axis performance

2002-05-16 Thread Heitzso
Very important to spec the OS. For instance WinNT workstation and Win2K non-server versions all limit the number of concurrent connections. I also have a simple stress test service that I run and I hit the connection problem quite easily on the Win non-server platforms. On the other hand, on L

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-16 Thread Mark_Palmer
When I try to go to that URL, I get HTTP status 500 messages that say "no context configured to process this request". I placed my service ".jar" file into the WEB-INF/lib directory inside the axis.war file (which has pretty much everything from webapps/axis in it), and deployed this in JBoss.

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-16 Thread thomas . cherel
Title: RE: Using Axis Beta2 in JBoss/Tomcat If you use the JBoss_Tomcat bundle, when starting JBoss, tomcat is also started. Dropping axis.war in the JBoss deploy directory will actually deploy Axis in the bundled Tomcat servlet engine and the Axis servlet is accessible like in a standalone To

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-16 Thread Mark_Palmer
When packaging my service inside of the Axis war file, it gets automatically deployed when it gets copied into the JBoss deploy directory. There doesn't seem to be a way to use the AdminClient or the wsdd file once this happens. How do you connect to your service when you package things this wa

Re: WSDL2Java against a WSDL file from MS Soap

2002-05-16 Thread Russell Butek
I'm not sure I understand your problem. Could you show us your WSDL? Russell Butek [EMAIL PROTECTED] "Houman Moshtagh" <[EMAIL PROTECTED]> on 05/16/2002 01:11:12 PM Please respond to [EMAIL PROTECTED] To:<[EMAIL PROTECTED]> cc: Subject:WSDL2Java against a WSDL file from MS Soap He

Axis performance

2002-05-16 Thread Han Wang
Hello Axis users, I'm running preliminary tests on AXIS's ability to handle concurrent accesses, and am puzzled by an apparent fixed point where connections would be refused. At around 18-19 concurrent access to a simple web service, there would be: java.net.ConnectException: Connection refused:

RE: interop with MSSoap Toolkit 2.0

2002-05-16 Thread Yiet, Richard Liyong
Hi, Chris: Thanks for your response. We've already solved the problem. As the method returns void, 'wscript.echo' caused the error message. 'Call' should be used instead. By the way, do you have a very simple C++ client to invoke Web Services via MSSoap Toolkit? Richard -Original Message-

WSDL2Java against a WSDL file from MS Soap

2002-05-16 Thread Houman Moshtagh
Hello, The problem is that I get 4 Files from the WSDL File (MSSoap) as shown below: - CreateCOM.java - --> CreateCOMLocator.java - --> CreateCOMSoapPort.java - CreateCOMSoapBindingStub.java Instead of getting these 4 Files from a WSDL (Axis) (like the guide):

RE: interop with MSSoap Toolkit 2.0

2002-05-16 Thread Chris Haddad
Richard, The method definition, method parameters, and return value definitions are derived by MSSOAP from the WSDL. We'd have to see the WSDL to debug your issue. /Chris -Original Message- From: Yiet, Richard Liyong [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 11:45 AM To

Re: Axis beta1 vs. ClassLoader management - Commongs logging fails

2002-05-16 Thread Mike Spreitzer
I solved this one on my own (after getting zero help from the list). The problem is that log4j-core.jar needs to be in the same classloader, or a parent of the classloader, that contains commons-logging.jar. In my case, a little re-ordering solved the problem (once I understood it).

Underscores

2002-05-16 Thread Lasker, Kory
I have an Axis WS method that returns a complex type as a JavaBean. It uses beta2. My bean looks like this: public class Address { private String _FOO; private String _D_TSENT; public String getFOO() { return _FOO; } public String getD_TSENT() { return _D_TSENT; } }

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-16 Thread thomas . cherel
Title: RE: Using Axis Beta2 in JBoss/Tomcat They way I have been doing so far is the following: 1) The code of my services is included in the Axis war file. 2) Nothing specific in the wsdd file or the way the AdminClient is used. Thomas -Original Message- From: [EMAIL PROTECTED]

Using Axis Beta2 in JBoss/Tomcat

2002-05-16 Thread Mark_Palmer
I have a few questions about using Axis in the JBoss environment. When using Axis with Tomcat alone, you put all the Axis stuff in %CATALINA_HOME%/webapps/axis. This doesn't work when running JBoss with Tomcat. I read in another posting that you need to create a WAR file with all the Axis stuf

interop with MSSoap Toolkit 2.0

2002-05-16 Thread Yiet, Richard Liyong
Hi, I am using MSSoap Toolkit 2.0. to invoke Web Services deployed with Axis Beta2. The service was successfully invoked and Soap message exchanges looked OK. However, I've got annoying messages like this: Client Client: Incorrect number of parameters supplied for SOAP request

RE: WSDL2Java error!

2002-05-16 Thread Brian Keane
> Both. JAX-RPC only defines a subset of XML->Java mappings. AXIS has > defined a considerably larger set, but still not all of them. So we COULD > do this one as well, IF we could come up with a reasonable mapping. > > Russell Butek > [EMAIL PROTECTED] FYI, it appears that s:schema gets ma

RE: Newbie Question

2002-05-16 Thread Provencher, Samuel
The answer is simple, none of them are standalone clients. You must use the Locator class to acquire a stub which you can then use just like a local object - a little more digging is required on your part because this is all covered in the users's guide; very straightforward. You're almost t

RE: How to ask Axis to start a WebServcie

2002-05-16 Thread St-Germain, Sylvain
No, the init would be triggered through a SOAP call. Sylvain. -Original Message- From: Benazech Cédric [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:35 AM To: '[EMAIL PROTECTED]' Subject: RE: How to ask Axis to start a WebServcie But the init() would have to be static ...

RE: How to ask Axis to start a WebServcie

2002-05-16 Thread Benazech Cédric
But the init() would have to be static ... and my thread could not interact with the instance of the WebService that Axis hasn't create yet. But it's a good idea : i can make the servlet do a http request to the ?wsdl of the service => that will start the webservice. thx for the idea ! Cédric

Re: Web service life cycle...

2002-05-16 Thread Andrew Vardeman
Kyle, see the thread "threads, etc. in application scoped service" from Tuesday, May 7 -- essentially, if you deploy your webservice without a "scope" parameter in the .wsdd file, it's request-scoped and one instance is made for each request. If you deploy it with session scope, one object is

Web service life cycle...

2002-05-16 Thread Kyle Lomeli
Where can I find information concerning the lifecycle of a service deployed on Axis? Does Axis use only one instance of each Web service, or does it create multiple instances of a Web service to handle multiple requests? Any synchronization issues of which I must be aware? Thank you in advance.

RE: How to ask Axis to start a WebServcie

2002-05-16 Thread St-Germain, Sylvain
I do not know if Axis allows that but for sure you could trigger it with another serlvet which on startup would simply make a call to somekind of init() method in your web service to get it started... Sylvain. -Original Message- From: Benazech Cédric [mailto:[EMAIL PROTECTED]] Sent: Thur

Newbie Question

2002-05-16 Thread Houman Moshtagh
Hello,   I’m new to Apache Axis and have a newbie problem.     I have a Service (HelloUser) deployed on TomCat. Then I’ve used “WSDL2Java http://localhost:95/axis/services/HelloUser?WSDL” to generate a Client for it. It generated 4 Data files for me.   -  HelloUser.java - 

RE: how to implement session in axis

2002-05-16 Thread thomas . cherel
Title: RE: how to implement session in axis In the case of an HTTP transport, for axis, it means handling cookies. -Original Message- From: Provencher, Samuel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 10:10 AM To: '[EMAIL PROTECTED]' Subject: RE: how to implement sessio

RE: how to implement session in axis

2002-05-16 Thread Provencher, Samuel
I read this part too and it did solve a behavioral problem I was experiencing, but it doesn't explain exactly what it means to be a "session-enabled" client, this term is undefined. -Original Message- From: Stickley, Jim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 1:24 PM To:

How to ask Axis to start a WebServcie

2002-05-16 Thread Benazech Cédric
Hello, Is there a way to ask Axis to create the implementation classes of Web Services as soon as the Axis Servlet is created. My Web serice start a thread and I would like this thread to run before the fisrt call to the service. Does a parameter like "load-on-startup" exists ? Cédric

RE: WSDL2Java error!

2002-05-16 Thread Russell Butek
Both. JAX-RPC only defines a subset of XML->Java mappings. AXIS has defined a considerably larger set, but still not all of them. So we COULD do this one as well, IF we could come up with a reasonable mapping. Russell Butek [EMAIL PROTECTED] "Gold, Laurence (MLIM)" <[EMAIL PROTECTED]> on 05/

RE: WSDL2Java error!

2002-05-16 Thread Gold, Laurence (MLIM)
Russell: Is this a jax-rpc issue design issue or code issue? Larry -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 8:32 AM To: [EMAIL PROTECTED] Subject: Re: WSDL2Java error! Cedric is right. It is ref="s:schema" that is causing your pro

Re: WSDL2Java error!

2002-05-16 Thread Russell Butek
Cedric is right. It is ref="s:schema" that is causing your problems. WSDL2Java does not handle that. WSDL2Java is based on JAX-RPC. JAX-RPC defines mappings from WSDL/XML to Java and it doesn't define a mapping for s:schema. I don't know how that should be mapped. Russell Butek [EMAIL PROTECT

Re: WSDL2Java error!

2002-05-16 Thread dev
Sorry, you are right. I am working on writting wsdl to have wsdl2java working properly... that's why I thought you was able to change the wsdl... I can't help, I don't understand the 2 elements I pointed... At 01:53 16/05/02 -0700, you wrote: >Dev, > That is a WSDL I got from the www.xmethods.ne

Re: How to start learning SOAP call...

2002-05-16 Thread Lai Jay Hung
Hi, Sylvain Thank you very much. I got a little sense from you reply, but I still can't work it out. There are many examples under AXIS, like addr and stock. How could I rewrite the examples to JSP page ? I have read the JSP's book entirely, but I get no sense on how to deal w

Re: WSDL2Java error!

2002-05-16 Thread Sudhir
Dev, That is a WSDL I got from the www.xmethods.net. I am trying to generate a generic client. I cant change the WSDL. I have to use them the way they are published. sudhir - Original Message - From: "dev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 12:46 AM

WSDL2Java: how to manage schema restriction/facets

2002-05-16 Thread dev
Hi, I am writing wsdl to generate both client and server side java code. wsdl is xml and supporte schemas. With schema we can apply some restrictions also called facets to data like: I am using beta2. For each type with a restriction, wsdl2java generate a

Re: WSDL2Java error!

2002-05-16 Thread dev
Hi Sudhir, i am a newbie to wsdl and to schema too. But i can say you the error come from the following : If you remove all the the wsdl2java seems to work (i didn't deploy then test the service) But why do you want to import the schema: http://www.w3.org/2001/XMLSchema"; /> as it is de