473,748 Members | 2,223 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2131
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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P
08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P
08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7877
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P 08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.publi c.dotnet.framew ork.webservices
Message-ID: <d2************ *@TK2MSFTNGXA01 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
Lines: 284
Path: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7887
NNTP-Posting-Host: tomcatimport2.p hx.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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
microsoft.publi c.dotnet.framew ork.webservices :7877
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P 08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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.publi c.dotnet.framew ork.webservices
Message-ID: <d2************ *@TK2MSFTNGXA01 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
Lines: 284
Path: TK2MSFTNGXA01.p hx.gbl
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7887
NNTP-Posting-Host: tomcatimport2.p hx.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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7877
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host:
cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:

TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P
08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 199.71.241.10
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
microsoft.publi c.dotnet.framew ork.webservices :7908
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Yes it helped.

Thank you,
Alan

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:xa******** *****@TK2MSFTNG XA01.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.publi c.dotnet.framew ork.webservices
Message-ID: <d2************ *@TK2MSFTNGXA01 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
Lines: 284
Path: TK2MSFTNGXA01.p hx.gbl
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7887
NNTP-Posting-Host: tomcatimport2.p hx.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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7877
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** *****@TK2MSFTNG XA01.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(betwe en 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******@newsg roup.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host:
cpe004005cf3829-cm000a73663c1f. cpe.net.cable.r ogers.com
70.24.251.122
Path:

TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA02.phx.gbl!T K2MSFTNGXA03.ph x.gbl!TK2MSFTNG P
08.phx.gbl!TK2M SFTNGP10.phx.gb l
Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :7871
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
6071
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 ? I'm going crazy because function are not documented . Exist another solution for di a SOAP CLient ??
0
4945
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 error while parsing server's response. HRESULT=0x800A1526 - Connector:Unspecified HTTP error. HRESULT=0x800A1518". The _com_error ErrorMessage is "Unknown error 0x800A1518". The specific method that I am noticing the error on is
0
2244
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 construct the SOAP envelope for the request. I am able to connect to the Web service and to invoke the call. In the ASP.NET (C# code) I can see the call be made from the client. However, all the input parameters are null. All the calls in the client to...
0
4199
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 using SOAP Toolkit 2. After that I installed VC++ .NET 2003 and tried to generate proxy class using 'Add Web Reference .' menu (SProxy.exe). This wizard just failed to generate right proxy class because it always returns S_OK error code, but can't...
0
1618
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 SOAP service using the WSDL.exe utility and use the proxy directly by creating instances of the proxy class like a SOAP Client. 2. Create a proxy for the SOAP service using the WSDL.exe utility, compile it into an assembly and use the resulting...
3
3990
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 idle time by the client as it waits for a query to execute and return a dataset. As a test, I initially wrote two versions: ' // Sequential & Synchronous Dim webobj As com.mycompany.webobject Dim ds1 As System.Data.DataSet Dim ds2 As...
52
5804
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
2848
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 perspective, should be as simple as defining an object and viewing a parameter on that object. My boss has worked with it and I'm still tryin'... TIA! -- TFWBWY...A
1
5984
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 the aforementioned method?
0
8822
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9528
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9236
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8235
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6072
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4592
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3298
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 we have to send another system
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.