Referring to this post http://blogs.msdn.com/b/infopath/archive/2007/01/15/populating-form-data-from-sharepoint-list-views.aspx
I am trying to create an XML Document data connection using a URL but when I enter this URL and click the next button I get the error below:
The file or folder name
https://contoso.test.net/subsite/_vti_bin/owssvr.dll?Cmd=Display&List={32364DED-7FE3-4276-837C-F2AC62C04B81}&View={804CC528-34B2-4473-89DB-C4E766CACC95}&XMLDATA=TRUE&NOREDIRECT=TRUEcontains characters that are not permitted. Enter different name.
In thing the issue is not with URL but with XML returned by the URL. I tried this URL in browser and get below XML –
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly' rs:CommandTimeout='30'>
<s:AttributeType name='ows_ID' rs:name='ID' rs:number='1'>
<s:datatype dt:type='i4' dt:maxLength='4' />
</s:AttributeType>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row ows_ID='1247' />
<z:row ows_ID='1246' />
</rs:data>
</xml>