473,378 Members | 1,138 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,378 software developers and data experts.

Client trying to retrieve complete <soapenv:Fault> from Tomcat/Axi

Hi,

I'm writing a C# client which subscribes to a Tomcat/Axis service. Now this
task has been relatively easy, up to this point and I’m hoping you might be
able to provide some input, or a pointer to some input. Up to this point
I've written Java code almost exclusively, hence my ignorance of the .Net
paradigm.

I need to create something which captures and returns the entire SOAP Fault
message from the server, in other words everything between the
<soapenv:Fault> tags inclusive. It has to be basically a raw xml output. It
appears as though I have the SoapException object as my disposal, but
although this appears to contain elements of the Fault message
<detail></detail> , it does not contain the entire fault message intact.

Could you suggest a way to obtain the entire fault message? I don't want to
write a parser and It’s been a while since I’ve worked with Microsoft’s
products and I’m a little rusty, but have scoured the msdn for an answer
without much luck. Also, is there a detailed listing of the rules regarding
regarding changing the Reference.cs file in my project? Thanks!! Peter
Nov 23 '05 #1
1 1395
Hi,

can you serialize SoapException the object to XML?

Hope this helps,

Marvin Smit.

On Fri, 7 Oct 2005 12:58:01 -0700, TryinCatchin
<Tr**********@discussions.microsoft.com> wrote:
Hi,

I'm writing a C# client which subscribes to a Tomcat/Axis service. Now this
task has been relatively easy, up to this point and I’m hoping you might be
able to provide some input, or a pointer to some input. Up to this point
I've written Java code almost exclusively, hence my ignorance of the .Net
paradigm.

I need to create something which captures and returns the entire SOAP Fault
message from the server, in other words everything between the
<soapenv:Fault> tags inclusive. It has to be basically a raw xml output. It
appears as though I have the SoapException object as my disposal, but
although this appears to contain elements of the Fault message
<detail></detail> , it does not contain the entire fault message intact.

Could you suggest a way to obtain the entire fault message? I don't want to
write a parser and It’s been a while since I’ve worked with Microsoft’s
products and I’m a little rusty, but have scoured the msdn for an answer
without much luck. Also, is there a detailed listing of the rules regarding
regarding changing the Reference.cs file in my project? Thanks!! Peter

Nov 23 '05 #2

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

Similar topics

1
by: Steve | last post by:
I want to ask if .NET cannot handle WSDL with exception <wsdl:fault> element? <wsdl:fault name="CreditCardWizardException"> <soap:fault name="CreditCardWizardException" use="encoded"...
4
by: John | last post by:
I have WSDL file with <wsdl:fault> element. When I use Websphere WSAD to generate Java proxy classes from WSDL, I am able to see the custom exception classes that correspond to the <wsdl:fault>...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.