473,487 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Message Service Style

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
Nov 23 '05 #1
1 1328
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

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4064
by: Mike Fiedler | last post by:
On a client web services request, I have a SoapExtension that is adding a header to the message in the BeforeSerialize stage. If the Web Service request is for an operation with...
0
269
by: Mike Fiedler | last post by:
On a client web services request, I have a SoapExtension that is adding a header to the message in the BeforeSerialize stage. If the Web Service request is for an operation with...
3
3116
by: GT | last post by:
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The...
14
1866
by: needin4mation | last post by:
I have this in my web service: public XmlDocument GetDataFromDB(string name) { .... do some stuff with name variable..on the database... return the XmlDocument to my datagrid; } Now, in my...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7349
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5442
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4874
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
600
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.