Workflow Soluiton

 View Only
  • 1.  Web Service Caller

    Posted Mar 19, 2009 04:08 PM

    Hi Folks..

    I'm trying to use the Webservice caller to input some data into a process but I can't seem to get it to work. Am sure it's my lack of knowledge.

    I have a listener set up which picks up an email, strips out the data and then makes use of the Web Service caller to push that data into a process. The Web Service Caller has the URL of the running process.. this is where I get a little confused. How doe the running process know to accept and handle the data I'm sending? 

     

    I can't seem to figure out how to manage this part .. The listener is working fine and sends the data via the Caller, the running process gets initiated but then fallls over with the following error:

    Log Message : Cannot create Workflow Task via Proxy: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error Saving ProfileAttributeValues ---> Exception has been thrown by the target of an invocation. ---> could not save object ProfileDefaultWorkflowProfile ---> count not insert or update. insert error message: Invalid object name 'ObjectTypeMappingStorage'.

    update error message: Invalid object name 'ObjectTypeMappingStorage'. ---> Invalid object name 'ObjectTypeMappingStorage'.

    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

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

    at LogicBase.Core.Ensemble.WorkflowTasks.WorkflowTasks.AddTask(String sessionID, Task task, TaskResponse[] responses, TaskAssignment[] assignments, Byte[] attributeValues, BadAssignmentOption option)

    at LogicBase.Components.Default.TaskSources.EnsembleTaskSource.DoTaskAssignment(TaskAssignmentStructure structure, IData data, BadAssignmentOption option)

     

    I'm guessing I need to set something up to accept the data sent.. I just can't figure out what component will help me do this.    Thanks in advance!



  • 2.  RE: Web Service Caller

    Posted Apr 15, 2009 01:30 PM
    A project has to be published as a webservice before it can accept a webservice call into it.  It sounds like you are trying to pass data into a running Workflow project via a webservice call, which isn't quite the way it works.  More commonly you would kick off a workflow via a webservice call, passing it input parameter(s), getting back output parameter(s), etc.

    Once you have an actual webservice published (whether it's your project or just a webservice that's out there on the internet waiting to be called), then you can point to that webservice via the Web Service Caller Generator by pointing to the .asmx URL directly or to its WSDL.  Write back if you need further clarification...