Hi,
There are a couple of things you can do. First, in asp.net, you can change
the way that method routing (dispatching) is handled by switching from the
default (routingStyle=soap action) to one that uses the first element in
the SOAP body to steer the request to a method. You said, however, that
you aren't expecting these messages, so there is the issue of not having a
method to route a given type to.
The WSE toolkit has a service host that lets you build your own dispatcher.
That's two.
Finally, if you host your service endpoint in biztalk server, you can treat
the incoming message almost any way you want. However, again, since you
aren't expecting what arrives, it isn't clear that you'll have code that
you can handle the messages with.
I hope this helps,
Dan Rogers
Microsoft Corporation
--------------------
Date: Fri, 17 Dec 2004 18:37:37 +0100
From: Stefan Lischke <li*****@novacom.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7)
Gecko/20040616
X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: Message Service Style
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <uu**************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: p548374B5.dip.t-dialin.net 84.131.116.181
Lines: 1
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP14
.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8174
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
hi,
I implemented WS-Eventing for the Apache Axis Framework and now i want
to build a small prototyp client in .Net
(cause a whole WS-Eventing impl. is not possible with .Net, cause it
dous not support latest WS-Addressing spec)
Now i'm searching for a way to handle Notifications(SOAP messages with
unpredicted SOAPBody content), in axis i use a MsgProvider(Service style
Message), which lets me the control what to do with the SOAP body contents.
Is there anything similar in the .Net framework? A way to deal with the
SOAPenvelope myself, without calling a method.
thanx for any hints tips and tricks
stefan