Can't generate stubs

2004-11-24 Thread kanchana
Hi I 'm trying to generate client stub using Axis java 1.1 wsdl2java tool.And it gives me following stacktrace Stacktrace java.lang.NullPointerException at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(Unknown Sourc

javax.naming.Referenceable - Plz Help, Where???

2004-11-24 Thread Ry.
Hi, everytime I try to compile a client I get the error "Class javax.naming.Referenceable not found in org.apache.axis.client.Service".  I've copied all of the code, installing procedures, etc straight out of a book and I think I have set my classpath correctly, as follows:   C:\axis-1_2beta3\lib\a

CVS - merging my mods with AXIS1_2RC

2004-11-24 Thread Mark D. Hansen
I've got some custom modifications to Axis 1.1 that I'd like to merge into a local copy of 1.2 RC1. Presumably, I can do something like "cvs update -r Version1_2RC1" - except that I can't identify any tag for RC1. I only see the tag for RC2. What am I missing? Thanks, Mark

Deserializing arrays doc/lit style?

2004-11-24 Thread Michael Schuerig
My classes public class MyService { public MyDescriptor[] getDescriptors() { ... } } public class MyDescriptor { private String _field1; private String _field2; ... public String getField1() { return _field1;

SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

2004-11-24 Thread Leonardo Razuk Jorge Froede
Hi fellows, I am sort of a newbie in axis an i don't know if this problem i am facing is an already discussed issue at this list (the search engine of the list was down when i acessed it). Anyway, my problem is the following: I am developing a web-service application using jboss1.2.3. I have a cla

Re: Unnable to redeploy axis application

2004-11-24 Thread Vy Ho
Here's a follow up on what I found out about this problem. First, I would like to restate my problem. This happens in Tomcat Embedded mode. The version of Axis is 1.2, and Tomcat is 5.028 and 5.5.4. When I stop() and start() the axis webapp, the AdminServlet causes this problem. The webapp

Re: Attachments - AXIS Server, .NET Client

2004-11-24 Thread Rahul Tripathi
Is there a way to provide similar functionality on the client side? Using the MessageContext does not work unless one adds a Handler on the client. On Tue, 23 Nov 2004 12:04:15 -0800, John Walker <[EMAIL PROTECTED]> wrote: > > > I have a spot of code I would like to contribute to the group. Th

RE : RE : EntityResolver trouble in 1.2-RC2 and IncompatibleClassChangeError with weblogic 8.1 sp3 (sun jdk) with 1.2-RC1

2004-11-24 Thread Olivier Lamy
Title: Message done http://nagoya.apache.org/jira/browse/AXIS-1683 done with bea too (only for  IncompatibleClassChangeError with weblogic with 1.2-RC1) stack produce witch changes in MessageElement.java (line 1388) got exception when calling Document.createTextNode(String) with object of

RE: exposing only parts of a Java Bean

2004-11-24 Thread Simon Fell
> > There's a constructor for the BeanSerializer that takes 4 > parameters, > > the last parameter is an array of BeanPropertyDescriptor > you can use > > this constructor to make a beanSerialzier that only knows about a > > subset of the fields on the bean. Its pretty easy to write a new > >

RE: attachments

2004-11-24 Thread Rajal Shah
>From our analysis, Attachments are the only way to do production ready Web Services where you have a moderate to a high payload (> 50K) and you expect a heavy load of simultaneous users.. The single biggest reason, being that the business doc payload is outside the SOAP envelope and thus the SOAP

Re: RE : EntityResolver trouble in 1.2-RC2 and IncompatibleClassChangeError with weblogic 8.1 sp3 (sun jdk) with 1.2-RC1

2004-11-24 Thread Davanum Srinivas
Please log a bug with Axis...Am sure it can be treated as a bug on bea's side as well. -- dims On Wed, 24 Nov 2004 18:55:37 +0100, Olivier Lamy <[EMAIL PROTECTED]> wrote: > > Some can help me ? > Or it's bea bug ? > > > -Message d'origine- > De : Olivier Lamy [mailto:[EMAIL PROTE

Re: Axis 1.2 RC2 released

2004-11-24 Thread Henry Lu
Okay, I got some explanation finally. But I still want to use DoC/Lit. Could you send me a working version of WSDL for DOC/LIT? Do you think this is a bug in the axis? Are they going to fix when the axis 1.2 is released? I used a c# version of WSDL file, it works for MS IE server but failed on A

RE : EntityResolver trouble in 1.2-RC2 and IncompatibleClassChangeError with weblogic 8.1 sp3 (sun jdk) with 1.2-RC1

2004-11-24 Thread Olivier Lamy
Title: Message Some can help me ? Or it's bea bug ? -Message d'origine-De : Olivier Lamy [mailto:[EMAIL PROTECTED] Envoyé : vendredi 19 novembre 2004 11:02À : Axis-UserObjet : EntityResolver trouble in 1.2-RC2 and IncompatibleClassChangeError with weblogic 8.1 sp3 (sun

Handler question

2004-11-24 Thread Michael Rock
I'm attempting to code a handler for a message service. When I deploy it, it gets called correctly, but when the msgContext gets passed to the MSGProvider, the operation property is not set and the call dies with an exception. This works fine without my handler. What am I missing? Thanks, Mike

RE: attachments

2004-11-24 Thread Rajal Shah
The load testing was done about a year ago.. I'm guessing it was release 1.1. -- Rajal -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:31 AM To: [EMAIL PROTECTED] Subject: Re: attachments Rajal, Which version are u using? thanks

Re: attachments

2004-11-24 Thread Davanum Srinivas
Rajal, Which version are u using? thanks, dims On Wed, 24 Nov 2004 09:18:47 -0800, Rajal Shah <[EMAIL PROTECTED]> wrote: > I've done extensive load-testing with Attachments.. and it seems to work > beautifully! The best thing about the Attachments as regards performance is > that the message is

Re: exposing only parts of a Java Bean

2004-11-24 Thread tony . q . weddle
The only other "simple" thing I can think of is, instead of using an interface, as you've tried, use a wrapper class. If the service returns the wrapper object, that only exposes the attributes you want, but wraps the real object, then Axis will only serialize the properties you want serialized. I

RE: attachments

2004-11-24 Thread Rajal Shah
I've done extensive load-testing with Attachments.. and it seems to work beautifully! The best thing about the Attachments as regards performance is that the message is entirely outside the SOAP envelope.. This allows the Axis engine to process the SOAP Headers without having to read in the entire

create TextNode with MessageElement

2004-11-24 Thread Stefan Lischke
hi, sorry for asking such a simple question, but how can i create a Text Node? thats the wsdl generate constructor signature: public FilterType( org.apache.axis.message.MessageElement [] _any, org.apache.axis.types.URI dialect) i tried: org.apache.axis.message.MessageElement[] any=new org.a

RE: hiding a property from Axis serializer?

2004-11-24 Thread Sheptunov, Bogdan
Yes I saw that, thank you Adrian. I understand that I should be able to specifying which properties I want serialized by writing a custom serializer. However, I do not wish to do that. I do not see any "special circumstances" in what I am trying to do that Axis should not be able to handle. As

How much validation does Axis do?

2004-11-24 Thread D Sledge
If I define a parameter of a WS port as type xs:any, will it validate any elements that reference a schema doc? For instance, given the following element passed as a paramter of a call to a WS: http://host/path/to/someSchema"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:x

How to configure SOAPConnection to use chunked transfer-encoding?

2004-11-24 Thread Weijian Fang
Hi, I am using SOAPConnection to send SOAPMessage. I would like to configure the SOAPConnection to use chunked transfer-encoding. I try very hard on google, Axis API doc, and AXIS document, but still can not work out. Anyone can give me some clue? Thank you very much. -- Best regards, Weijian

Re: Axis 1.2 RC2 released

2004-11-24 Thread WAJSBERG Julien RD-BIZZ
Montabert, Olivier a écrit : Hi, The problem is that you have a WSDL with multiple s in doc/lit mode, which is not WS-I compliant. Either change your operation, or use rpc/literal instead. or rather wrapped/literal. -- Julien

deploy a class as web service with axis

2004-11-24 Thread Daniel Sánchez Gómez
Hi, I'm going to deploy a class as web service with axis. My question is where I must put the clases that imports the this class (the future web service) -- Regards, Dani mailto:[EMAIL PROTECTED]

"Null serializer factory" error when deploying a service

2004-11-24 Thread Stuart Roll
Greetings - I'm fairly new to WS and Axis but this is the first real brick wall I've run into.  I was able to deploy a test WS with a single trivial method but when I tried to deploy another service that returned complex objects I received the following error: AxisFault faultCode: {http://schema

Re: exposing only parts of a Java Bean

2004-11-24 Thread Tim
gsk.com> writes: > > > Just a couple of point on this. > The JavaBean specification does not requite > a getter and setter for each property. A get method implies a readable > property (in Axis terms, it means that property can be serialised). A set > method implies a modifiable property (in A

RE: Axis 1.2 RC2 released

2004-11-24 Thread Montabert, Olivier
Hi, The problem is that you have a WSDL with multiple s in doc/lit mode, which is not WS-I compliant. Either change your operation, or use rpc/literal instead. Regards, Olivier -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:54 PM To:

Re: Attachments - AXIS Server, .NET Client

2004-11-24 Thread Eric Prickett
Thanks for the contribution! John Walker wrote: I have a spot of code I would like to contribute to the group. This class I developed can be used to detach or attach any file sent over web services. This class is intended for use on the server side, and will need just a little massaging to

Re: BASIC AUTHENTICATION doesn't work

2004-11-24 Thread Ilias Bartolini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 24 November 2004 17:00, Ilias Bartolini wrote: > Where can i find a simple howto explaining how to use basic authentication? problem solved... was just a typing mismatch in users.lst : Ciao, Ilias - -- /** * Reply to: ilias.bart

BASIC AUTHENTICATION doesn't work

2004-11-24 Thread Ilias Bartolini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Where can i find a simple howto explaining how to use basic authentication? 1. i've tried with in deployment descriptor and it doesen't work 2. i've tried with - -- Web Service Didattica /services/MyService my_role

RE: Axis 1.2 RC2 released

2004-11-24 Thread Banck, Arent-Jan
Hi, Please do not cross-post your messages to the different newsgroups, and please provide an appropriate subject. Thanks, Arent-Jan -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 3:54 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PR

axis nsx namespace prefix

2004-11-24 Thread Gerhard Hipfinger
hi, Is there a possibility to control axis to add or prevent the generation of the nsxx namespace declarations. I.e.: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://some.tld/net";>

Re: Axis Newbie: Help with finding service!!

2004-11-24 Thread Robert Simmons Jr.
Nevermind ... i figured it out. Robert Simmons Jr. wrote: Greetings. I am trying to build a simple newbie clinet to talk to the version service in Axis. I dont want to generate clases to do this but rather understand what is going on first. Lets say I have the following wsdl: http://localhost:

Axis 1.2 RC2 released

2004-11-24 Thread Henry Lu
Is there any one can help me out to testing DOC/LITTLE for the following interface? public interface echo { public String echo_double(String s1, String s2); } Please use DOC/LITTLE I always got the result like the following: call("My name is ", Henry"); returns: My name is null -Henry >>

Re: ANNOUNCE: Axis 1.2 RC2 released

2004-11-24 Thread Henry Lu
Where can we find the hightly build version for the axis/1_2RC2? It seams to me there was bug at the first rolling out. -Henry >>> [EMAIL PROTECTED] 11/17/2004 11:36:35 AM >>> Hi all: The RC2 release of Axis 1.2 (probably the last before 1.2 (finally) goes final) is now available at: http://w

Axis Newbie: Help with finding service!!

2004-11-24 Thread Robert Simmons Jr.
Greetings. I am trying to build a simple newbie clinet to talk to the version service in Axis. I dont want to generate clases to do this but rather understand what is going on first. Lets say I have the following wsdl: http://localhost:8080/Candied_Services/services/Version";

RE: Axis and authenication

2004-11-24 Thread Suzy Fynes
That helped a lot thanks but could the parameters of be stored in a MySQL database? -Original Message- From: Adrian Perez Jorge [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 13:33 To: [EMAIL PROTECTED] Subject: Re: Axis and authenication Suzy Fynes wrote: > > > > > Is the

RE: How to call a web service from another using Axis: WS Newbie

2004-11-24 Thread Hubble, Christopher
All you have to do is add the client call to your webservice.  It's pretty easy.  In the server side stubs, just make your two line call to the other service.   Chris -Original Message-From: Ry. [mailto:[EMAIL PROTECTED]Sent: Wednesday, November 24, 2004 8:00 AMTo: [EMAIL PRO

Re: Axis and authenication

2004-11-24 Thread Adrian Perez Jorge
Suzy Fynes wrote: Is there a better way of authenticating a user to access an axis WS other than using the permission list? If there were 100s of users what needs to be done? Thanks Suzy I suppose your axis WS is using org.apache.axis.security.simple.SimpleSecurityProvider as the secur

How to call a web service from another using Axis: WS Newbie

2004-11-24 Thread Ry.
Hi folks, I understand this is an annoying newbie questions, but could you please give some hints on how to call a method on another deployed web service from the first.   For a school project I have to set up a prototype web service that checks "inventory" from other web services, all I want to do

Axis and authenication

2004-11-24 Thread Suzy Fynes
    Is there a better way of authenticating a user to access an axis WS other than using the permission list? If there were 100s of users what needs to be done?   Thanks Suzy

multiple interfaces

2004-11-24 Thread Koney, Satish
Hi, I have 3 interfaces A,B and C in my application. interface A { public void method1(); public void method2(); } interface B { public void method3(); public void method4(); } interface C extends A,B{ } Now I want C to be exposed as a web service. So

Locking down a WS

2004-11-24 Thread Suzy Fynes
Hi,   If I have a web service deployed with Axis and I want to set up that if the service keeps returning false that it will lock the user out. Is this an axis thing to set up or is more just setting up the server to lock out connects?   Thanks Suzy    

high amount of data causes java.net.SocketException

2004-11-24 Thread Marvin Brach
hi list, if i try to send a class encapsulating a ArrayList wich has the size of 1 to 2 (thats just on my little testsystem, in real situations they should be 20 to 50) String[2] arrays, my program ends with following stacktrace: /- java.io.IOException: java.net.SocketExce

Re: exposing only parts of a Java Bean

2004-11-24 Thread tony . q . weddle
Just a couple of point on this. The JavaBean specification does not requite a getter and setter for each property. A get method implies a readable property (in Axis terms, it means that property can be serialised). A set method implies a modifiable property (in Axis terms, it means the property ca

RE: Axis is logging everything...How can a deployed web service use log4j

2004-11-24 Thread METIN ZAVRAK
Hi, I tried following steps: I wrote a web service named "Login" in which I want to use log4j Thus I wrote following lines in LoginImpl.java: import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; ... private static Logger loginServiceLogger = Logger.getLogger("");

Re: hiding a property from Axis serializer?

2004-11-24 Thread Adrian Perez Jorge
Sheptunov, Bogdan wrote: A "filter all those properties" approach is to create a interface for each of those beans you would like to serialize, but just including getters and setters for those properties you really want to be serialized; then let your bean implement that interface (already do

Re: long vs. Long

2004-11-24 Thread WAJSBERG Julien RD-BIZZ
Tim Dev a écrit : Hi, I have a simple test method: Long foo(Long bar) Java2WSDL maps the Long to xsd:long and the client stub contains the method as: long foo(long bar) How does the WSDL look like ? The parameter and return value should have a "nillable='true'" attribute, otherwise I guess it's