MktMktowsApiService - reuse or create a new one

Anonymous
Not applicable

MktMktowsApiService - reuse or create a new one

Hi. i am using Soap API, and i am using MktMktowsApiService.
On every update call i run on Marketo i create a new object:service = new MktMktowsApiService(new URL(this.endPoint+"?WSDL"), new QName("http://www.marketo.com/mktows/", "MktMktowsApiService"));
Should i reuse this instead? should i create some kind of pooling?

Thanks
 
Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: MktMktowsApiService - reuse or create a new one

I am not sure if I understand. Are you asking about client-side pooling?
Anonymous
Not applicable

Re: MktMktowsApiService - reuse or create a new one

yes. I am creating a connection on each request. is this recommende? should i do that due to the OAUTH or for any other reason?
thanks