[Mono-bugs] [Bug 461309] New: Wrong code generated importing Mono web service to Visual Studio SilverLight application
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Dec 21 09:06:24 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=461309
Summary: Wrong code generated importing Mono web service to
Visual Studio SilverLight application
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web.Services
AssignedTo: atsushi at ximian.com
ReportedBy: kobruleht2 at hot.ee
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Steps to reproduce:
1. Run sample NumberService.asmx from Mono page "Creating Web Services" using
Apache and mod_mono
2. In MS VWD2008 SP1 Silverlight 2 RTM application, right click in Service
References and select
"Add Service Reference"
3. Enter
http://localhost/NumberService.asmx?wsdl
to Address: field and press OK
4. Re-build solution in VS2008.
Observed: 17 errors and 5 warnings:
Warning 1 Custom tool warning: Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:binding[@name='MathServiceHttpGet']
Warning 2 Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
XPath to wsdl:binding:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:binding[@name='MathServiceHttpGet']
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:service[@name='MathService']/wsdl:port[@name='MathServiceHttpGet']
Warning 3 Custom tool warning: Cannot import wsdl:binding
Detail: The required WSDL extension element 'binding' from namespace
'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:binding[@name='MathServiceHttpPost']
Warning 4 Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is
dependent on.
XPath to wsdl:binding:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:binding[@name='MathServiceHttpPost']
XPath to Error Source:
//wsdl:definitions[@targetNamespace='http://tempuri.org/NumberService']/wsdl:service[@name='MathService']/wsdl:port[@name='MathServiceHttpPost']
Warning 5 Custom tool warning: Endpoint 'MathServiceSoap12' at address
'http://localhost/NumberService.asmx' is not compatible with Silverlight 2.
Skipping..
Error 6 The type or namespace name
'XmlSerializerFormatAttributeAttribute' does not exist in the namespace
'System.ServiceModel' (are you missing an assembly reference?)
Error 7 'System.ServiceModel.XmlSerializerFormatAttribute' is
inaccessible due to its protection level
..
Using same service through ASP.NET development server works OK.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list