Hi there.
I have a strange problem. when i call the function below a couple of times in a row (not sure of its always 2 times), the server responds with a timeout. The first call responds fine.
My code looks like this:
private void TaminoUpdate(TaminoUri uri, XmlDocument doc, string collection)
{
TaminoUserInfo info = new TaminoUserInfo(“User”,“Pwd”);
TaminoConnection connection = new TaminoConnection(“http://MyServer/tamino/MyColl”, info);
connection.Open(TaminoConnectionMode.AutoCommit);
TaminoCommand command =connection.CreateCommand(collection);
TaminoResponse response = command.Update(uri, new TaminoDocument(doc));
//TODO: read and handle the response.
connection.Close();
}
Did I miss out some cleanup-instructions? Any help would be appreceated.
Thanks in advance…
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management