axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: Ability to add custom headers to SOAP messeges, through the stub
Date Tue, 25 May 2004 04:56:16 GMT
Damitha,
   I am working on a stub class. However I am facing problems when it comes to dealing with
trasport as I mentioned in my earlier email. I am fixing those problems while I am building
the
Stub class.

Samisa...

--- damitha@opensource.lk wrote:
> Hi Samisa,
> 
> > The generated stub is a flat class, meaning that it is a single class
> > doing everything. I think it
> > will be a good idea to abstract things to a base Stub class, which would
> > define the base API at
> > stub level. Let the class generated by wsdl2ws tool inherit from the base
> > Stub class and add only
> > wsdl specific stuff to the generated class.  This way it would make it
> > easy to add functionality
> > at stub level.
> >
> > This base Stub class should consist of an API where it would allow:
> >     - get/set trasport properties e.g. HTTP headers
> >     - get/set SOAP headers
> >     - get/set endpoint
> >     - get/set proxy  to tunnel through a proxy server(optinal)
> 
> Idea of abstracting a base class that do certain tasks seems to be
> very good. That also reduces the burden of the tool
> 
> damitha
> 
> >
> >
> > --- John Hawkins <HAWKINSJ@uk.ibm.com> wrote:
> >>
> >>
> >>
> >>
> >> Hi Roshan,
> >>
> >> could you get back to me please?
> >>
> >> It's really hard for me to get an idea of what the final interface is
> >> going
> >> to be if we keep talking about methods and not Objects.
> >>
> >> thankyou very much,
> >> John.
> >>
> >>
> >>
> >>
> >>
> >>              John
> >>              Hawkins/UK/IBM@IB
> >>              MGB
> >> To
> >>                                        "Apache AXIS C Developers List"
> >>              20/05/2004 15:49          <axis-c-dev@ws.apache.org>
> >>                                                                         cc
> >>
> >>              Please respond to
> >> Subject
> >>               "Apache AXIS C           Re: Ability to add custom headers
> >>              Developers List"          to SOAP messeges, through the
> >> stub
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Let me get this straight:
> >>
> >> Today I can write a client who can add things to the SOAP header?
> >>
> >> You are proposing adding a method which does not involve a handler? This
> >> method being the one below: setSoapHeader (SoapHeader*
> >> pSoapHeader).
> >>
> >> Which Object is this on? The Call object?
> >>
> >>
> >> John
> >>
> >>
> >>
> >>
> >>
> >>              Roshan
> >>              Weerasuriya
> >>              <roshan@opensourc
> >> To
> >>              e.lk>                     "Apache AXIS C Developers List"
> >>                                        <axis-c-dev@ws.apache.org>
> >>              20/05/2004 06:47
> >> cc
> >>
> >>                                                                    Subject
> >>              Please respond to         Ability to add custom headers to
> >>               "Apache AXIS C           SOAP messeges, through the  stub
> >>              Developers List"
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Hi all,
> >>
> >> I am planing to work on "lProviding an API at the client stub to simply
> >> add
> >>
> >> headers to SOAP messege". Currently there is a mechanism in Axis C++ to
> >> add
> >>
> >> SOAP Headers through Handlers written by the user, i.e writing and
> >> configuring a Handler to add SOAP Headers. One possible way of doing
> >> this
> >> is that:
> >> Provide a function at stub level such as setSoapHeader (SoapHeader*
> >> pSoapHeader).
> >>
> >> I would appreciate any of your ideas/comments on this matter.
> >>
> >> rgds,
> >> Roshan
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Domains  Claim yours for only $14.70/year
> > http://smallbusiness.promotions.yahoo.com/offer
> >
> >
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Mime
View raw message