Solved

Submitting InfoPath Form to SQL database through webservice

Posted on 2012-03-29
3
653 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Sum of items in two tables not equal. 5 64
SQL syntax question 6 74
Need multiple Group By's 8 55
What is needed to become a DBA? 7 56
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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