Using lists.asmx > Submit > Error 5567 - InfoPath Dev
in

InfoPath Dev

Using lists.asmx > Submit > Error 5567

Last post 03-18-2014 11:02 AM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 03-10-2014 08:23 AM

    Using lists.asmx > Submit > Error 5567

    I am using lists.asmx - UpdateListItems to submit rows to SharePoint 2013 list.

    I have done this many times in SharePoint 2010 it worked fine.

    From some reason, it doesn't work on 2013 version (both on-line / enterprise editions)

    Here's the scenario:

    1. Create a form link my XML to UpdateListItems & submitting.

    2. On InfoPath designer all works fine

    3. I am publishing to SP & get: error ID: 5567.

        I've looked at the enterprise logs & found this:

    03/02/2014 14:42:34.44  w3wp.exe (0x1860)                        0x1ED8 InfoPath Forms Services        Runtime - Data Connections     m0iu 
     Medium   Data adapter failure during submit: The remote server returned an error: (401) Unauthorized. e14f799c-a242-60dc-93c9-c41f8438fff9

    03/02/2014 14:42:34.44  w3wp.exe (0x1860)                        0x1ED8 InfoPath Forms Services        Runtime - Data Connections     m1v1
     Warning  Form submission failed. (User: 0#.w|MyDomain\ofer.carmeli, Form Name: InfoPathDemo,
     IP: , Request: http://sharepoint13/MSAccessDemo/_layouts/15/FormServer.aspx?
     XsnLocation=http://sharepoint13/MSAccessDemo/InfoPathDemo/Forms/template.xsn&SaveLocation=http://sharepoint13/MSAccessDemo/InfoPathDemo&
     ClientInstalled=true&DefaultItemOpen=1&Source=http://sharepoint13/MSAccessDemo/InfoPathDemo/Forms/AllItems.aspx,
     Form ID: urn:schemas-microsoft-com:office:infopath:InfoPathDemo:-myXSD-2014-03-02T12-13-54,
     Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)
     e14f799c-a242-60dc-93c9-c41f8438fff9

    03/02/2014 14:42:34.44  w3wp.exe (0x1860)                        0x1ED8 SharePoint Server              State Service                  8kfs Medium
     The StateManager is disposing and calling ReleaseLockedStates() (Count=0) e14f799c-a242-60dc-93c9-c41f8438fff9

    I don't understand what is the difference between 2010 & 2013 version & why the user Unauthorized.

     

    Please help...

  • 03-15-2014 11:14 PM In reply to

    Re: Using lists.asmx > Submit > Error 5567

     Hi there,

    Can anyone help???

    Thanks

  • 03-17-2014 04:25 PM In reply to

    Re: Using lists.asmx > Submit > Error 5567

    Are you using the form in the browser or the filler? See the user name in the Unauthorized? It looks like your ShP 2013 site is now claims based authentication (User: 0#.w|MyDomain\ofer.carmeli - I think this is the default now) and I'm wondering if that is what is causing the issue.

    Hilary Stoupa

  • 03-18-2014 10:53 AM In reply to

    Re: Using lists.asmx > Submit > Error 5567

    Hi Hilary.

    The submit works fine in the InfoPath designer but fails on the browser.

    The user I am using has full control.

    I guess you are right & SP2013 soap  lists.asmx can't identify the user 0#.w|MyDomain\ofer.carmeli

    I have read the following post "Secure Store service application"

    http://suehernandez.wordpress.com/2013/10/11/sharepoint-2013-infopath-claims-getuserprofilebyname/

    & implemented it & still get this err:

    Credentials were not found for the current user within the target application 'INFOPATHSoap'. Please set the credentials for the current user.
    An entry has been added to the Windows event log of the server.

    Log ID:5567

    Correlation ID:9a877e9c-129b-60dc-93c9-cfed1e79eb12

     

    BOTTOM LINE:

    I think the 2013 that soap services / REST dosn't recognize the initial: "0#.w|" before the user...

    Any idea what is the solution?

     Thanks, Ofer

     

  • 03-18-2014 11:02 AM In reply to

    Re: Using lists.asmx > Submit > Error 5567

    I found this post: http://blogs.msdn.com/b/russmax/archive/2012/08/17/want-to-call-sharepoint-2010-web-services-within-browser-based-infopath-2010-forms.aspx

    Which suggests creating a web app with classic authentication - not sure if this an option for you, but thought I'd toss it out there....

    Hilary Stoupa

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.