Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Submitting InfoPath Form to SQL database through webservice

Posted on 2012-03-29
3
Medium Priority
?
656 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 1500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In this article I will describe the Detach & Attach 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.
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

670 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