SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    uk
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how do i access a web service method?

    im trying to access a web service.

    ive added the wsdl file as a web reference.

    this file tells me the service is called TxtToolsAddressbookServiceService and i see this in visual studio when i create a new object from it.

    also my object can acquire the Addressbook operation but doesnt seem to see or access the methods AddressbookRequest or AddressbookResponse that i need to post my xml file to the service as a parameter.

    they dont appear as options for myobject.Addressbook().within intellisense so wondered how i can access them.

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I'm guessing this is .NET. Anyhow, they myobject.Addressbook() is probably the actual service call--they AddressbookRequest and AddressbookResponse objects are what is passed in and out in some way/shape/form but you really needn't worry about all that.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •