FORUMS


Discussion about Intalio|BPP Community Edition.


Back to General Questions (0 viewing) 
Go to bottom Favoured: 0
TOPIC: Init process using TaskManagmentService failure.
Sep 18, 2008 3:46 pm
21 posts
Junior Boarder

Karma: 0  
I am trying to start workflow using TaskmanagmentService

Here is the code:
TaskManagementServices services = new TaskManagementServices();

initRequest initReq = new initRequest();
initReq.participantToken = (string)Session["token"];
initReq.taskId = txtInit.Text;

initRequestInput input = new initRequestInput();
input.Any = new XmlElement[1];
XmlDocument doc = new XmlDocument();
string xml = "<output xmlns:xxforms='http://orbeon.org/oxf/xml/xforms' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:f='http://orbeon.org/oxf/xml/formatting' xmlns:fe='http://example.com/Forms/AddCreditApplication/xform' user='demo/employee'>";
xml += "<Name_and_Surname_pasted72 />";
xml += "<Amount_pasted70 />";
xml += "<Duration_pasted68 />";
xml += "<txtName>Oleg1</txtName>";
xml += "<txtAmount>3123</txtAmount>";
xml += "<txtDuration>123</txtDuration>";
xml += "<Upload filename='' mediatype='' upload-id='Upload' /><Application_pasted58 /></output>";
doc.LoadXml(xml);
input.Any[0] = doc.DocumentElement;
initReq.input = input;

okResponse ok = new okResponse();
ok = services.initProcess(initReq);

My InitRequest is equal to Xforms request, that successed. What I am doing wrong ?
 
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Init process using TaskManagmentService failure.
oleg.lemeshenko 2008/09/18 15:46
    thread link
thread linkthread link Re:Init process using TaskManagmentService failure.
hellonico 2008/09/19 00:51
Go to top Post Reply
get the latest posts directly to your desktop

Top Posters

Last 30 days

  • estebanf (39)
  • madhav.vodnala (21)
  • kevin.fernandez (14)
  • scott.hebden (13)
  • jaouhar.ahmed (9)
  • jigonzalez@vertice.es (8)
  • federico.baroni (8)
  • marcelr (8)
  • ianoboa (7)
  • spyridoula.markopoulou (7)

All time

  • Antoine (2754)
  • Shivanand (1194)
  • cshekhar (933)
  • psq (797)
  • metabyte (415)
  • jag (393)
  • dfrench (367)
  • arnaud (329)
  • jalateras (325)
  • talita.pezzi (254)

Show last 4 hrs - 12 hrs - 24 hrs

Copyright © Intalio, 1999-2010.