By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,652 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,652 IT Pros & Developers. It's quick & easy.

Tracking the success of SOAP calls

P: n/a
Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage ** at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods; however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan
Nov 23 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP
08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage ** at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan

Nov 23 '05 #2

P: n/a
Hi Steven,

Do you kow any article or white paper that explains how to track SOAP calls
with SOAP extentions?

Thank you for help
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:CQ*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP
08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP
web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage **
at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan

Nov 23 '05 #3

P: n/a
Hi Alan,

Of course, there're many good tech articles in MSDN discussing on how to
apply soapExtension in asp.net webservice. here is some:

#Fun with SOAP Extensions
http://msdn.microsoft.com/library/en...001.asp?frame=
true

#Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
http://msdn.microsoft.com/msdnmag/is...tion/default.a
spx

#Using SOAP Extensions in ASP.NET
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Also, I'm not sure whether you've kept an eye on the WSE(Webservice
enchancement), which has provided advanced features for serve/consume XML
Webservice on .net platform, and WSE's fundamental (at serverside) is just
based on a custom SoapExtension. If you have interests, you can also have a
look.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Tracking the success of SOAP calls
Date: Tue, 13 Sep 2005 07:28:54 -0400
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <uv**************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7877
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi Steven,

Do you kow any article or white paper that explains how to track SOAP calls
with SOAP extentions?

Thank you for help
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:CQ*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP 08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP
web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage **
at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan


Nov 23 '05 #4

P: n/a
Hi Alan,

Does the info in my last reply help a little? If there're anything else we
can help, please feel free to post here.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
X-Tomcat-ID: 22009447
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
<uv**************@TK2MSFTNGP14.phx.gbl>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_0001_B2BBA60B"
Content-Transfer-Encoding: 7bit
From: st*****@online.microsoft.com (Steven Cheng[MSFT])
Organization: Microsoft
Date: Wed, 14 Sep 2005 01:24:26 GMT
Subject: Re: Tracking the success of SOAP calls
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Message-ID: <d2*************@TK2MSFTNGXA01.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
Lines: 284
Path: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7887
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi Alan,

Of course, there're many good tech articles in MSDN discussing on how to
apply soapExtension in asp.net webservice. here is some:

#Fun with SOAP Extensions
http://msdn.microsoft.com/library/en...001.asp?frame=
true

#Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
http://msdn.microsoft.com/msdnmag/is...tion/default.a
spx

#Using SOAP Extensions in ASP.NET
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Also, I'm not sure whether you've kept an eye on the WSE(Webservice
enchancement), which has provided advanced features for serve/consume XML
Webservice on .net platform, and WSE's fundamental (at serverside) is just
based on a custom SoapExtension. If you have interests, you can also have a
look.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Tracking the success of SOAP calls
Date: Tue, 13 Sep 2005 07:28:54 -0400
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <uv**************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
microsoft.public.dotnet.framework.webservices:7877
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi Steven,

Do you kow any article or white paper that explains how to track SOAP calls
with SOAP extentions?

Thank you for help
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:CQ*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP 08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP
web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage **
at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan


Nov 23 '05 #5

P: n/a
Yes it helped.

Thank you,
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:xa*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Does the info in my last reply help a little? If there're anything else we
can help, please feel free to post here.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
X-Tomcat-ID: 22009447
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
<uv**************@TK2MSFTNGP14.phx.gbl>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_0001_B2BBA60B"
Content-Transfer-Encoding: 7bit
From: st*****@online.microsoft.com (Steven Cheng[MSFT])
Organization: Microsoft
Date: Wed, 14 Sep 2005 01:24:26 GMT
Subject: Re: Tracking the success of SOAP calls
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Message-ID: <d2*************@TK2MSFTNGXA01.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
Lines: 284
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7887
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi Alan,

Of course, there're many good tech articles in MSDN discussing on how to
apply soapExtension in asp.net webservice. here is some:

#Fun with SOAP Extensions
http://msdn.microsoft.com/library/en...001.asp?frame=
true

#Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
http://msdn.microsoft.com/msdnmag/is...tion/default.a
spx

#Using SOAP Extensions in ASP.NET
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Also, I'm not sure whether you've kept an eye on the WSE(Webservice
enchancement), which has provided advanced features for serve/consume XML
Webservice on .net platform, and WSE's fundamental (at serverside) is just
based on a custom SoapExtension. If you have interests, you can also have
a
look.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Tracking the success of SOAP calls
Date: Tue, 13 Sep 2005 07:28:54 -0400
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <uv**************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7877
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi Steven,

