Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta BPM.NET 2006 » Skelta BPM.NET 2006 » Integration » Invoke Web Service & XmlVariables


Invoke Web Service & XmlVariablesExpand / Collapse
Author
Message
Posted Wednesday, September 08, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, November 21, 2011
Posts: 11, Visits: 66
Hi

I have a web service that has a response as per Web Service 1 Output.doc attachment that I would ideally like to put straight into the XmlVariable, as designed per the attachment,but when the Invoke Web Service runs, I get a "Root Element Missing" error.

I have tried returning XML within a string from the Web Service as per Web Service 2 Output.doc attachement into a different Xml Variable as per the attachment. This runs without error, however, the XmlVariable does not seem to get populated.

Do you have any guidance as to the using the Invoke Web Service and XmlVariables, what can and can't be done. I have looked at the help files, but it is not really clear.

Cheers

Jon

 

  Post Attachments 
Web Service 1 Output.doc (145 views, 139.00 KB)
Web Service 2 Output.doc (124 views, 124.00 KB)

Post #2056
Posted Wednesday, September 08, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, January 12, 2012
Posts: 93, Visits: 121
Hi,

I got a cool document which might help you to achieve your scenario, you may give try by referring this doc (attached "Update an xml variable returned by the Web Service.doc").

Cheers, Sri

  Post Attachments 
Update an xml variable returned by the Web Service.doc (188 views, 348.00 KB)

Post #2057
Posted Wednesday, September 08, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, November 21, 2011
Posts: 11, Visits: 66
Hi Sri

Many thanks for the response and the document. I have tried the scenario outlined in the document, but I still get the below error when it runs the Web Service and tries to put the data in the XmlVariable. If I out the response into a normal string variable it works, just when I try an XmlVariable does it fail. 

Exception occured while executing the action GetMMTMessage of type InvokeWebService for application Faraday, workflow .\nSystem.Xml.XmlException: Root element is missing.

at Workflow.NET.Engine.RunTime.PerformActionThread(Object Params)

Any ideas why this would not work?

Cheers
Jon

 

 

Post #2059
Posted Wednesday, September 08, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, January 12, 2012
Posts: 93, Visits: 121
Okay.. Can you share your webservice method, workflow definition xml file in order to have a glance & then reply. 

And a quick suggestion. Probably you might get in touch with Skelta Support (support@skelta.com) as well since they might be able to troubleshoot/throw some light on this very swiftly.

Cheers, Sri

Post #2060
Posted Thursday, September 09, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, November 21, 2011
Posts: 11, Visits: 66
Hi Sri

Ok, I will raise with support. Thanks for your help.

Cheers

Jon

Post #2062
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 3:43am

 
Execution: 0.109.11 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company