Problems with Auto Start E-mail
Updated: 21 May 2010 | 2 comments
I have set up a workflow that watches a POP mailbox to start the workflow. When testing the workflow in the debugger this works great. I deployed it to my server and started testing by sending an e-mail to the Pop box, but nothing happens. Is there a way to see what's going on with the process?
I do not have the Advanced version so I don't have the process manager.
discussion Filed Under:
Comments
After reading the user's
After reading the user's guide I did the following.
* From the Workflow Server, in IIS, navigate to your workflow Web site.
* In the right pane, right-click WorkflowManagementService.asmx and select
Browse.
I see the option to track the status so I click the link and I see the following.
WorkflowManagementService
Click here for a complete list of operations.
TrackStatus
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
workflowTrackingId:
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /PrismNameChangeR1/WorkflowManagementService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "www.transparentlogic.com/TrackStatus"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TrackStatus xmlns="www.transparentlogic.com">
<workflowTrackingId>string</workflowTrackingId>
</TrackStatus>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TrackStatusResponse xmlns="www.transparentlogic.com">
<TrackStatusResult>
<WorkflowTrackingID>string</WorkflowTrackingID>
<StatusItems>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
</StatusItems>
</TrackStatusResult>
</TrackStatusResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /PrismNameChangeR1/WorkflowManagementService.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<TrackStatus xmlns="www.transparentlogic.com">
<workflowTrackingId>string</workflowTrackingId>
</TrackStatus>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<TrackStatusResponse xmlns="www.transparentlogic.com">
<TrackStatusResult>
<WorkflowTrackingID>string</WorkflowTrackingID>
<StatusItems>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
</StatusItems>
</TrackStatusResult>
</TrackStatusResponse>
</soap12:Body>
</soap12:Envelope>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /PrismNameChangeR1/WorkflowManagementService.asmx/TrackStatus HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
Content-Length: length
workflowTrackingId=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<WorkStatus xmlns="www.transparentlogic.com">
<WorkflowTrackingID>string</WorkflowTrackingID>
<StatusItems>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
<WorkStatusItem>
<WorkflowTaskID>string</WorkflowTaskID>
<ComponentName>string</ComponentName>
<ComponentDescription>string</ComponentDescription>
<ComponentID>string</ComponentID>
<EventType>string</EventType>
<Description>string</Description>
<EscalationSequenceNumber>int</EscalationSequenceNumber>
<FinishPath>string</FinishPath>
<When>dateTime</When>
</WorkStatusItem>
</StatusItems>
</WorkStatus>
Update
I found the log files in the logging and confuguration tool and I see this error. Any ideas on how to resolve this?
Application Name: LogicBase.ServerExtensions.exe
Process ID: 2868
Date :Jun-11-2009 09:11:28 AM
Log Level :Error
Log Category :AbstractWebServiceURLInvoker
Machine Name:
Message:
(WebServiceAutoInvokeDelegate) Error trigging service at http://localhost/generalrequestworkflow/AutoInvoke... System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(Stream inStream)
at LogicBase.Framework.DynamicProxy.GetServiceDescription()
at LogicBase.Framework.DynamicProxy.AddMethod(DynamicWebMethod WebMethod)
Would you like to reply?
Login or Register to post your comment.