axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <>
Subject Re: Regarding Call class API
Date Mon, 31 Jan 2005 09:22:20 GMT
Hi James,
    In fact I am not the original auther of this API. However, going
through the code, I too agree that there is no real use of API 'c' as
you have pointed out. Better to get rid as it just add to the burden.

    Opening up the Call class API was what was done in the early
stages. Now everything is ideally done at Stub class level as far as
user interfacce is conderned. Hence, with C++ in mind, users do not
need access to Call class. However, Stub uses Call API, and
getTransport() is one used by Stub. At the moment, with C++ stubs, we
can safely hide Call from user, hence no problem of having
getTransport() in API.


On Mon, 31 Jan 2005 04:25:52 +0530, James Jose <> wrote:
> Hi Samisa, 
>    I am working on Call class APIs and having some doubt 
>   1. createHeaderBlock APIs 
>         In Call class there are 3 APIs to create a SOAP Header. 
>          a. IHeaderBlock* AXISCALL createHeaderBlock(AxisChar
> *pachLocalName, AxisChar *pachUri); 
>          b. IHeaderBlock* AXISCALL createHeaderBlock(AxisChar
> *pachLocalName, AxisChar *pachUri, AxisChar *pachPrefix);             
>                  c. IHeaderBlock* createHeaderBlock(); 
>                       createSOAPHeaderBlock() APIs in stub class make use of
> 'a' and 'b'  to create a SOAPHeader. But 'c' is never used.           
>             So what is the idea behind having such an API in call class/
> Where this API is used?. 
>   2. SOAPTransport* getTransport() { return m_pTransport; } 
>        I am trying to write a test case for getTransport().         
>        Header File for SOAPTransport is not in the include directory.   So
> how can I write a client which uses this API  ?
> Thanks & Regards
> James
> --------------------------------------------------
> James Jose
> Messaging Clients Team, WMQDDC
> IBM Software Labs, India
> Direct: 91-80- 25094331  Ext :2331
> E-mail:

View raw message