Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

Get Resource With All Data Component from NSWebService returns a timeout error WorkFlow 7.1

Created: 18 Apr 2013 • Updated: 18 Apr 2013 | 2 comments
QuietLeni's picture

Dear All,

I am using a Workflow 7.1 SP2 Generator to interact with the NSWebService, like this video suggests:

http://www.screencast.com/t/CutBAnIpH

However, when I call the "Get Resource With All Data Component", asking for all information that is linked to a computer, it times out EVERY TIME! I am trying to get the information in one of the Data Classes.

The Stack Trace is:

at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)

at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)

at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)

at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)

at System.Net.ConnectStream.WriteHeaders(Boolean async)

at System.Net.HttpWebRequest.EndSubmitRequest()

at System.Net.Connection.CompleteStartRequest(Boolean onSubmitThread, HttpWebRequest request, TriState needReConnect)

at System.Net.Connection.SubmitRequest(HttpWebRequest request)

at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName)

at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)

at System.Net.HttpWebRequest.GetResponse()

at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)

at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

at ResourceModelDynamicService.ResourceModelService.GetResourceWithAllData(Guid resourceGUID)

at ResourceModelDynamicService.NSRMGetResourceWithAllDataComponent.Run(IData data)

at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)

at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)

Other calls work, but this one does not.

I have tried increasing the Timeout from 30000 to 300000, but this has not helped.

Anyone got any ideas what might be going wrong? I have talked to Mr. Google, Mrs. SymWise and Miss Altirigos and Master Connect and no one has posted anything like this...

Kindest regards,

QuietLeni

Operating Systems:

Comments 2 CommentsJump to latest comment

reecardo's picture

Are you specifying to bring back data for one dataclass, a few dataclasses, or all dataclasses?

I know with some of the handcoded WF Resource components, you can explicitly bring back only the dataclasses you're interested in. This definitely helps with the timeout, esp. a resource type like a computer, which is a beast.

QuietLeni's picture

All, as this one does not include the ability to just return one data class...

What is the point of an Asset Management Solution that needs excessive management? Let me help you.