Problem in consuming sharepoint Webservice in Infopath - InfoPath Dev
in

InfoPath Dev

Problem in consuming sharepoint Webservice in Infopath

Last post 02-09-2009 04:54 AM by Raajkumar. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-08-2009 09:51 PM

    Problem in consuming sharepoint Webservice in Infopath

    Hi,

    I have created a webservice in sharepoint which will return multiple values. When I tried to consume the service through Infopath for an dropdownlist, only the first value is displayed in the dropdownlist. But I copied the same xml code to local file and tried. This time it is working fine. What could be the problem?

    Please help me

     

     

  • 02-08-2009 10:23 PM In reply to

    Re: Problem in consuming sharepoint Webservice in Infopath

    Hi,

    Verify any filter conditions are using on drop down list. The node from which you are getting the values must be a repeating node.  Verify that onece.

    Swathip
    www.ggktech.com
  • 02-08-2009 11:01 PM In reply to

    Re: Problem in consuming sharepoint Webservice in Infopath

    Hi,

    I have checked those things which you have specified. But still I am not getting the second value.

     <?xml version="1.0" encoding="utf-8" ?>
    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
      <string>Test-001</string>
      <string>Test-002</string>
      </ArrayOfString>

    This is XML file which is returned by the SOAP.

  • 02-09-2009 04:17 AM In reply to

    Re: Problem in consuming sharepoint Webservice in Infopath

    Hi,

    From which node you are getting the values in to drop down? I think you are using the string field. I have tried using this xml. It is giving the values. Verify once by opening the same sharepoint webservice in any browser and check whether that is returning all the values or not. If possible attach your xsn.

    Swathip
    www.ggktech.com
  • 02-09-2009 04:54 AM In reply to

    Re: Problem in consuming sharepoint Webservice in Infopath

    Hi,

    I have tried all the things that you have specified. Still the xml file is showing all the values but when it comes to Infopath, it is not working. Only the first node value is displayed. I tried by storing the value in repeating field and then accessing it through the dropdownlist, but unfortunately it is not working. I tried to save the local copy of that xml file and it is working fine.

    So what should I do now and I am not able to attach the .xsn file as there is no provision for attaching any file in this. Could you please send me your e-mail ID so that I can send you the .xsn file

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