Can't get it running

2002-04-30 Thread LuckyLuke
Hi there! I really don't know what I'm doing wrong. I've no practice with tomcat (or java) but I got the examples to work. Now I installed the latest version of Axis and tried to follow the installation-instructions. I got to Step 4, don't think that I really understood Step 5 but thougt, that St

WSDL2Java generates incorrect field reference (beta 2)

2002-04-30 Thread Alan Moore
After running WSDL2Java (beta2) against my wsdl file, the generated code contains references to a non-existent field: javax.xml.rpc.ParameterMode.PARAM_MODE_IN I think this should be: javax.xml.rpc.ParameterMode.IN since the ParameterMode class in the xmlrpc.jar distributed with Axis beta2 has

Java2WSDL breaks for me beta1 -> beta2

2002-04-30 Thread Bob Cotton
Just got around to getting beta2. I get the following generating WSDL from a class that works for beta1. This takes about 15min at 100% CPU to get this error: [java] javax.xml.rpc.JAXRPCException: unable to get serializer for class org.apache.axis.encoding.ser.BeanSerializer [java]

RE: support?

2002-04-30 Thread Lasker, Kory
I tried this in beta1 and it doesn't seem to work. Here's my WSDD service declaration: ... Nevertheless, Axis still auto-generates the response. Why? Don't most of you define the WSDL yourself instead of leaving it to Axis? Kory -Original Message- From: Tom Jordahl [mailto:[EMAIL

Beta2 bean serialization: turn off inclusion of public fields?

2002-04-30 Thread KWard
I'm using public fields as enums, and don't want them serialized. In fact they are final, so they can't be de-serialized. More generally, can I control which parts of beans get serialized? Thanks in advance.

different ways of deserializing SOAP arrays ?

2002-04-30 Thread Martina Brose
I know that Apache SOAP, Axis und GLUE serialize Vectors as SOAP Arrays. But none of these platforms was able to interoperate with another when I tried to send Vectors over the wire (as method parameters or return value). Every platform for its own worked fine, but not for example an Axis s

Question about the ServiceLifecycle interface and its use in Axis

2002-04-30 Thread olivier brand
I am reviewing in detail the JAX-RPC specification and have acknowledged the Service Endpoint Model chapter (10). As I was browsing the source code of Axis, I was not able to see this interface being used in the org.apache... implementation (it is defined in the jaxrpc package). Should the serv

RE: Two things with AXIS beta 2 rc1...

2002-04-30 Thread Cun Yong Tan
>Just to be clear, I am talking about the WSDL ones gets when one deploys a >service and then requests WSDL using the ?WSDL postfix. It just so happens >I've built a base class for my web services (for helper methods, e.g. >logging W/S calls w/ caller IP context, managing W/S call lock-out times,

RE: Apche SOAP 2.2 or AXIS ????

2002-04-30 Thread robert woodley
This sounds quite serious. Did you submit bug reports to the development team? I would be quite interested in any bugs related to data corruption. Can you provide examples? My experience with Axis has been quite good. Easy to implement, and so far for me, relatively bug free. Performance is also

RE: Axis JVM Dependencies

2002-04-30 Thread Dan Silver
I encountered a problem on the client side running on WebSphere 3.5 w/1.2.2 -- AxisClientProxy implements java.lang.reflect.InvocationHandler, which is a 1.3 ifc. - Dan -Original Message- From: Tom Jordahl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 7:32 AM To: '[EMAIL PROT

Calling another Class from within Axis... Basic Problem

2002-04-30 Thread Sascha Kulawik
Title: Calling another Class from within Axis... Basic Problem Hello, This seems for me to be a "basic" Problem, but I cant find the real explanation of it. I want to return an Object of "Test" - this Class is compiled and is under WEB-INF/classes/ found - but Axis wont find the Class. Is t

Re: WSDL2JAVA Problem

2002-04-30 Thread Sven Kuenzler
Hi, JSSE needs a little more configuration. Have a look at http://xml.apache.org/soap/docs/install/FAQ_Tomcat_SOAP_SSL.html There is an updated version for Axis which I don't find right now. It's essentially the same procedure as described by the document mentioned above. HTH, Sven --

RE: WSDL2JAVA Problem

2002-04-30 Thread Tom Jordahl
Title: WSDL2JAVA Problem   Sounds like you need to configure your JDK to support https URLs. I don't believe this is supported right out of the box...   There should be info in the Java documentation about this, but I don't have a pointer handy. -- Tom Jordahl Macromedia -Original Me

WSDL2JAVA Problem

2002-04-30 Thread Kristian Senkler
Title: WSDL2JAVA Problem Dear List, I got a problem parsing a WSDL-ressource. One part of the WSDL-file is as follows:             RE: How to retrieve an XML document from a service?
I don't know if that would be possible, but I don't see why WSDL2Java can't anticipate what I want to do with the XML if a .NET client can figure it out it should be possible for WSDL2Java as well, unless MS uses very non-standard methods of course (but even then an option --lenient-wsdl-parsi

RE: How to retrieve an XML document from a service?

