Handling name value pairs in a web service

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

  1. #1

    Default Handling name value pairs in a web service


    0. Assume an application can send data using HTTP POST.

    1. For some reason, it sends the name value pairs using the syntax x.y --
    which is perfectly acceptable in HTML forms.

    2. Now I want to write a web method to accept values from this
    application.

    3. But a c# web method will throw an error if I try to define a web method
    such as

    myMethods ( string x.y ) { ... }

    because x.y cannot be a parameter name.

    4. What do I do ?
    I R BABOON Guest

  2. Similar Questions and Discussions

    1. Parsing Name=Value Pairs in a URL
      I want to quickly parse a URL to retrieve it's set of URL variables. What is the easiest way to fo this? I do not want to parse it using the URL...
    2. handling exceptions in asynchronous web service calls
      I have a win forms application that calls a web service asynchronously. Occassionally, the web service call with raise an exception. Unfortunately,...
    3. Printers' pairs in InDesign
      How do I make IDCS print out printers' pairs so that I can make up booklets on my desktop printer? In PageMaker you went to 'Create Booklet' in...
    4. Using key-pairs in a hosted environment
      Hi We have a requirement to process "digitally signed" XML-based software licenses using an ASP.NET web site, hosted on an ISP server. I read an...
    5. Help with Pairs / Memory Game,
      Hi would it be possible for you to send or make available your memory game as I am in the early stages of learning lingo and would love to see how...
  3. #2

    Default Re: Handling name value pairs in a web service

    > a c# web method will throw an error if I try to define a web method
    > such as
    >
    > myMethods ( string x.y ) { ... }
    >
    > because x.y cannot be a parameter name.
    >
    > What do I do ?
    use proper syntax.
    myMethod (string x) { }
    and parse for x and y .

    ps: John, please don't cross-post.


    --
    Dino Chiesa
    Microsoft Developer Division
    d i n o c h @ o n l i n e . m i c r o s o f t . c o m


    Dino Chiesa [Microsoft] Guest

  4. #3

    Default Re: Handling name value pairs in a web service

    "Dino Chiesa [Microsoft]" <dinoch@online.microsoft.com> wrote in message news:<eKRzG19lDHA.2000@TK2MSFTNGP12.phx.gbl>...
    > > a c# web method will throw an error if I try to define a web method
    > > such as
    > >
    > > myMethods ( string x.y ) { ... }
    > >
    > > because x.y cannot be a parameter name.
    > >
    > > What do I do ?
    >
    > use proper syntax.
    > myMethod (string x) { }
    > and parse for x and y .

    what do you mean?

    I am describing a problem situation,
    I know that ( string x.y ) is not proper
    syntax.

    that is why I posted the query.

    the lack of expertise and understanding
    on these dotnet boards clearly means
    that dotnet is not being used by professional
    programmers. i give up !
    john bailo 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