k2 infopath problem (loading the XML Schema for the form)


Badge +5
well, i have an infopath form connected to a web service...the form before i attach it to the k2 process works fine...but after i attaching it to the k2 process, once i open the form, an error message appears saying:
There was an errror while loading the XML Schema for the form.
/schema/attributes[1][@name = 'Name']/complexType[1]. Element 'xsd:complexType' is not llowed in this context.

Please advice ASAP

4 replies

Badge +11
A support ticket was opened for this problem. Please see below response:

After some troubleshooting and changes, the permissions error were replaced by the following error:
"Form template: http://cabad/sites/cou/DocLib/Forms/template.xsn
InfoPath cannot open the selected form. There was an error while loading the XML Schema for the form.
/schema/attribute[1][@name = 'Name']/complexType[1]
Element 'xsd:complexType' is not allowed in this context."

The InfoPath form could not be opened by InfoPath after it was changed by the K2 InfoPath Process wizard.

This is a known issue in K2.net 2003 SP1a and I've asked the client to upgrade to K2.net 2003 SP2.

Response from client:
It seems the form now working fine after upgrading to SP2.
Badge +9
Hi,

Can you please confirm if the response from Ockert resolved your issue?
Badge +5
Dears,
Ockert response has resolved this problem perfectly.
thanks
Badge +9
Thank you for the reply.

Reply