HTTP End Point

  • I'v e created a simple HTTP End point that exposes  stored proc that runs the statement select getdate().

     

    CREATE

    ENDPOINT [soaptest]

    AUTHORIZATION [****]

    STATE

    =STARTED

    AS HTTP (PATH=N'/james_test/soap_test', PORTS = (CLEAR), AUTHENTICATION = (INTEGRATED), SITE=N'*', CLEAR_PORT = 80, COMPRESSION=DISABLED)

    FOR SOAP (

    WEBMETHOD

    'http://tempUri.org/'.'soap_test'( NAME=N'[****].[dbo].[soap_test]'

    ,

    SCHEMA=STANDARD

    ,

    FORMAT=ALL_RESULTS), BATCHES=ENABLED, WSDL=N'[master].[sys].[sp_http_generate_wsdl_defaultcomplexorsimple]', SESSIONS=DISABLED, SESSION_TIMEOUT=60, DATABASE=N'****', NAMESPACE=N'http://Adventure-Works/Customers', SCHEMA=STANDARD, CHARACTER_SET=XML)

    This code :

    Partial

    Class _Default

    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Dim soap_test As New getdate.soaptest

    Label1.Text = soap_test.ToString

     

    End Sub

    End Class

    only returns:

    getdate.soaptest

     

     

    I am attempting to access the web service though visual stuio via an ASP.net page.  I am able to add the web reference however I am having some trouble programming against the web service.

     

     

     

    Any help will be appreciated.

  • >> I am having some trouble programming against the web service.

    More background would help.

    What have you tried, and what didn't work (what results did you expect, and what happened instead)?

    Have you written ASP.NET code that successfully serves as a client to other SOAP web services, and this one is behaving differently? Or is this the first time you are working from ASP.NET with web services? Etc.

    >L<

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply