controlling minOccurs and maxOccurs in wsdl

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default controlling minOccurs and maxOccurs in wsdl

    I was wondering if there was an attribute that I could apply to an array
    that would allow the minOccurs and maxOccurs to be specified in the
    generated wsdl.

    I was also wondering if it was possible to override the automatically
    generated wsdl.

    I there a way to have [url]http://localhost/testingtypes/Service1.asmx?WSDL[/url]
    return arbitrary xml?



    Brad Quinn Guest

  2. Similar Questions and Discussions

    1. WSDL Minoccurs changes when nil="true" is set.
      Hi, can someone tell me why the following scneario occurs. With the nillable attribute set to true on an element that has min occurs set to zero, I...
    2. Problem with minOccurs="0" in client WSDL
      I have created a web service for a client to consume. The element I am having trouble with is, as described in their WSDL: <xsd:element...
    3. WebMethod + MaxOccurs for input parameter; possible?
      Good afternoon everyone, I have a WebMethod function (VB .NET) that receive a parameter (Order #). I would like to be able to change my function...
    4. generating minoccurs=1 for strings in wsdl ?
      If I have string types in my object in my web service. In wsdl file it always comes as minoccurs=0. Is there a way to fix this ? Regards, AK
    5. Relation between XmlNode and WSDL minoccurs or type
      I have a WSDL-file that looks like the following (Part of it) - <s:complexType name="Persoonslijst"> - <s:sequence> <s:element minOccurs="0"...
  3. #2

    Default Re: controlling minOccurs and maxOccurs in wsdl

    Sweet!

    [url]http://msdn.microsoft.com/msdnmag/issues/02/12/XMLSchemaImporting/default.aspx[/url]

    Although a bit overkill for my particular need.

    "Brad Quinn" <brad_quinn@yahoo.com> wrote in message
    news:ONCpV$FWDHA.1280@tk2msftngp13.phx.gbl...
    > I was wondering if there was an attribute that I could apply to an array
    > that would allow the minOccurs and maxOccurs to be specified in the
    > generated wsdl.
    >
    > I was also wondering if it was possible to override the automatically
    > generated wsdl.
    >
    > I there a way to have [url]http://localhost/testingtypes/Service1.asmx?WSDL[/url]
    > return arbitrary xml?
    >
    >
    >

    Brad Quinn Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139