Re: SOAP response/request



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 !!
.



Relevant Pages

  • Re: Moving mail items based on Subject text
    ... Client-only requires Outlook to be running. ... Assistant rules are server-side, I believe. ... can be written on my OL client that works somewhere other than client-side ... need to create a rule on the public folder using the Folder Assistant. ...
    (microsoft.public.exchange.admin)
  • Re: Cant send back null class reference as SOAP Header?
    ... State is maintained on the server (no ... the client actually maintains the key to the state ... If they then retry the request, the flag won't be sent, will it? ... The header is defined as Direction.InOut on every ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: attn. buzzy...red x....first draft....
    ... >Some firewall admins ... I don't know of any client request header which encodes the clients email ... Blocking 1st party http referrers does not protect privacy in any way shape ...
    (uk.politics.misc)
  • Re: Will the real Tulio Prego please stand up
    ... "This line is added to the header of a posted article by the server. ... qualified domain name of the client host posting the article. ... your ISP, and it never reaches the internet at-large. ...
    (rec.music.makers.squeezebox)
  • RE: Comet implementation in WCF
    ... As for the WCF Comet service scenario you mentioned, ... So far based on my research, at server-side, WCF method can use ... Microsoft MSDN Online Support Lead ... I am developing a WCF Comet web service, where client requests gets queued ...
    (microsoft.public.dotnet.framework.aspnet.webservices)