473,385 Members | 1,402 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Tracking the success of SOAP calls

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
6 2095
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Glauco | last post by:
I'm trying to use SOAPpy 0.10.1 for a client but is difficult to handle easly Is this library in use or i'm using an OLD death library ? I'm alone in find a lot of problem in a SOAP Client ?...
0
by: Kyle K | last post by:
I am getting occasional errors when invoking calls on the low level API of the SOAP library (3.0 Toolkit). The HRESULT code is always 0x800A1518. The _com_error Description is "Connector:Http...
0
by: EagleRed | last post by:
I have written a Web service that I must access from a modified VC++ 6.0 console application. I am using the SOAP Toolkit version 2.0. I am using the HttpConnector, and the SoapSerializer to...
0
by: Leonid | last post by:
Hello, Please help me to resolve next problem: I have Web service installed on the network and I can communicate with it via WSDL file from several applications including VC++6 application...
0
by: Sham Ramakrishnan | last post by:
guys... I have a SOAP service at my clients that I have to use to call the exposed methods... well... there are supposedly 3 ways in which I can look at doing it... 1. Create a proxy for the...
3
by: usenetaccount | last post by:
In a newly created test app, to maximize client performance I tried to make two SOAP method calls in tandem (the soap methods execute some specified query), as each call includes a large amount of...
52
by: frankgerlach | last post by:
>From my simple performance tests of SOAP it seems that it is about ten times slower than binary object request protocols such as RMI, IIOP or SimpleORB. Is this also YOUR experience ?
31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
1
by: libsfan01 | last post by:
Hi all Can anyone explain the relationship between SOAP and XMLHttpRequest in Javascript? What actually is SOAP? and how does it relate to the process of transferring data client-side through...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.