You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Nadir Amra <am...@us.ibm.com> on 2006/02/28 07:50:02 UTC

Question on C-binding APIs

Anyone know why in cbindings/client/stubC.cpp the handle that is returned 
is a new class:

AXIS_CPP_NAMESPACE_START
class StubC : Stub
{
public :
    StubC(const char *ep, AXIS_PROTOCOL_TYPE pt):Stub(ep,pt) {}
    virtual ~StubC() {}
    Call* getCallStubC() { return getCall(); }
    void applyUserPreferencesStubC() { applyUserPreferences(); }
    void setSOAPHeadersStubC() { setSOAPHeaders(); }
};
AXIS_CPP_NAMESPACE_END

instead of simply instantiating a Stub object directly?

Nadir K. Amra