Checking MarketingWebService
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Checking MarketingWebService




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Checking MarketingWebService  
Tbone


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-09-06 10:52 PM

Has anyone written anything that checks that the web service is running
before trying to consume?

We are running price breaks by quanity in Discount Manager. This has been a
weak link in our web app and I'd like to check that the service is available
,
if not bypass executing the code that displays the price break.





[ Post a follow-up to this message ]



    RE: Checking MarketingWebService  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-10-06 12:53 PM

Hi,

I don't know if anybody has written some wrapped classes to perform the
checking.

However it shouldn't be difficult if you use some code to do it. To see if
the WebService site is online, just use HttpWebRequest to send a request to
the server and see if the response is 200. To check if the web service is
available, you can call it at first and try/catch this.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.





Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register