InfoPath and Webs.asmx Web Service

Hi,

Did you try to consume data from webs.asmx into InfoPath Forms?

I did, and found problems, as InfoPath was not able to generate the full schema (or SharePoint did not generate the expected WSDL).

Although there are some limitations in the Web Services InfoPath support https://msdn.microsoft.com/en-us/library/bb852081.aspx

I manage to change imported schema in order to get subwebs from a site. So feel free to get the attached file if you found the same problem.

Ciao!

webs_asmx.zip

Comments

  • Anonymous
    October 01, 2008
    The problem with SP web services is that they like to use raw untyped XML (<xs:any/>) in both requests and replies, something that neither InfoPath nor many other tools (such as SSIS) like.We just ended up writing our own Web services to wrap all SharePoint ones, with proper WSDL.
  • Anonymous
    October 01, 2008
    The comment has been removed
  • Anonymous
    November 22, 2010
    Hey,thanks for this post and attachment. Can you explain to me how to implement the attached files? I am trying to get the number of subwebs from a site and have had no luck with the web services..Big thanks
  • Anonymous
    December 15, 2010
    Hi can you explain how to attach these to the infopath form.