[Mono-list] Consume webservice from .Net Studio
Omar, Aakil
AOmar1@fnb.co.za
Thu, 1 Jul 2004 08:52:24 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C45F37.F701B220
Content-Type: text/plain
I apologize in advance if this question has been asked before, I did not
find it in the last two months archives.
I am unable to consume a working mono webservice from Visual Studio .Net
2003. I am using XSP as the webserver. The silly M$ message that one get is
"Error in generating XML document". I have not been able to find a more
meaningfull message yet. Looking at the two different service descriptions
rendered by .Net and Mono one of the obvious things is that Mono seems to
ignore the
[WebService(Namespace="http://www.eostech.co.za/webservices/")]
Attribute and renders xmlns="http://tempuri.org/ rather.
I do not think that is the issue however. Without digging through the
Soap/WSDL spec is there someone on this list that can enlighten me please.
Thanks in advance
Aakil
P.S. using Mono Beta 3, Fedora Core 2, and XSP
___________________________________________________________________________________________________
The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group or its management. The information in this e-mail is confidential
and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.
________________________________
------_=_NextPart_001_01C45F37.F701B220
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:=
schemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asci=
i">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 11">
<meta name=3DOriginator content=3D"Microsoft Word 11">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C45F48.7D7992E0">
<!--[if gte mso 9]><xml>
=20<o:OfficeDocumentSettings>
=20 <o:DoNotRelyOnCSS/>
=20</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
=20<w:WordDocument>
=20 <w:SpellingState>Clean</w:SpellingState>
=20 <w:GrammarState>Clean</w:GrammarState>
=20 <w:DocumentKind>DocumentEmail</w:DocumentKind>
=20 <w:EnvelopeVis/>
=20 <w:ValidateAgainstSchemas/>
=20 <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
=20 <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
=20 <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
=20 <w:Compatibility>
=20 <w:BreakWrappedTables/>
=20 <w:SnapToGridInCell/>
=20 <w:WrapTextWithPunct/>
=20 <w:UseAsianBreakRules/>
=20 <w:UseWord2002TableStyleRules/>
=20 </w:Compatibility>
=20 <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
=20</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
=20<w:LatentStyles DefLockedState=3D"false" LatentStyleCount=3D"156">
=20</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
=20/* Font Definitions */
=20@font-face
=09{font-family:Courier;
=09panose-1:2 7 4 9 2 2 5 2 4 4;
=09mso-font-alt:"Courier New";
=09mso-font-charset:0;
=09mso-generic-font-family:modern;
=09mso-font-format:other;
=09mso-font-pitch:fixed;
=09mso-font-signature:3 0 0 0 1 0;}
=20/* Style Definitions */
=20p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{mso-style-parent:"";
=09margin:0cm;
=09margin-bottom:.0001pt;
=09mso-pagination:widow-orphan;
=09font-size:12.0pt;
=09font-family:"Times New Roman";
=09mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
=09{color:blue;
=09text-decoration:underline;
=09text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
=09{color:purple;
=09text-decoration:underline;
=09text-underline:single;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09mso-style-noshow:yes;
=09mso-ansi-font-size:10.0pt;
=09mso-bidi-font-size:10.0pt;
=09font-family:Arial;
=09mso-ascii-font-family:Arial;
=09mso-hansi-font-family:Arial;
=09mso-bidi-font-family:Arial;
=09color:windowtext;}
span.SpellE
=09{mso-style-name:"";
=09mso-spl-e:yes;}
span.GramE
=09{mso-style-name:"";
=09mso-gram-e:yes;}
@page Section1
=09{size:612.0pt 792.0pt;
=09margin:72.0pt 90.0pt 72.0pt 90.0pt;
=09mso-header-margin:35.4pt;
=09mso-footer-margin:35.4pt;
=09mso-paper-source:0;}
div.Section1
=09{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
=20/* Style Definitions */=20
=20table.MsoNormalTable
=09{mso-style-name:"Table Normal";
=09mso-tstyle-rowband-size:0;
=09mso-tstyle-colband-size:0;
=09mso-style-noshow:yes;
=09mso-style-parent:"";
=09mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
=09mso-para-margin:0cm;
=09mso-para-margin-bottom:.0001pt;
=09mso-pagination:widow-orphan;
=09font-size:10.0pt;
=09font-family:"Times New Roman";
=09mso-ansi-language:#0400;
=09mso-fareast-language:#0400;
=09mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple style=3D'tab-interval:36.0p=
t'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>I apologize in advance if this question has been asked=
before, I did not find it in the last two months archives.<o:p></o:p></sp=
an></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>I am unable to consume a working mono <span class=3DSp=
ellE>webservice</span>
from Visual Studio .Net 2003. I am using XSP as the <span class=3DSpellE>=
webserver</span>.
The silly M$ message that one get is “Error in generating XML docum=
ent”.
I have not been able to find a more <span class=3DSpellE>meaningfull</spa=
n>
message yet. Looking at the two different service descriptions rendered b=
y .Net
and Mono one of the obvious things is that Mono seems to ignore the </spa=
n></font><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family=
:"Courier New"'>
[<span class=3DSpellE><span class=3DGramE>WebService</span></span><span
class=3DGramE>(</span>Namespace=3D"http://<span class=3DSpellE>www.e=
ostech.co.za/webservices</span>/")]<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'>Attribute and renders </span></font><span class=3DSpel=
lE><font
size=3D2 color=3Dmaroon face=3DCourier><span style=3D'font-size:10.0pt;fo=
nt-family:
Courier;color:maroon'>xmlns</span></font></span><font size=3D2 color=3Dma=
roon
face=3DCourier><span style=3D'font-size:10.0pt;font-family:Courier;color:=
maroon'>=3D"</span></font><font
size=3D2 color=3Dpurple face=3DCourier><span style=3D'font-size:10.0pt;fo=
nt-family:
Courier;color:purple'>http://tempuri.org/ rather. <o:p></o:p></span></fon=
t></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'>I do not think that is the issue however. Without di=
gging
through the Soap/WSDL spec is there someone on this list that can enlight=
en me please.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'>Thanks in advance<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'>Aakil<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'>P.S. using Mono Beta 3, Fedora Core 2, and XSP<o:p><=
/o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'><span style=3D'mso-spacerun:yes'> </span><o:p><=
/o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DCourier><span style=3D'font-si=
ze:10.0pt;
font-family:Courier'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size=
:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'> </span><o:p></o=
:p></span></font></p>
</div>
<P align=3Dcenter> =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 ___________________________________________</P>
<P>The views expressed in this email are, unless otherwise stated, those =
of the=20
author and not those of the FirstRand Banking Group or its management.&nb=
sp; The=20
information in this e-mail is confidential and is intended solely for the=
=20
addressee. Access to this e-mail by anyone else is unauthorised. If you a=
re not=20
the intended recipient, any disclosure, copying, distribution or any acti=
on=20
taken or omitted in reliance on this, is prohibited and may be unlawful. =
Whilst=20
all reasonable steps are taken to ensure the accuracy and integrity of=20
information and data transmitted electronically and to preserve the=20
confidentiality thereof, no liability or responsibility whatsoever is acc=
epted=20
if information or data is, for whatever reason, corrupted or does not rea=
ch its=20
intended destination.</P>
<P align=3Dcenter>__________________________________</P>=20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20 =20
=20<HR>
<P> </P>
<P></P>
</body>
</html>
------_=_NextPart_001_01C45F37.F701B220--