Re: SOAP response/request
- From: plork123@xxxxxxxxxxx (plork)
- Date: 22 Apr 2005 02:34:36 -0700
plork123@xxxxxxxxxxx (plork) wrote in message news:<e175ba1d.0504210604.266e2436@xxxxxxxxxxxxxxxxxx>...
> Hello
>
> Can anyone help me with this one
>
> I have a client that creates a SOAP header.
>
> I have some server-side code that creates a string value.
>
> Can someone tell me how I pass back the string value to my client SOAP header.
>
> I'm using Apache AXIS
>
> Many Thanks
>To manipulate the headers, you could use Handlers. These are used
alot
>for security operations like encryption. They can be used on
either/or
>the client and server. You don't mention your engine, but the sun
>Handler Interface is described in the JWSDP tutorial and is also
>supported in Axis.
Hello,
That's what i want
What's the best way of writing the handlers - i have a
SOAPHandler.jaav and a LoginHandler.java file
I think l i'm missing something - well i must be think cos i'm not
understanding this
Most of the code i'm writing at the moment is server-side, so i
haven't done any of the wsdl/xml etc.. files yet
My client will create a header, it will then go off to my loginhandler
passing parameters username and password, validate them with backend
db table. Then server-side will return a token value - just a string,
and put the token details into a token table on the db. Then i put
the value of the token in the client-side header. What i want to do
next is for every call my client makes i need to pass the token back
to the handlers to make sure it is valid
This is where i am struggling - how to i set the token in the header
to begin with and then how do i pass the token value back to the
handlers to check it's valid , if it isn't i nedd to produce another
token value and send this back to the client header and update it
I'm using eclipse, tomcat , apache axis
Thanks for any help - struggling big time !!
.
- Follow-Ups:
- Re: SOAP response/request
- From: iksrazal
- Re: SOAP response/request
- References:
- SOAP response/request
- From: plork
- SOAP response/request
- Prev by Date: freeing memory
- Next by Date: Crash in CreateJavaVM after loding libjvm.so(jre1.4) from C app dynamically...
- Previous by thread: Re: SOAP response/request
- Next by thread: Re: SOAP response/request
- Index(es):
Relevant Pages
|