none
Calling WebService Over internet from Infopath browser form - 407 Proxy Authentication Required

    Question

  • Hi

    I want to call a webservice over internet from infopath browser form. When I design the form and preview it, it is working fine. But it is giving error once I publish it in the Sharepoint server. Can any one help me to solve the issue?

    Web Service Url : http://www.webservicex.net/CurrencyConvertor.asmx

    The following query failed: ConversionRate (User: Domain\User, Form Name: OrderQuotation, IP: , Connection Target: http://ServerName/Site/Dataconnections/ConversionRate.udcx, Request: http://ServerName/Site/_layouts/FormServer.aspx?XmlLocation=/Site/Order Quotation/12000582.xml&ClientInstalled=true&Source=http://ServerName/Site/Order%2520Quotation/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:OrderQuotation:-myXSD-2012-06-06T06-03-52 Type: DataAdapterException, Exception Message: The remote server returned an error: (407) Proxy Authentication Required.

    The remote server returned an error: (407) Proxy Authentication Required.)

    Thanks & Regards

    C. Vairavan


    Vairavan

    mardi 12 juin 2012 11:26

Réponses

  • Check on the web.config file for the following -

    <system.net> 
     
    <defaultProxy useDefaultCredentials="true" /> 
    </system.net>


    Ameet Phadnis (Alexander Open Systems) Please remember to click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

    • Marqué comme réponse Vairavan samedi 16 juin 2012 09:14
    mercredi 13 juin 2012 19:45