Problem Accessing HTTP Endpoint from Info-Path - InfoPath Dev
in

InfoPath Dev

Problem Accessing HTTP Endpoint from Info-Path

Last post 08-29-2008 03:32 AM by richard_nh. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-29-2008 03:32 AM

    Problem Accessing HTTP Endpoint from Info-Path

    Hello All,

       I have set up an HTTP Endpoint on SQL Server 2005 using the following standard method:

     Set up the Web Service

     

    Now  we will need to create the web service. We will use the web service to store discounts into the DB from InfoPath.The Web Service in SQL Server is created through an “HTTP Endpoint” and a T-SQL stored procedure.Here is the stored procedure

    create procedure StoreDiscount

    @ShopId numeric,@StartDate datetime,@EndDate datetime,@DiscountRate intasBEGINinsert into discounts values(@ShopId,@StartDate,@EndDate,@DiscountRate)END
     And here is the HTTP Endpoint:

    CREATE ENDPOINT discount_endpoint

    STATE = STARTEDAS HTTP (   PATH = '/sql',    AUTHENTICATION = (INTEGRATED ),    PORTS = ( CLEAR ),    SITE = 'YourSqlServerName'        )FOR SOAP (   WEBMETHOD 'StoreDiscountData'             (name='infocityhall.dbo.StoreDiscount',              SCHEMA=STANDARD ),   WSDL = DEFAULT,   SCHEMA = STANDARD,   DATABASE = 'infocityhall',   NAMESPACE = 'http://tempUri.org/'        )

    The web service will now be discoverable at the location http://yoursqlservername/sql?wsdl

     

    ____________.... 

     

    However, all I get when I try to access the HTTP Endpoint either from an IE Browser or the Data Connection Wizard in Info-Path is a login prompt (which lets me go no further, even though username and password are correct) .

     

     

     

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