www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta Workflow Net » Skelta Workflow Net » Application Development » soapclient samples


soapclient samplesExpand / Collapse
Author
Message
Posted Tuesday, March 20, 2007
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Skelta Workflow/BPM Net
Last Login: Friday, March 30, 2007
Posts: 1, Visits: 6
I am looking for a example on how to use soapclient.ExecuteWorkflow. I have found the following in API documentation,

            SoapClient client=new SoapClient();
            client.Url="http://localhost/skeltawebservice/workflowclient.asmx";
            AuthHeader header=new AuthHeader();
            header.UserName="user";
            header.Password="password";
            client.AuthHeaderValue=header;
            int i=client.ExecuteWorkflow("Default","Default",1,1,xmlcontent);

However, I am missing what is xmlcontent. Is there a sample that explains what it is?

Thanks

Post #76
Posted Tuesday, March 20, 2007
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Friday, February 22, 2008
Posts: 25, Visits: 61
Hi

If you would like to pass any application specific data to workflow, you can pass the same as xml content in execute method.

eg:

            client.AuthHeaderValue=header;
            int i=client.ExecuteWorkflow("Default","Default",1,1,"<Test>4</Test>");

Then in the workflow designer's start action, you can use the proper xpath expression to get the same value and assign to content variables.

Eg: In the above scenario it is //Test

Regards,

Team Skelta

Moderator

Post #77
« 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:05pm

 
Execution: 0.156.15 queries.Compression Enabled.

Copyright © 2002 - 2007 Skelta Software. All rights reserved. Tel: 1 (703) 229-6732 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company