SOAP Excel Services SetRangeA1 Repeating Table - InfoPath Dev
in

InfoPath Dev

SOAP Excel Services SetRangeA1 Repeating Table

Last post 06-05-2014 04:04 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-29-2014 03:58 AM

    SOAP Excel Services SetRangeA1 Repeating Table

    Hi, This is my first post and i'm new to InfoPath 2010 so apologies if this is ambiguous. I am trying to add a rule to submit data that uses a SOAP data connection to Excel Services. I'm using the SetRangeA1 operation and am having an issue with the array sizes. I have a repeating table which for testing purposes I have one column and only ever add one row when previewing. I have set the tns:rangeName to a text box control that has a default value of "A1:A2" I have set the tns:RangeValues parameter to the Group that contains the Repeating table. When I run it and try and add a mixture of 0,1 or 2 rows I get the following error message: "InfoPath cannot submit the form. An error occurred while the form was being submitted. The SOAP response indicates that an error occurred on the server: The size of the provided array does not match the size and shape of the destination range." I have uploaded a screenshot of the fields and highlighted the group I am assigning as range values. What am I doing wrong here and is there an easier way to accomplish this? I can get the OpenWorkBook / SetCellA1 operations working fine? Any help would be much appreciated as this is a showstopper for this particular project, Thanks Jake
  • 06-05-2014 04:04 PM In reply to

    Re: SOAP Excel Services SetRangeA1 Repeating Table

    I've not used any SOAP Excel Services, I'm afraid, only REST. But I would recommend you download and install Fiddler. Then you can open Fiddler while testing your form in filler or preview, and examine the actual request the form is making and the response you are getting. This helps me all the time when I am struggling with some obscure IP web service issue.

    Hilary Stoupa

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