Hi Guys,
I got stuck in this issue when I try to create a service instance on Dynamic xml service using very simple "Emplyee.xsd" sample provided on the market.
I get the following error.
"Provided schema set is empty" xml cannot be generated
Hi Guys,
I got stuck in this issue when I try to create a service instance on Dynamic xml service using very simple "Emplyee.xsd" sample provided on the market.
I get the following error.
"Provided schema set is empty" xml cannot be generated
Hi Nathan,
I can't seem to find the project on the market that you're referencing, could you provide a link so I can try it on my end?
Regards,
Mike
Hi,
Please find the url.
http://community.k2.com/t5/K2-blackpearl/DynamicXMLService-Example-of-Using-XML-Proprties/ba-p/841
Hi Guys,
I found the actual issue.
The following line is failing in Dynamic xml generation.
SourceCode.Workflow.Common.Xml.XmlSampleGenerator gen = new SourceCode.Workflow.Common.Xml.XmlSampleGenerator(@"C:TempqadschemaPurchaseOrder.xsd", qname);
If I am not wrong the above code should be using the XMLSampleGenerator from the Microsoft sample provided in the following url.
http://msdn.microsoft.com/en-us/library/aa302296.aspx authored by Priya Lakshminarayanan.
I used Microsoft xml generator for the simple helloworld (Employee/PurchaseOrder) xml. The following line is working fine.
XmlSampleGenerator generator = new XmlSampleGenerator(@"C:TempqadschemaPurchaseOrder.xsd", qname);
There is something wrong in SourceCode.Workflow.Common.Xml.XmlSampleGenerator or it is not being used in a way , it needs to be.
I will raise the ticket with K2 as well.
Thanks
Nathan
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.