Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Sending Request and Reading Response from Webservice using XML API

Sending Request and Reading Response from Webservice using XML API

Scheduled Pinned Locked Moved Web Development
csharptutorialcomxmljson
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shaina2231
    wrote on last edited by
    #1

    I m using eBay Trading API For XML link is "http://developer.ebay.com/webservices/latest/ebaySvc.xsd" and XML code to call some method of Api is as follows Pls Guide me how to send Request and Read Respone in C#.NET code? <?xml version="1.0" encoding="utf-8"?> <GetCategoryInfoRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <CategoryID >-1</CategoryID> <IncludeSelector >ChildCategories</IncludeSelector> </GetCategoryInfoRequest> and Response is <?xml version="1.0" encoding="UTF-8"?> <GetCategoryInfoResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2009-12-12T12:11:14.460Z</Timestamp> <Ack>Success</Ack> <Build>E643_CORE_BUNDLED_10284414_R1</Build> <Version>643</Version> <CategoryArray> <Category> <CategoryID>-1</CategoryID> <CategoryLevel>0</CategoryLevel> <CategoryName>Root</CategoryName> <CategoryParentID>0</CategoryParentID> <LeafCategory>false</LeafCategory> </Category> <CategoryCount>37</CategoryCount> <UpdateTime>2009-06-15T14:51:30.000Z</UpdateTime> <CategoryVersion>92</CategoryVersion> </GetCategoryInfoResponse>

    S 1 Reply Last reply
    0
    • S shaina2231

      I m using eBay Trading API For XML link is "http://developer.ebay.com/webservices/latest/ebaySvc.xsd" and XML code to call some method of Api is as follows Pls Guide me how to send Request and Read Respone in C#.NET code? <?xml version="1.0" encoding="utf-8"?> <GetCategoryInfoRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <CategoryID >-1</CategoryID> <IncludeSelector >ChildCategories</IncludeSelector> </GetCategoryInfoRequest> and Response is <?xml version="1.0" encoding="UTF-8"?> <GetCategoryInfoResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2009-12-12T12:11:14.460Z</Timestamp> <Ack>Success</Ack> <Build>E643_CORE_BUNDLED_10284414_R1</Build> <Version>643</Version> <CategoryArray> <Category> <CategoryID>-1</CategoryID> <CategoryLevel>0</CategoryLevel> <CategoryName>Root</CategoryName> <CategoryParentID>0</CategoryParentID> <LeafCategory>false</LeafCategory> </Category> <CategoryCount>37</CategoryCount> <UpdateTime>2009-06-15T14:51:30.000Z</UpdateTime> <CategoryVersion>92</CategoryVersion> </GetCategoryInfoResponse>

      S Offline
      S Offline
      shaina2231
      wrote on last edited by
      #2

      I m adding webreference of this webservice link in my C#Project

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups