Bug 4691 - App stops without error/exception in debugger mode when calling WCF service via slsvcutil generated proxy
Summary: App stops without error/exception in debugger mode when calling WCF service v...
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-04-27 09:15 UTC by Ben
Modified: 2013-12-05 18:34 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Ben 2012-04-27 09:15:18 UTC
I am attempting to call a wcf service and return the results in monotouch.  This works fine when the wcf service just has one of my methods and I generate the proxy and call from mono touch.  

However, when the service has two methods and I generate the proxy and call from mono touch, it will successfully send to the wcf service and the service will generate a response (I have added logging in the service to confirm this), yet mono touch will not hit the handler that receives the response. The app in the debugger just stops without error/exception.  I think it is somehow choking trying to translate the result via the proxy.  

I should add that the wcf methods both return custom objects and are fairly complex objects, yet they both work perfectly fine when only one is in the wcf service and I generate the proxy and call from mono touch.  Having both in the wcf at the same time and generating the proxy is what causes the problem.  I have also discovered that switching the order of the two methods in the wcf and regenerating the proxy fixes the problem as well, but I assume this problem will creep up as more methods are added again.

All setups work fine calling from a windows client also. I have turned on all exceptions in the debugger options yet nothing is thrown.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-05-17 08:57:57 UTC
Can you attach a complete and working test project where I can try this out? I don't see anything immediately wrong here, so I'll need a complete test case to figure out what's going on.
Comment 4 PJ 2013-11-19 17:04:01 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 5 PJ 2013-12-05 18:34:03 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.