Bug 1181 - svcutil Unhandled Exception: System.InvalidOperationException. import type first
Summary: svcutil Unhandled Exception: System.InvalidOperationException. import type first
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-03 04:42 UTC by Arjan Vermunt
Modified: 2011-10-20 11:58 UTC (History)
4 users (show)

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


Attachments
Command and stack trace of Exception (7.07 KB, text/rtf)
2011-10-03 04:42 UTC, Arjan Vermunt
Details

Description Arjan Vermunt 2011-10-03 04:42:59 UTC
Created attachment 554 [details]
Command and stack trace of Exception

When I try to generate the proxy for a wcf service with SvcUtil I get an unhanded exception.

Unhandled Exception: System.InvalidOperationException: schema type 'http://schemas.datacontract.org/2004/07/Piramide.Declaraties.LLBL.EntityClasses:ArrayOfGebruikerEntity' has not been imported yet. Import it first.

The command and the stack trace of the exception is attached. The wcf service wraps a SoapXmlEndpointFactory of a wcf ria service.

When I generate the proxy with SlSvcUtil the code is generated correctly, but only the async methods are generated.
Comment 2 Joseph Hill 2011-10-20 11:58:44 UTC
From an email exchange with Arjan, I did confirm that this proxy was generated with 
svcutil -- monotouch

Note You need to log in before you can comment on or make changes to this bug.