How do I submit multiple schemas to a web service? - InfoPath Dev
in

InfoPath Dev

How do I submit multiple schemas to a web service?

Last post 06-07-2011 08:11 AM by enthdegree_. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-26-2011 10:59 AM

    How do I submit multiple schemas to a web service?

    Hello, all. I have successfully set up an InfoPath form template on SharePoint to submit data to a Web Service. Filling the form out from the browser works beautifully. The problem is I will be making lots more form templates that communicate with that one web service so now I need to find a way to make the form supply the web service with some information on what kind of form it is so that the service will know how to handle it's information.

    I've been instructed to do it by making the form submit a schema aside from the one with field information. I'm unsure how to go about this though, I couldn't find any information on it on the web. A step in the right direction would be appreciated.

    Thanks!

    Klaus Fiedler
  • 05-26-2011 07:39 PM In reply to

    Re: How do I submit multiple schemas to a web service?

    Hi EnthDegree_ and welcome,

    We built a loosely coupled (data- or schema-driven) Web service back in 2004 to solve the data normalization problem you are referring to - in other words, rather than build a separate hard-coded Web service for every template, we built one generic Web service that works with all templates. The Web service is called DBXL and there's a free trial available on Qdabra's site. You can definitely look at how we did it. Of course, we've invested significantly in this Web service over the years and now have hundreds of customers using it. We think it's a very low cost way for you to solve the problem of connecting your forms to your SQL database. Saves you money up front because you don't have to create a Web service. Saves you money down-the-road because its been tested over many years in production environments and new templates don't require much more than a data mapping configuration. Take a look at how we did it for ideas - download the trial, read the docs. It's way cheaper than it would take you to write your own and by now it has a ton of extra features and tools that use it.

    There's no way to explain how to build a data-driven Web service for InfoPath in one forum post, but I think you have one key idea - the XSF must be linked to the document when you submit it to the Web service so that the Web service knows how to map the data. Of course, you'll need to map the data from XSD to wherever it's going (SQL or a downstream line-of-business process).

    At any rate, sorry there's no silver bullet here for you to implement your own, but do take a look at the free trial and you might get ideas for how you can write your own.

    Best regards,

    Patrick Halstead
    Project Manager at Qdabra
  • 06-07-2011 08:11 AM In reply to

    Re: How do I submit multiple schemas to a web service?

    Hello Mr. Halstead,

    Sorry for being so late to reply!

    Thanks for the offer but I found a workaround. I will post the details once I finish documenting it.

    Kind regards,

    Klaus Fiedler

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