Re: Axis web services - multi-threaded ??

2004-02-17 Thread Aaron Hamid
Doesn't that create a new object per request? I thought "Application" scope allows the service to persist accross many requests. Anyway, regardless, if you are using HTTP pipelining, then there is a good chance whatever calls are queued on your pipeline will be issued sequentially (that is the

Re: Ignoring Elements in bean deserialization

2004-01-30 Thread Aaron Hamid
uot; value. Aaron Hamid CIT/I&D Cornell University Phil Shrimpton wrote: Hi, We are using a Webservice from a third party using Axis at our end. The Third-Party keeps adding elements to complexTypes in methods we are using, which causes our software to break (Invaild Elemenet) during dese

Dynamic type serialization

2004-01-23 Thread Aaron Hamid
Hi all, Dims, Tom, Glen, I am {aaron} from Freenode. Anyway, I am having problems implementing "dynamic type" serialization under Axis. I can probably best explain what I mean with an example: Say we have some sort of opaque complex type as input and output messages to some soap call. Let

Re: circular references

2003-12-26 Thread Aaron Hamid
I can't answer for Axis, but this is one of the problems with XML being a unidirectional tree. The only way to do this in XML (that I am aware of) is use 'id' attributes and then refer to those id attributes in subsequent tags (you'll note this problem is similar in object-relational mapping).

Re: ...getting null values

2003-12-12 Thread Aaron Hamid
http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/server/ServiceLifecycle.html#init(java.lang.Object) & http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/server/ServletEndpointContext.html Thanks Srinivas -Original Message----- From: Aaron Hamid [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: ...getting null values

2003-12-11 Thread Aaron Hamid
generated source). If you want your *Impl class to implement it, you must implement it in your Skeleton then manually call down to the implementation. My expectation was that ServiceLifecycle would apply to the *Impl class, and I would would vote to change this behavior so that is the case. Aaron

Re: type mapping problems at the client with handlers

2003-12-10 Thread Aaron Hamid
What are you calling 'setClientHandlers' on? I have never heard of this method. I set client handlers by using the HandlerRegistry. Aaron Sunil Iyengar wrote: Hi Axis users, I have a complex type of web service where the client sends a complex type (bean) and the server returns a string. All wo

Re: Authentication

2003-12-04 Thread Aaron Hamid
is for servlet container security of the type that I have described in my original message? -Original Message----- From: Aaron Hamid [mailto:[EMAIL PROTECTED] Sent: 04 December 2003 13:20 To: [EMAIL PROTECTED] Subject: Re: Authentication - Could anyone help me plzzz I can't answer why th

Re: Authentication - Could anyone help me plzzzzzzz

2003-12-04 Thread Aaron Hamid
I can't answer why the admin app would be failing. But if you want application-level security you are basically on your own. You can try to use the ws-security package, or simply build client and server handlers which know how to generate and decode your form of authentication (in my case, I

Re: Client handler

2003-12-04 Thread Aaron Hamid
" + " \n" + " \n" +*/ ""; EngineConfiguration config = new XMLStringProvider(wsdd); AxisClient client = new AxisClient(config); service.setEngine(client); This would also allow for more than one axis client configuration (if I underst

Re: soap over tcp

2003-12-01 Thread Aaron Hamid
Do you know if is ever emitted on the client? For debugging purposes, read the stream entirely into a byte array and then print the contents out as a string. The parser may either not be getting the final tag (I doubt this, the flush() on client side should send it), OR it may be default have

Re: RE : axis and tomcat security realm

2003-11-27 Thread Aaron Hamid
Or just set the |*PASSWORD_PROPERTY <../../../javax/xml/rpc/Stub.html#PASSWORD_PROPERTY>*| and |*USERNAME_PROPERTY <../../../javax/xml/rpc/Stub.html#USERNAME_PROPERTY>*|on your stub with _setProperty() Aaron Olivier RICHAUD wrote: Tony, Get the message context (Call.getMessageContext()) on y

Re: http headers and handlers

2003-11-26 Thread Aaron Hamid
d a modified HttpSender and I think my problem is to register this one dynamically. If you could send me the example code, that would be great- thanks, benjamin By the way, I forgot to mention, if you are sending some "official" HTTP headers, Axis will forcibly strip them. The only solution for

Re: http headers and handlers

2003-11-26 Thread Aaron Hamid
uld send me the example code, that would be great- thanks, benjamin By the way, I forgot to mention, if you are sending some "official" HTTP headers, Axis will forcibly strip them. The only solution for now is to either modify the distributed HTTPSender or create your own modified HTTPS

Re: http headers and handlers

2003-11-26 Thread Aaron Hamid
lustrating this dynamic registration). See this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21812 Aaron Aaron Hamid wrote: Implement a javax.xml.rpc.handler.GenericHandler and register it on your client (if sending headers) or server (if receiving headers). On the client side y

Re: http headers and handlers

2003-11-26 Thread Aaron Hamid
" + myheadervalue); return true; } Note that this requires usage of specific internal Axis classes/APIs (e.g. HTTPConstants properties set in the context), so it will probably not be portable (although I imagine other frameworks will provide similar mechanisms). I can provide sample cod

Re: WS-security,SAML,XACML and co.

2003-11-20 Thread Aaron Hamid
ason, so I gave up on that. The whole thing can be thrown over SSL so that should provide your on-wire safety. Aaron Hamid CIT/I&D Cornell University Rudi Verago [vlain] wrote: I need user/call authentication in a swing application. Beginnig I want to use SAML and SSO but opensaml im

Service init params

2003-11-18 Thread Aaron Hamid
or in a properties file in the classpath? (really, the whole concept of deployment configuration becomes a real tedious hassle if you have to define things in several different places and go through hoops just to get your service deployed) Aaron Hamid CIT/I&D Cornell University

How can I easily add a header?

2002-12-04 Thread Aaron Hamid
My question is: is there a better way than this?? Aaron Hamid Cornell University