Solved

Submitting InfoPath Form to SQL database through webservice

Posted on 2012-03-29
3
640 Views
Last Modified: 2012-05-03
Hello,

I have created the InfoPath Form and End Point in SQL. When I submit the form to the webservice through InfoPath client, it works with no problem. However, when I submit through web-browser, I have the following error;

There was an error in the incoming SOAP request packet:  Client, LoginFailure, AccessDenied  SOAP-1_2-ENV:Sendersqlsoapfaultcode:LoginFailuresqlsoapfaultcode:AccessDenied There was an error in the incoming SOAP request packet:  Sender, LoginFailure, AccessDenied http://hqsql1:80/ins_Name_WbSrvsTest http://schemas.microsoft.com/sqlserver/2004/SOAP The remote server returned an error: (500) Internal Server Error.)

How can I fix it?

Thank You

Orrin
0
Comment
Question by:orrin05
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 37783270
In SharePoint, you must setup a UDC connection for browser based forms.

In the Data Connections window in IP, there is a button on the side to convert a data connection to a UDC.  This means that SharePoint will use a library to store these connections.

You also may encounter the "double hop" issue where SharePoint has a hard time authenticating with another server.  

You can research more on www.infopathdev.com.
0
 

Author Comment

by:orrin05
ID: 37784102
Hello clayfox,

I already have my UDC connection. I am probably having a hard time authenticating with another server. I will be appreciated with any solution you have. I also look into msdn and infopathdev.

Thanks
0
 

Author Comment

by:orrin05
ID: 37784325
Clayfox,

I found some of your posts in infopath dev about "double hop" issue, I am still searching, but if you have possible solutions, I would like to hear them.

Thanks
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now