Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2007

Tip: Looking for answers? Try searching our database.

Web Service ErrorL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Natalie Lewis - 06 Sep 2007 21:32 GMT
I'm not sure if this is a SharePoint, InfoPath or Web Service issue.  I have
created a web service generate a unique ID for an InfoPath form.  Everything
works great when its on my local machine.  I installed the web service into
our SharePoint 2007 environment and webservice and WSDL files are accessible
from IE, however when I attempt to add the Web Service as a data connection
to the InfoPath form, the web service connects and the operations list
appears and then I receive an error:  Infopath was unable to create a schema
from the results of the Web service call.

The SOAP response indicates that an error occurred on the server:

Server was unable to process request. ---> Value cannot be null.
Parameter name: path

I am pretty convinced it's a permissions error, but I'm not sure what
additional permissions are needed on the SharePoint server to get this
working.  Any help is appreciated!

Thanks
David Dean - 07 Sep 2007 02:34 GMT
I assume the exception is occurring in one of the calls being made inside the
web service. Since the "Value cannot be null" exception is occurring on a
parameter named "path", I wonder if maybe you're missing a configuration
entry...?

Also, what steps did you use to install and configure the web service on the
SharePoint server? Depending on how you deployed the web service, you may
need to add configuration entries to a different web.config file. If you
think it's a permissions issue, check the web.config for the folder that
contains the .asmx file to make sure you've enabled impersonation and Windows
authentication and added all of the necessary configuration items.

Here's a way you can debug this on the SharePoint server:
- Make sure you have compiled your web service in Debug mode; if not,
recompile it and redeploy it to the server.
- Install and configure the Visual Studio 2005 Remote Debugger on the
SharePoint box using the VS2005 setup CD/DVD, then start the remote debugger
module.
- Open your web service project in Visual Studio and select Debug >
Attach... from the menu.
- Enter the machine name of the SharePoint server; you should get a list of
the processes running on the server.
- Ctrl-click all of the w3wp.exe processes and click the Attach button.
- Add a breakpoint at the beginning of your web service method.
- Try to add the web service connection to InfoPath; Visual Studio should
break into the debugger when InfoPath tries to execute the web service method.

You should now be able to single-step through your code to find the problem.

Signature

David Dean
Sr. Member Technical Staff
Insource Technology Corp.

> I'm not sure if this is a SharePoint, InfoPath or Web Service issue.  I have
> created a web service generate a unique ID for an InfoPath form.  Everything
[quoted text clipped - 15 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.