I have a web service that I created which works fine in InfoPath 2007, visual studio and a number of other clients. But with InfoPath 2010, I am getting unspecified errors when trying to add the web service as a data source. I can get to the first screen where you enter the method parameters, but then it dies.
Does anyone know of what is different about IP 2010 in how it consumes web services?
How can I find out more information other than "Unspecified Error"?
I should probably mention that this particular method returns an <s:any> in the wsdl. Is this no longer supported in IP 2010?
Here is the a subset of the WSDL:
<wsdl:operation name="TM1View">
<wsdl:input message="tns:TM1ViewSoapIn" />
<wsdl:output message="tns:TM1ViewSoapOut" />
</wsdl:operation>
<wsdl:message name="TM1ViewSoapOut">
<wsdl:part name="parameters" element="tns:TM1ViewResponse" />
</wsdl:message>
<s:element name="TM1ViewResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Results" type="tns:ESViewResults" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ESViewResults" mixed="true">
<s:sequence>
<s:element name="Error" type="tns:ESError" />
<s:any maxOccurs="unbounded" namespace="http://tempuri.org/" />
</s:sequence>
<s:attribute name="Success" type="s:boolean" use="required" />
<s:attribute name="Definition" type="s:string" use="required" />
<s:attribute name="CubeName" type="s:string" use="required" />
</s:complexType>