If endpoint in WSDL file is OK, then you can do

PortType  pt;

If you want to specify another endpoint, then 


PortType  pt("http:.....");


Nadir Amra


"ss ak" <[EMAIL PROTECTED]> wrote on 12/04/2008 12:18:00 AM:

> [image removed] 
> 
> client runtime error
> 
> ss ak 
> 
> to:
> 
> axis-c-dev
> 
> 12/04/2008 12:19 AM
> 
> Please respond to "Apache AXIS C Developers List"
> 
> I have created stubs using wsdl2ws.
> It created a client stub implementation code.
> 
> IN the client main,do we call this class...
> 
> porttype varport = new porttype(endpoint);
> 
> is this the way????
> 
> the class created is
> 
> class PortType :public Stub
> {
> 
> public:
>         STORAGE_CLASS_INFO PortType(const char* pchEndpointUri, 
> AXIS_PROTOCOL_TYPE eProtocol=APTHTTP1_1);
>     STORAGE_CLASS_INFO PortType();
> //some methods here
> }
> 
> how do i set teh endpoint or do we call this class with new ????
> 
> Please suggest me what should be done here....
> 
> Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to