Skip to main content
January 13, 2015
Question

MktMktowsApiService - reuse or create a new one

  • January 13, 2015
  • 2 replies
  • 791 views
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
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

January 13, 2015
I am not sure if I understand. Are you asking about client-side pooling?
January 14, 2015
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