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
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
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
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).
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,
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
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
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
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
" +
" \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
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
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
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
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
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
"
+ 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
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
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
My question is: is there a better way than this??
Aaron Hamid
Cornell University
19 matches
Mail list logo