[Mono-list] How to debug SOAP webservice
Andrus
kobruleht2 at hot.ee
Tue Dec 23 16:10:47 EST 2008
I created SOAP webservice with works OK from VS IDE.
When this web service is hosted in mod_mono/Apache, calling it returns
error:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Exception
has been thrown by the target of an
invocation.</faultstring></soap:Fault></soap:Body></soap:Envelope>
I want to find stack trace or line number causing exception.
I tried the following:
1. Invoked mod-mono-server in console window using
c:\mono/bin/mod-mono-server.bat --address 127.0.0.1 --port
2000 --applications /:./ --nonstop --root
I:/raamat/MyAppWeb/SilverlightApplication4_Web --master --verbose
Console window shows some output from web service but does not show any
information
about exception nor exception text.
2. In web.config file setting debug to true:
<compilation debug="true" defaultLanguage="c#" explicit="true"
strict="false" >
output text nor console output are not changed.
How to determine which line of code causes exception or find stack trace ?
Andrus.
More information about the Mono-list
mailing list