Do you kow any article or white paper that explains how to track SOAP
calls
with SOAP extentions?

Thank you for help
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:CQ*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain
webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host:
cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:

TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP
08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP
web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage **
at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan



Nov 23 '05 #6

P: n/a
My pleasure!

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
<uv**************@TK2MSFTNGP14.phx.gbl>
<d2*************@TK2MSFTNGXA01.phx.gbl>
<xa*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Tracking the success of SOAP calls
Date: Thu, 15 Sep 2005 09:00:44 -0400
Lines: 212
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <uw**************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 199.71.241.10
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
microsoft.public.dotnet.framework.webservices:7908
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Yes it helped.

Thank you,
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:xa*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Does the info in my last reply help a little? If there're anything else we
can help, please feel free to post here.

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
X-Tomcat-ID: 22009447
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
<uv**************@TK2MSFTNGP14.phx.gbl>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_0001_B2BBA60B"
Content-Transfer-Encoding: 7bit
From: st*****@online.microsoft.com (Steven Cheng[MSFT])
Organization: Microsoft
Date: Wed, 14 Sep 2005 01:24:26 GMT
Subject: Re: Tracking the success of SOAP calls
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Message-ID: <d2*************@TK2MSFTNGXA01.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
Lines: 284
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7887
NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182

Hi Alan,

Of course, there're many good tech articles in MSDN discussing on how to
apply soapExtension in asp.net webservice. here is some:

#Fun with SOAP Extensions
http://msdn.microsoft.com/library/en...001.asp?frame= true

#Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
http://msdn.microsoft.com/msdnmag/is...tion/default.a spx

#Using SOAP Extensions in ASP.NET
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

Also, I'm not sure whether you've kept an eye on the WSE(Webservice
enchancement), which has provided advanced features for serve/consume XML
Webservice on .net platform, and WSE's fundamental (at serverside) is just
based on a custom SoapExtension. If you have interests, you can also have
a
look.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
References: <Og**************@TK2MSFTNGP10.phx.gbl>
<CQ*************@TK2MSFTNGXA01.phx.gbl>
Subject: Re: Tracking the success of SOAP calls
Date: Tue, 13 Sep 2005 07:28:54 -0400
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
Message-ID: <uv**************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7877
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi Steven,

Do you kow any article or white paper that explains how to track SOAP
calls
with SOAP extentions?

Thank you for help
Alan

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:CQ*************@TK2MSFTNGXA01.phx.gbl...
Hi Alan,

Welcome to MSDN newsgroup.
Regarding on the how to tracking the success of webservice SOAP calls
question, here are some of my understanding and suggestions:

For XML webservice, it is actually exchanged(between client and server)
through plain xml message(soap format). And when a certain
webservice/soap
operations fails, the serverside will generate a <soap:fault> element in
the response message so as to indicate the client that any error occur in
the operation. And for the clientside, the webservice proxy need to raise
proper exception according to the <soap:fault> element's content.

Then, for our scenario, if we'd like to make a centrallized facade to do
the success tracing, I think we can manually parse each response SOAP
message to see whether any soap:fault element exists in the response
message. In .net, the SoapExtension is a good approach, we can use it in
both serverside or clientside for tracing outgoing or incoming message.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "A.M-SG" <al******@newsgroup.nospam>
Subject: Tracking the success of SOAP calls
Date: Mon, 12 Sep 2005 22:50:18 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Og**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host:
cpe004005cf3829-cm000a73663c1f.cpe.net.cable.rogers.com
70.24.251.122
Path:

TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSF TNGXA03.phx.gbl!TK2MSFTNGP
08.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:7871
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi,

We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP
web
services.

The client can send different found transfer request to different web
services.

The problem is upon any interruption (such as power or network outage **
at
the client side **) during the soap call, there is no mechanism for the
client to track whether the SOAP call went successful or not. We are
thinking to use SOAP extensions to track important SOAP web methods;
however
we are not sure that we are taking the right approach.

Are there any best practices for remote clients to track the success of
previous SOAP calls after an un-expected shutdown?

Any help would be appreciated,

Alan




Nov 23 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.