473,406 Members | 2,894 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,406 software developers and data experts.

Webserice Client exception message

I have a client app consuming a web service.
Web service has reference to a com dll.

Right now client app is diaplying error in the following format.
"Server was unable to process request. --Error - order number does not
exist"

I dont want to display "Server was unable to process request. -->" part of
error message. COM dll raises the error messge "Error - order number does not
exist"

I am not sure why the web service is appending com error message.

To summarize, I want to display ONLY "Error - order number does not exist"
NOT "Server was unable to process request. --Error - order number does not
exist"

Any help is appreciated.

Aug 17 '06 #1
1 938
How you are passing the error message back to the client? I guess it's
Exception. in that case use SOAPFault. You can specify exactly what you want.
In client application you can retrieve your message from the fault.

"VBTECH" wrote:
I have a client app consuming a web service.
Web service has reference to a com dll.

Right now client app is diaplying error in the following format.
"Server was unable to process request. --Error - order number does not
exist"

I dont want to display "Server was unable to process request. -->" part of
error message. COM dll raises the error messge "Error - order number does not
exist"

I am not sure why the web service is appending com error message.

To summarize, I want to display ONLY "Error - order number does not exist"
NOT "Server was unable to process request. --Error - order number does not
exist"

Any help is appreciated.
Aug 22 '06 #2

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

Similar topics

7
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException...
2
by: ALI-R | last post by:
Hi All, I have a webservice on a win 2003 server and I'm trying to call it from another win2003 server which is hosting my sharepoint portal server. I am trying to call that webservice from a...
4
by: jens Jensen | last post by:
I have just realised that i can no longer add web reference as i usually do when it is .net to .net. webservice-webservice client. When i use the "add web refrence " men with the url of the...
3
by: =?Utf-8?B?UmFkZWsgxb11amE=?= | last post by:
Hi. I have apllication running on WCE 5.0 - mobile computer Symbol Terminal MC9090. I calling sql insert command from the smart device by calling WebService. Sometimes i get Exception Service is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.