IIS returns 405 when calling REST web service from Infopath, works fine from browser - InfoPath Dev
in

InfoPath Dev

IIS returns 405 when calling REST web service from Infopath, works fine from browser

Last post 08-03-2015 06:37 AM by blphu. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-31-2015 01:28 PM

    • blphu
    • Not Ranked
    • Joined on 08-08-2014
    • Posts 17

    IIS returns 405 when calling REST web service from Infopath, works fine from browser

    Hello everyone,

     I have spent countless hours but can't figure out.  Hopefully someone can point me in the right direction.

     I have a REST web service (https://integrationserver-acbj.msappproxy.net/WebService/WcfDataService1.svc/Invoices) and it works fine when viewing from browser, however, when I added this web service as a data connection, InfoPath doesn't work, gives me error ID 5566 and IIS logs says "GET /WebService/WcfDataService1.svc/Invoices - 443 - ::1 InfoPathDA - 405"

     InfoPath designer can pull the data fine but it doesn't work after published to a SharePoint online site.

     Thanks in advance for your help! 

  • 07-31-2015 02:01 PM In reply to

    Re: IIS returns 405 when calling REST web service from Infopath, works fine from browser

    Try changing your data connection to a UDCX and see if that does the trick.
    Hilary Stoupa

  • 07-31-2015 02:05 PM In reply to

    • blphu
    • Not Ranked
    • Joined on 08-08-2014
    • Posts 17

    Re: IIS returns 405 when calling REST web service from Infopath, works fine from browser

     Hi Hillary,

     Thanks for your quick response.  I forgot to mention that the connection is already converted and in my Data Connection library on SharePoint.

      

  • 07-31-2015 02:12 PM In reply to

    Re: IIS returns 405 when calling REST web service from Infopath, works fine from browser

    Well, there was my only idea. :) We can't check the ULS logs, since it is SharePoint Online, unfortunately. I don't suppose you have an on prem server you can test with?
    Hilary Stoupa

  • 08-03-2015 06:37 AM In reply to

    • blphu
    • Not Ranked
    • Joined on 08-08-2014
    • Posts 17

    Re: IIS returns 405 when calling REST web service from Infopath, works fine from browser

     Unfortunately, I don't have an on-prem SP server to test with.

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