If this is the case (i.e., WSDL2Java cannot anticipate anything), then it would be nice to be able to tell WSDL2Java what you want it to do. In particular, the ability to specify per-part mappings. E.g., that the input parts should be mapped to java types, while the return part(s) should be treat

RE: How to retrieve an XML document from a service?

I want it because the service method has the following signature (javanized): org.w3c.dom.Document getSomeComplexInfo(); So what I would like to see in my soap stub is the same signature and not something like: some.generated.bean getSomeComplexInfo(); But if there is a way to retrieve

RE: How to retrieve an XML document from a service?

You are right WSDL2Java cannot anticipate anything! Thanks for the code chunk. Sylvain. -Original Message- From: Andrew Vardeman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: RE: How to retrieve an XML document from a service? I think

Re: Simple session example

oops, missed your post, Adam At 10:19 AM 4/30/2002 -0300, you wrote: >You have to add the following line to the deploy descriptor : > > > >where scope is the same as a servlet: session, application, request (the >default).

RE: How to retrieve an XML document from a service?

I think the problem is that WSDL2Java can't anticipate how you're planning to use the XML that's returned. Anyway, it's easy enough to get the entire body of a SOAP message returned by some service. Attached is an example client that does this. Instantiate the service with a String that hold

RE: How to retrieve an XML document from a service?

I may have misunderstood the purpose of your need. Why do you need the XML if you have the bean? FYI, I use this trick to after a call to let's say my query() operation, It is more handy for me to generate HTML using an XSL transformation than looping through the beans... Sylvain -Origina

RE: Axis Tomcat performance

Hi Geza, I could "solve" my performance problems. If I use an soap client in PHP, the tomcat server will perform the task very fast. I don't know, whats going wrong calling the java clients ... Thank you very much Juergen > > > > if I set the option to "XXX", the server returns a float > > dire

RE: Axis JVM Dependencies

As far as we know there is nothing in the AxisServlet that requires Servlet 2.3. I am less certain about the JDK version, it should work but I (and most others) use 1.3 for development. -- Tom Jordahl Macromedia -Original Message- From: Garrett Suhm [mailto:[EMAIL PROTECTED]] Sent: Tu

Re: Simple session example

Richard, yeah, I had some basic questions about sessions a couple weeks ago, and they got answered pretty well. You can check the list archives for the thread "how to implement sessions, persistent objects, etc. ?". The way you're implementing sessions, I'd guess the thing you're missing is

RE: Custom Fault

The passing of data in faults is not yet implemented in Axis. There is no standard for how this data gets passed back in the SOAP fault, so it looks like we will have to implement something and hope that 1) others will follow our lead and interoperate with us or 2) a standard will be specified

RE: How to retrieve an XML document from a service?

So what you are suggesting is to forget about all the beans and just extract the XML from the SOAP envelope? But wouldn't it be better if WSDL2Java would generate this code? It seems simple enough. Or is the .NET way not standard enough to it that way? -Tako > -Original Message- > F

RE: How to retrieve an XML document from a service?

After you made your call you can get to the SOAP envelope using: service.getCall().getResponseMessage().getSOAPPart() Sylvain. -Original Message- From: Tako Schotanus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:20 AM To: [EMAIL PROTECTED] Subject: How to retrieve an XML

Configure commons-logging to use log4j

Environment : Win2000Server,Tomcat-3.3a,AXIS and all the stuff for Axis(commons-logging,xerces,log4j, etc.) What should I do for enabling output axis activity into log file? My log4j.properties file looks like: // log4j.rootCat

Custom Fault

Hi, Does axis beta 2 supports custom faults? If so how should I define them in WSDL? I tryed with: In the SOAP fault I receive this: http://xml.apache.org/axis/";>ns1:Server.generalException http://xml.apache.org/axis/";>com.company.wsdl.dummy.Pi

deserialisation issue

Hi ,   I wonder could you tell me what are my problem is related to ... I am getting the following error when I run my generated client stub against the service     org.xml.sax.SAXException: Deserializing parameter 'authoriseResult':  could not find deserializer for type urn:PNSWebservice:

Re: Admin console - Deployment

You can't, it doesn't exist in AXIS yet. - Original Message - From: "Benoit ADAM" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 4:56 AM Subject: Admin console - Deployment > Hi, > > I was using Soap 2.2 and I've installed AXIS beta1. > Now, I didn't find th

Re: Simple session example

You have to add the following line to the deploy descriptor : where scope is the same as a servlet: session, application, request (the default). - Original Message - From: "Richard Taylor" <[EMAIL PROTECTED]> To: "axis-user" <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 9:58 AM Sub

Simple session example

