D
Dan J
InfoPath incorrectly reports "InfoPath cannot use the selected Web service
method for receiving data because the method does not provide valid XML
data." after selecting an operation in the Data Connection Wizard.
This same WSDL works fine when loading in to Visual Studio.
Here is the segment of WSDL that Infopath seems to have trouble with (from
the wsdl/types/schema element):
<complexType name="copyintooutRequestType">
<sequence>
<element name="parameters" type="typesns:copyintooutParameters" />
</sequence>
</complexType>
<element name="copyintoout" type="typesns:copyintooutRequestType" />
If I manually change that to use an anonymous type it works fine in InfoPath:
<element name="copyintoout">
<complexType >
<sequence>
<element name="parameters" type="typesns:copyintooutParameters" />
</sequence>
</complexType>
</element>
Is this a bug in InfoPath or is it invalid to use a complexType in a wsdl?
Note that copyintooutParameters is another named type and that works fine
here. It only seems to be a problem when the toplevel element is defined by
a named complexType.
Thanks
-Dan
method for receiving data because the method does not provide valid XML
data." after selecting an operation in the Data Connection Wizard.
This same WSDL works fine when loading in to Visual Studio.
Here is the segment of WSDL that Infopath seems to have trouble with (from
the wsdl/types/schema element):
<complexType name="copyintooutRequestType">
<sequence>
<element name="parameters" type="typesns:copyintooutParameters" />
</sequence>
</complexType>
<element name="copyintoout" type="typesns:copyintooutRequestType" />
If I manually change that to use an anonymous type it works fine in InfoPath:
<element name="copyintoout">
<complexType >
<sequence>
<element name="parameters" type="typesns:copyintooutParameters" />
</sequence>
</complexType>
</element>
Is this a bug in InfoPath or is it invalid to use a complexType in a wsdl?
Note that copyintooutParameters is another named type and that works fine
here. It only seems to be a problem when the toplevel element is defined by
a named complexType.
Thanks
-Dan