Showing posts with label infopath. Show all posts
Showing posts with label infopath. Show all posts

Wednesday, March 28, 2012

InfoPath XML importing to SQL 2000

Hi all,

We are having issues in getting a Bulk Upload for an XML which has been created through InfoPath 2007 (and it being accessed on SharePoint 2007).

We have found examples on how to do it with a normal XML but when it is created through InfoPath the schema does not seem to be the same as standard XML and therefore cannot work out the naming convention for importing the scripts.

If anyone has had any experience or suggestions all would be greatly appreciated.


Thanks in advance.

Hello,

If you send me the schema and the data file, I will take a look.

Regards,

Monica Frintu

InfoPath XML importing to SQL 2000

Hi all,

We are having issues in getting a Bulk Upload for an XML which has been created through InfoPath 2007 (and it being accessed on SharePoint 2007).

We have found examples on how to do it with a normal XML but when it is created through InfoPath the schema does not seem to be the same as standard XML and therefore cannot work out the naming convention for importing the scripts.

If anyone has had any experience or suggestions all would be greatly appreciated.


Thanks in advance.

Hello,

If you send me the schema and the data file, I will take a look.

Regards,

Monica Frintu

Infopath for Reporting Services Parameters

Has anyone looked at that? I think it could be a good option...
Parameters layout is something I would like to change.
Any suggestions?This is the approach I could think of so far:
Download
http://www.microsoft.com/downloads/details.aspx?FamilyId=7E9EBC57-E115-4CAC-9986-A712E22879BB&displaylang=en
- and then customize Infopath the way data is retrived...
- reference the dll's for reporting service
... any thoughts...?
(Maybe I am off on another direction...but just thought it's worth a
try)|||You can use Reportng Services as a source for InfoPath data (use the XML
rendering extension and XSL).
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Harsh" <creative@.mailcity.com> wrote in message
news:fa671a26.0407230611.2431bfb@.posting.google.com...
> This is the approach I could think of so far:
> Download
> http://www.microsoft.com/downloads/details.aspx?FamilyId=7E9EBC57-E115-4CAC-9986-A712E22879BB&displaylang=en
> - and then customize Infopath the way data is retrived...
> - reference the dll's for reporting service
> ... any thoughts...?
> (Maybe I am off on another direction...but just thought it's worth a
> try)sql

InfoPath 2007 and endpoint yielding HTTP authentication failed.

I created a HelloWorld like example using InforPath 2007 and endpoint with SQL Server 2005. Very simple example.

I created a stored procedure that took in one parameter, a datetime field. This parameter is then inserted into a db table that has two columns, an id column and a datetime column.

I took the store procedure just discribed to create an endpoint. Cool. The WSDL is showing, I'm feeling good.

I go to InfoPath and make it so that submit a datetime to the webmethod associated with the endpoint. The data table shows one more row has been added and it is the datetime I sent from InfoPath. YEA!! I go to the Event View and see that I have an error message. The message is HTTP authenticaiton failed. [CLIENT: 10.8.2.26]. Bummer!!

This does not make sense to me. I am able to update the targeted database table but I get an exception. I do not like exceptions nor warnings without an explanation. Does anyone have an idea why this is happening?

The endpoint code looks like: <code snippet>

CREATE ENDPOINT [GeraldTesting_endpoint]
AUTHORIZATION
STATE=STARTED
AS HTTP (PATH=N'/testEndPoint',
PORTS = (CLEAR),
AUTHENTICATION = (INTEGRATED),
SITE=N'*',
CLEAR_PORT = 8080,
COMPRESSION=DISABLED)
FOR SOAP (
WEBMETHOD 'testEndPoint'
( NAME=N'[geraldstest].[dbo].[Gerald_Test_Proc]'
, SCHEMA=STANDARD,
FORMAT=ALL_RESULTS),
BATCHES=ENABLED, WSDL=N'[master].[sys].[sp_http_generate_wsdl_defaultcomplexorsimple]',
SESSIONS=DISABLED, SESSION_TIMEOUT=60,
DATABASE=N'geraldstest', NAMESPACE=N'http://tempuri.org', SCHEMA=STANDARD, CHARACTER_SET=XML)

</code snippet>

I had to give up for the project I am currently working because of time constraints. But in the future, for out-of-the-box functionality for proof-of-concept/prototyping, I would like to use endpoints.

Hi Gerald,

If I understand your situation correctly, your InfoPath is able to connect to the SQL SOAP endpoint and submit the data correctly, but then you are seeing a HTTP authentication failure in the Event View. It sounds like InfoPath itself is not raising any errors or exceptions. Is this Event View part of InfoPath? Or, is this the SQL Errorlog?

I am assuming you've verified that the timestamp of the HTTP authentication failure entry is the same time when you submitted the data with InfoPath. Also, I am assuming that the connection setting to SQL Server in the InfoPath form is done through Web Services instead of a direct SQL connection.

If you are able to retrieve the WSDL document from SQL using InfoPath, the same user will have access to submit data to the endpoint. If the InfoPath form as opened by another user, then you will need to grant the enduser access.

It would be really helpful if you can provide the complete error message and the whether the user has been granted access to the endpoint.

From what you've mentioned, the insert did work, so there's either a major bug in the SQL product where we are incorrectly logging bad messages or else there is some other configuration issue.

Jimmy

InfoPath 2003 - insert data in SQLServer?

Hello,

I created an InfoPath 2003 form, with a datasource from SqlServer 2000. When I try to insert a new record the follow error occurs:

"InfoPath cannot connect to the data source.
Safety settings on this computer prohibit accessing a data source on another domain."

I checked Enabled -"Access data source accross domains" from Security Settings->Miscellaneous, but the error still appears.

Have anyone any idea about this error?

Thanks.


This seems like an InfoPath specific configuration issue. You may want to try re-posting (sorry, I couldn't find a forum to which I could simply move this post) your question to the InfoPath newsgroup at http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.infopath or checking out the InfoPath blog at http://blogs.msdn.com/infopath/default.aspx.

sql

Infopath & SSRS

Hi,
As reporting in InfoPath 2003 is not fully open, I was wondering if we could
use SQL Reporting 2000 on top of InfoPath Forms (Stored in Form Lib -
SharePoint)
ThxHello Hans,
What do you mean not fully open? I know for a fact that you can use SRS
2003 for reporting on infopath form libraries (to do so you need to
make your own data processing extension that pulls data from something
like a webservice). I believe you can do something similar for SRS
2000.
Lance M.
Hans Hantson wrote:
> Hi,
> As reporting in InfoPath 2003 is not fully open, I was wondering if we could
> use SQL Reporting 2000 on top of InfoPath Forms (Stored in Form Lib -
> SharePoint)
> Thx

Infopath

I am using SBS 2003 Premium with SQL Server installed and
updated to SP3a. When I connect to the example database
in infopath 2003 the "Submit to database" option is there
when I insert a submit button. When I created my own
database, the option is not there. Any ideas?
Thanks
I remember running into this issue a couple of months ago when I was
struggling to learn Infopath, but I forgot what the answer is -- it
has to do with Infopath, not SQL Server. I'd post on the
microsoft.public.infopath newsgroup, where you're more likely to get
responses from people who use Infopath regularly :-)
--Mary
On Wed, 12 May 2004 07:30:47 -0700, "Brent Goff"
<brentgoff@.goffcom.net> wrote:

>I am using SBS 2003 Premium with SQL Server installed and
>updated to SP3a. When I connect to the example database
>in infopath 2003 the "Submit to database" option is there
>when I insert a submit button. When I created my own
>database, the option is not there. Any ideas?
>Thanks