connection between two web service client - InfoPath Dev
in

InfoPath Dev

connection between two web service client

Last post 12-29-2004 06:05 AM by shamim. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 12-22-2004 06:52 AM

    • shamim
    • Not Ranked
    • Joined on 12-22-2004
    • Russia
    • Posts 4

    connection between two web service client

    Hai,
    I am using Infopath as a instant client for Web services. I should call two web service where seconed web service will get parameter from first web service.
    Here i have face problem making client in Infopath. When i got result from first web service i could submit this result to the seconed web service but can't get the result.
    Is infopath haven't able to make any connection between many form?
    Thank'x in Advance.
    Shamim

    shamim
  • 12-22-2004 10:34 AM In reply to

    Re: connection between two web service client

    Hi Shamim,
    Welcome to the board! You should be able to access both Web services if you use a secondary data source and write some code. I believe the main data can only be bound to a single Web service, so you're best off defining your submit web service as a secondary data sources (Tools-Data Connections) and writing some code to control the submit.
    Hope this helps!
    Patrick Halstead
    Project Manager at Qdabra
  • 12-23-2004 02:01 AM In reply to

    • shamim
    • Not Ranked
    • Joined on 12-22-2004
    • Russia
    • Posts 4

    Re: connection between two web service client

    Thank'x Patrick,
    I also think so, i have surf some forums and found that your advice is one of the best. However Is it right that In Infopath we can't build a series of web service client?


    shamim
  • 12-23-2004 02:36 PM In reply to

    Re: connection between two web service client

    What do you mean by "series of web service client". You can definitely submit to multiple Web services. That is not a problem.
    Patrick Halstead
    Project Manager at Qdabra
  • 12-29-2004 03:19 AM In reply to

    • shamim
    • Not Ranked
    • Joined on 12-22-2004
    • Russia
    • Posts 4

    Re: connection between two web service client

    Thank'x Patrick,
    I just want to submit data to multiple web service by "Using Form Code". I have found some example by surfing forums, but can't understood how to bind parameter to the web service.Would you kindly help me binding parameter. the fragment of code are as follows which i have tried:
    function XDocument::OnSubmitRequest(eventObj)
    {
    // If the submit operation is successful, set
    // eventObj.ReturnStatus = true;
    // Write your code here
    XDocument.UI.Alert("ZZZZZ");

    // Write your code here
    var fieldValue = XDocument.DOM.selectSingleNode( "/dfs:myFields/dfs:dataFields/so:ResSRR/so:CompnayID[2]");

    //Get a reference to the SDS bound to the Web Service.
    var theDataObject = XDocument.DataObjects.Item ("ShowRegionrepresentative");
    theDataObject.Query();
    eventObj.ReturnStatus = true;

    }
    Thank'x in Advance
    Shamim
  • 12-29-2004 06:05 AM In reply to

    • shamim
    • Not Ranked
    • Joined on 12-22-2004
    • Russia
    • Posts 4

    Re: connection between two web service client

    I ahve solved the problem. Thank'x every body

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