A
Alex
Hi,
Before I submitted this question, I spent a lot of time searching
groups with no success.
Namely, I uploaded Infopath form to one of SharePoint sites like
following:
http://SPPS_server/sites/site/library_name/Forms/AllItems.aspx. It is a
sort of Approval form, including field with the e-mail of currently
logged user.
Field is immediately updated with user's email after loading by
receiving the output of web service installed in separate web site on
the same server which hosts SPPS like this:
http://SPPS_server:8000/getMail.asmx.
Unfortunately, infopath form can't be opened and this is the error
message:
"The following DataObject either cannot be created or cannot be
initialized: getMail
The query cannot be run for the following DataObject: getMail
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
Server was unable to process request. --> An operations error occurred"
This is the following configuration: Win2k3 STd ed., Infopath2003 SP1
(not digitally signed neither fully trusted), WebService written with
csharp (very common code, easy to find, it's all about getting
System.Environment.UserName and passing it to directorySearcher), etc.
WebService can be queried by itself, so it gives regular email address
with no problem. I even copied the response and saved it as xml file
being queried in the form with no problem again (by defining it as
secondary data source to be opened upon load, the same as with the web
service).
This is the question: has anyone ever tried to put everything on the
same server, SPPS with uploaded Infopath which queries AD via
webService?
Any answer would be highly appreciated
Alex
Before I submitted this question, I spent a lot of time searching
groups with no success.
Namely, I uploaded Infopath form to one of SharePoint sites like
following:
http://SPPS_server/sites/site/library_name/Forms/AllItems.aspx. It is a
sort of Approval form, including field with the e-mail of currently
logged user.
Field is immediately updated with user's email after loading by
receiving the output of web service installed in separate web site on
the same server which hosts SPPS like this:
http://SPPS_server:8000/getMail.asmx.
Unfortunately, infopath form can't be opened and this is the error
message:
"The following DataObject either cannot be created or cannot be
initialized: getMail
The query cannot be run for the following DataObject: getMail
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
Server was unable to process request. --> An operations error occurred"
This is the following configuration: Win2k3 STd ed., Infopath2003 SP1
(not digitally signed neither fully trusted), WebService written with
csharp (very common code, easy to find, it's all about getting
System.Environment.UserName and passing it to directorySearcher), etc.
WebService can be queried by itself, so it gives regular email address
with no problem. I even copied the response and saved it as xml file
being queried in the form with no problem again (by defining it as
secondary data source to be opened upon load, the same as with the web
service).
This is the question: has anyone ever tried to put everything on the
same server, SPPS with uploaded Infopath which queries AD via
webService?
Any answer would be highly appreciated
Alex