Automatic generation of WSDL with strongly typed parameters

Discussion in 'ASP .Net Web Services' started by John Brown, Dec 16, 2009.

  1. John Brown

    John Brown Guest

    Hello All,

    I have a .asmx file that contains a method like this:

    Function f(x as String) as String

    In the automatically-generated WSDL file, x is described like this:
    <s:element minOccurs="0" maxOccurs="1" name="x"/>

    The return value is described like this:
    <s:element minOccurs="0" maxOccurs="1" name="fResult" type="s:string"/>

    The return value has a type, but the parameter x has no type. The
    programmer who wants to call this service says that she can't use the
    WSDL that was automatically generated by ASP.NET for this reason. My
    questions are:

    1) How can I make ASP.NET generate a WSDL that declares x as a String?

    2) If she edits the WSDL file so that whatever tool she is using does
    not complain, will it matter that her WSDL says that x is a String, but
    mine does not say anything about x?

    Regards,
    Alias John Brown.
    John Brown, Dec 16, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Narayanan Sankaranarayanan

    Custom Namespace For Strongly Typed DataSet

    Narayanan Sankaranarayanan, Dec 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,090
    Narayanan Sankaranarayanan
    Dec 15, 2004
  2. Imran

    Strongly Typed dataset

    Imran, Jan 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    566
    Richard A. Lowe
    Jan 23, 2004
  3. Big D

    Strongly typed datasets and XML

    Big D, Feb 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    447
    bruce barker
    Feb 17, 2004
  4. =?Utf-8?B?QW5kcmUgUmFuaWVyaQ==?=

    Help with creating strongly typed DataSet

    =?Utf-8?B?QW5kcmUgUmFuaWVyaQ==?=, Apr 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    514
    Rick Strahl [MVP]
    Apr 19, 2004
  5. Mark
    Replies:
    1
    Views:
    1,139
    =?Utf-8?B?RGVtZXRyaQ==?=
    Sep 22, 2004
Loading...

Share This Page