Hi guys I'm having trouble with a data connection (A web service called WhoAmI) on my form, when I get people to test my form, about 1/10 people get this error: "The following DataObject either cannot be created or cannot be initialized: WhoAmIThe query cannot be run for the following DataObject: WhoAmIInfoPath cannot run the specified query.
Access is denied"
I have no idea why this is happening so I'm hoping someone will be able to help me with this problem. What I do know is that it's machine dependent. One of my testers got the error on his machine, but when he logged onto my machine didn't get the error.
Any ideas on this would be much appreciated. Also here is the code for the web service if that helps...
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
- <s:element name="WhoAmI">
- <s:element name="WhoAmIResponse">
<s:element minOccurs="0" maxOccurs="1" name="WhoAmIResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="WhatIsMyJobTitle">
- <s:element name="WhatIsMyJobTitleResponse">
<s:element minOccurs="0" maxOccurs="1" name="WhatIsMyJobTitleResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="WhoAmISoapIn">
<wsdl:part name="parameters" element="tns:WhoAmI" />
</wsdl:message>
- <wsdl:message name="WhoAmISoapOut">
<wsdl:part name="parameters" element="tns:WhoAmIResponse" />
</wsdl:message>
- <wsdl:message name="WhatIsMyJobTitleSoapIn">
<wsdl:part name="parameters" element="tns:WhatIsMyJobTitle" />
</wsdl:message>
- <wsdl:message name="WhatIsMyJobTitleSoapOut">
<wsdl:part name="parameters" element="tns:WhatIsMyJobTitleResponse" />
</wsdl:message>
- <wsdl:portType name="WhoAmIWSSoap">
- <wsdl:operation name="WhoAmI">
<wsdl:input message="tns:WhoAmISoapIn" />
<wsdl:output message="tns:WhoAmISoapOut" />
</wsdl:operation>
- <wsdl:operation name="WhatIsMyJobTitle">
<wsdl:input message="tns:WhatIsMyJobTitleSoapIn" />
<wsdl:output message="tns:WhatIsMyJobTitleSoapOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="WhoAmIWSSoap" type="tns:WhoAmIWSSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl:operation name="WhoAmI">
<soap:operation soapAction="http://tempuri.org/WhoAmI" style="document" />
<soap:body use="literal" />
</wsdl:input>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="WhatIsMyJobTitle">
<soap:operation soapAction="http://tempuri.org/WhatIsMyJobTitle" style="document" />
<soap:body use="literal" />
</wsdl:input>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="WhoAmIWS">
- <wsdl:port name="WhoAmIWSSoap" binding="tns:WhoAmIWSSoap">
<soap:address location="http://litspace.lit.lmig.com:8080/whoamiws/whoami.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>