S
Scott
I am trying to use the webservice of a product called Incuity in Infopath,
however, when I perform a submit I get the following error:
'xsd' has no declared namespace.
I have looked all over the web, in the Infopath docs, etc. but can find
nothing that helps me to correct the problem.
the webservice in question takes an input of a string and will return
something like the folllowing:
<?xml version="1.0" encoding="utf-8" ?>
- <ItemData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Cost Per Pallet"
Description="Key Performance Indicator for cost management" ItemTypeId="509"
UniqueId="576" SecurityDescriptorData="AgcBDwIPAwkEDwULBgEHAQ=="
IsDeleted="false" CreatedOn="633114015575203093"
ModifiedOn="633114015575203093" ParentId="575" MappingItemId="0"
RequestHandlerId="0" StorageMode="SystemMeta"
xmlns="http://www.incuity.com/schema/2005/11/incuity">
- <Properties xmlns="http://www.incuity.com/schema/2005/11/incuity/metamodel">
- <Property Name="Metric">
<Value xsi:type="xsd:int">225</Value>
</Property>
- <Property Name="Meaning">
<Value xsi:type="xsd:string">The average cost per pallet over multiple
batches</Value>
</Property>
- <Property Name="Drill-down Report">
<Value xsi:type="xsd:int">563</Value>
</Property>
- <Property Name="NormalMessage">
<Value xsi:type="xsd:string">Value is normal</Value>
</Property>
- <Property Name="Unit">
<Value xsi:type="xsd:string">$</Value>
</Property>
- <Property Name="Min">
<Value xsi:type="xsd:double">0</Value>
</Property>
- <Property Name="Max">
<Value xsi:type="xsd:double">1000</Value>
</Property>
- <Property Name="TargetValue">
<Value xsi:type="xsd:double">540</Value>
</Property>
- <Property Name="HiLimit">
<Value xsi:type="xsd:double">560</Value>
</Property>
- <Property Name="HiMessage">
<Value xsi:type="xsd:string">Cost is higher than normal</Value>
</Property>
- <Property Name="HiAction">
<Value xsi:type="xsd:string">Reduce reject count</Value>
</Property>
- <Property Name="HiHiLimit">
<Value xsi:type="xsd:double">600</Value>
</Property>
- <Property Name="HiHiMessage">
<Value xsi:type="xsd:string">Cost is unacceptably high</Value>
</Property>
- <Property Name="HiHiAction">
<Value xsi:type="xsd:string">Stop production and address the underlying
issue</Value>
</Property>
</Properties>
</ItemData>
Note the specific properties that are returned may vary from request to
request, but I am hoping to be able to build a form based on common
properties.
Any ideas you have would be great.
however, when I perform a submit I get the following error:
'xsd' has no declared namespace.
I have looked all over the web, in the Infopath docs, etc. but can find
nothing that helps me to correct the problem.
the webservice in question takes an input of a string and will return
something like the folllowing:
<?xml version="1.0" encoding="utf-8" ?>
- <ItemData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="Cost Per Pallet"
Description="Key Performance Indicator for cost management" ItemTypeId="509"
UniqueId="576" SecurityDescriptorData="AgcBDwIPAwkEDwULBgEHAQ=="
IsDeleted="false" CreatedOn="633114015575203093"
ModifiedOn="633114015575203093" ParentId="575" MappingItemId="0"
RequestHandlerId="0" StorageMode="SystemMeta"
xmlns="http://www.incuity.com/schema/2005/11/incuity">
- <Properties xmlns="http://www.incuity.com/schema/2005/11/incuity/metamodel">
- <Property Name="Metric">
<Value xsi:type="xsd:int">225</Value>
</Property>
- <Property Name="Meaning">
<Value xsi:type="xsd:string">The average cost per pallet over multiple
batches</Value>
</Property>
- <Property Name="Drill-down Report">
<Value xsi:type="xsd:int">563</Value>
</Property>
- <Property Name="NormalMessage">
<Value xsi:type="xsd:string">Value is normal</Value>
</Property>
- <Property Name="Unit">
<Value xsi:type="xsd:string">$</Value>
</Property>
- <Property Name="Min">
<Value xsi:type="xsd:double">0</Value>
</Property>
- <Property Name="Max">
<Value xsi:type="xsd:double">1000</Value>
</Property>
- <Property Name="TargetValue">
<Value xsi:type="xsd:double">540</Value>
</Property>
- <Property Name="HiLimit">
<Value xsi:type="xsd:double">560</Value>
</Property>
- <Property Name="HiMessage">
<Value xsi:type="xsd:string">Cost is higher than normal</Value>
</Property>
- <Property Name="HiAction">
<Value xsi:type="xsd:string">Reduce reject count</Value>
</Property>
- <Property Name="HiHiLimit">
<Value xsi:type="xsd:double">600</Value>
</Property>
- <Property Name="HiHiMessage">
<Value xsi:type="xsd:string">Cost is unacceptably high</Value>
</Property>
- <Property Name="HiHiAction">
<Value xsi:type="xsd:string">Stop production and address the underlying
issue</Value>
</Property>
</Properties>
</ItemData>
Note the specific properties that are returned may vary from request to
request, but I am hoping to be able to build a form based on common
properties.
Any ideas you have would be great.