axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadir Amra <a...@us.ibm.com>
Subject Re: client runtime error
Date Thu, 04 Dec 2008 14:16:00 GMT
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" <ssak22@gmail.com> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message