Professional Web Applications Themes

Q: serve multiple request in 1 SOAP message? - ASP.NET Web Services

Hello, I would like to know if it's possible for .NET to handle multiple requests in a single SOAP message. I am under the impression that the following SOAP request is a valid request. However, I do not manage to get a .NET soap service to respond to it: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns1:GetServerVersion/> <ns1:GetLocation/> </SOAP-ENV:Body> </SOAP-ENV:Envelope> If I only have 1 request, this seems to work. I have implemented the webservice in C# on ASP.NET, and it's hosted using IIS on Windows XP Pro. -- lode...

  1. #1

    Default Q: serve multiple request in 1 SOAP message?

    Hello,

    I would like to know if it's possible for .NET to handle multiple
    requests in a single SOAP message.

    I am under the impression that the following SOAP request is a valid
    request. However, I do not manage to get a .NET soap service to respond
    to it:

    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <ns1:GetServerVersion/>
    <ns1:GetLocation/>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    If I only have 1 request, this seems to work.

    I have implemented the webservice in C# on ASP.NET,
    and it's hosted using IIS on Windows XP Pro.

    -- lode

    Lode Leroy Guest

  2. #2

    Default RE: Q: serve multiple request in 1 SOAP message?

    I don't think you can do this, since its not the way the SOAP Specification goes.
    Web Services have been defined as end point to end point message communication, where you invoke a single method on a service in a single call.

    Although you can aggrigate the call to various web methods, while designing your web service, so that internally it can call two seperate web methods.


    Regards,
    Saurabh Nandu
    Saurabh Nandu Guest

  3. #3

    Default Re: Q: serve multiple request in 1 SOAP message?

    Saurabh Nandu wrote:
    > I don't think you can do this, since its not the way the SOAP Specification goes.
    > Web Services have been defined as end point to end point message communication, where you invoke a single method on a service in a single call.
    >
    > Although you can aggrigate the call to various web methods, while designing your web service, so that internally it can call two seperate web methods.
    >
    >
    > Regards,
    > Saurabh Nandu
    Well, it's from reading the SOAP specifications that I actually got
    the convinction that it should be possible to do just that...

    From "http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soapbody"

    The Body element information item has:
    Zero or more namespace qualified element information items in its
    [children] property.

    Do you have some other reference to the "SOAP Specification" where I
    could find more information about this issue?

    thanks for your feedback!

    -- lode
    Lode Leroy Guest

Similar Threads

  1. Difficulties to send multiple object in multiple objectwith SOAP (WebService)
    By laurent pinson in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: May 19th, 01:17 PM
  2. Soap request with coldfusion
    By Rolf Oosting via .NET 247 in forum ASP.NET Web Services
    Replies: 0
    Last Post: April 1st, 10:45 AM
  3. How to calculate the time required for web method to serve the request.
    By Sonali Kulkarni via .NET 247 in forum ASP.NET Web Services
    Replies: 0
    Last Post: March 29th, 05:28 AM
  4. Soap request
    By Mr. M in forum ASP.NET Web Services
    Replies: 1
    Last Post: April 5th, 05:00 PM
  5. SOAP::Lite - serve a complex "object"?
    By J. Patrick Brandt in forum PERL Miscellaneous
    Replies: 0
    Last Post: September 2nd, 05:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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