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. General Programming
  3. C#
  4. SOAP and wsdl

SOAP and wsdl

Scheduled Pinned Locked Moved C#
csharpwcfxmlasp-netjson
1 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.
  • A Offline
    A Offline
    allenmpcx
    wrote on last edited by
    #1

    I have a .wsdl file and I want to get information from it. I have tried the following: [System.Web.Services.Protocols.SoapRpcMethod( RequestNamespace = "somehttp", ResponseNamespace = "somehttp")] [return: System.Xml.Serialization.SoapElementAttribute("return")] public className get_attr(string username, string password) { object[] me = new object[] { username,password }; object[] results = this.Invoke("get_attr",me); return ((className)(results[0])); } Of course, somehttp is a valid http:// address, and get_attr is an operation name inside the .wsdl. When I run this, the "className" object I return is empty (not null, just empty). What would be the simplest way to get information from the .wsdl and also, is C# (without ASP.Net) able to accomplish this. Thanks for all the help. Mike - I love to program! -- modified at 17:27 Thursday 16th March, 2006

    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