I'm running AXIS in Orion Application Server 1.5.4 on Win XP with J2SDK1.4.0 All the small examples I've tried are working perflectly and I'm really impressed with AXIS so far! I've come across a problem getting a very simple example working to demonstrate session maintenance (following on from

Re: Tomcat / Axis Performance Issues

The first time you access a context under Tomcat is when it loads it, basically it lazy load web contexts so that the unaccessed ones are cluttering up memory. You can add a command to the servlet context in web.xml to cause it to load with the server (I just don't know the exact name). - Or

How to retrieve an XML document from a service?

I used WSDL2Java to generate some code for a .NET web service that returns an XML document as a result. After inspecting the code I noticed that all XML document results had been converted to Beans.   Can somebody point me in the direction I should go to get from a Bean to the original XML

FW: Creating a service in an applet

Hmm - just checked the archive. Seems that this has been discussed and there are security manager problems with what I'm trying to do. I'll just create an application instead. > -Original Message- > From: Knight, Digby > Sent: 30 April 2002 10:26 > To: '[EMAIL PROTECTED]' >

Creating a service in an applet

Hi, I've got an Axis service up and running and a test client works fine. However, when I move my code into an applet it fails when I try and create the service. The stack trace is shown below, but it doesn't give me any clues, except that there's a null pointer down at the bottom. The applet i

RE: Apche SOAP 2.2 or AXIS ????

Rather hopefully I evaluated the axis server only to find several bugs (showstoppers - encoding/concurrency) within a few hours of using it (beta 1). I did find it easier to use than SOAP 2.2, but SOAP 2.2 was more stable and that was what was required. The bugs didn't cause it to crash or anyth

Tomcat / Axis Performance Issues

I am running Jakarta Tomcat 4.0.2 (as WinNT service) with XML-AXIS Beta 1 RC2 on Windows 2000, this is running solo, i.e. not integrated into a webserver (i.e. appache/iis etc) as it isnt required for the project. The process that I use Tomcat/Axis for is made up of the following components : 1)

Axis JVM Dependencies

Is Axis using anything that is JVM 1.3 or 1.4 specific or the Servlet 2.3 API? We're looking at a WebSphere 3.5 deployment environment which is unfortunately stuck at 1.2.2 and Servlet 2.2 or maybe even 2.1. thanks in advance, Garrett -

How to retrieve an XML document from a service?

I used WSDL2Java to generate some code for a .NET web service that returns an XML document as a result. After inspecting the code I noticed that all XML document results had been converted to Beans. Can somebody point me in the direction I should go to get from a Bean to the original XML docum

Changes to GET interface in beta 2?

After "deploying" the Calculator.jws example the following URL would work in beta 1: http://localhost:8080/axis/Calculator.jws?method=add&i1=5&i2=10 only it would return the resulting SOAP result appended with a little bit of HTML. But in beta 2 I now get nothing, only an error: AXIS error Sor

RE: Axis Tomcat performance

> Hi Geza, > > if I set the option to "XXX", the server returns a float > directly. Only if > I set the option to "IBM", the server get the stock from the > real internet. > Nethertheless, the misc example ,which will send a hardcoded > message to the > server and returns that message will t

RE: Axis Tomcat performance

At 10:25 30.04.2002 +0200, you wrote: > > Client and Server are located on the same machine ... > > Thanks > > Juergen > >Yeapp, but the server gets stock data from a real internet >provider. So try an other example which is not using external >source. Hi Geza, if I set the option to "XXX", the

RE: Axis Tomcat performance

> Client and Server are located on the same machine ... > Thanks > Juergen Yeapp, but the server gets stock data from a real internet provider. So try an other example which is not using external source.

Re: Axis Tomcat performance

> > I have now configured tomcat 4..x and axis, so I can run the samples > > deliverd by axis. > > I'm trying to find out, if I can use this configuration to develop an > > SOAP-Service for an > > existing web-shop. But I think the used configuration > > > > Java Sun build 1.4.0-b92 > > Tomcat 4.

RE: Apche SOAP 2.2 or AXIS ????

Chad, chester, FWIW, this mirrors my experience _exactly_ timj > I started with Apache SOAP 2.2 initailly and got basic simple web service samples working. > Considered it's maturity, I was about to recommended my company to use it. Then I start to build MS client against. And

Re: InvocationTargetException

Hi Tom, in the meantime, I resolved the issue w/o additional info. FOP is simply requiring xalan1compat.jar. Anyway, the exception was not thrown from within my code (which was in a try-catch block as you suggested). Sven - Original Message - From: "Schuring, Tom" <[EMAIL PROTE

Admin console - Deployment

Hi, I was using Soap 2.2 and I've installed AXIS beta1. Now, I didn't find the admin console that allowed me to deploy/undeploy a web service when I was connected at : http://localhost:8080/apache-soap/servlet/rpcrouter ! Where can I find it now ? Thanks In Advance Ben

Re: Axis Tomcat performance

- Original Message - From: "Juergen Kaatz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 30, 2002 00:26 Subject: Axis Tomcat performance > Hi to all, > > I have now configured tomcat 4..x and axis, so I can run the samples > deliverd by axis. > I'm trying to find out,

Axis Tomcat performance

Hi to all, I have now configured tomcat 4..x and axis, so I can run the samples deliverd by axis. I'm trying to find out, if I can use this configuration to develop an SOAP-Service for an existing web-shop. But I think the used configuration Java Sun build 1.4.0-b92 Tomcat 4.0.3 Axis Beta 2 Su