Na wstepie - jestem totalnie poczatkujaca w c#, wsdl itp, a mam do napisania projekcik na zaliczenie i mam pewien problem:
mam takiego wsdl: http://ws.xara.com/graphicrender/render3d.wsdl
opis: http://ws.xara.com/graphicrender/soap/render3d/info.asp
i chcialabym w c# wyciagnac liste czcionek z pomoca fukcji GetFonts, kod ktory zrobilam jest nastepujacy:
list3Dfonts.Items.Clear();
net3d.RenderServer3D service = new net3d.RenderServer3D();
object[] listaFont = service.GetFonts();
foreach (object child in listaFont)
{
list3Dfonts.Items.Add(child);
}
listaFont = null;
net3d - to nazwa referncji
list3Dfonts - to element lista, ktory ma zostac wypelniony
jednakze zawsze wywala mi blad:
Client found response content type of 'text/html', but expected 'text/xml'.
The request failed with the error message:
--
<html><head><title>Server Application Error</title></head>
<body><h1>Server Application Error</h1>The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.</body></html>
--.
podkreslajac object[] listaFont = service.GetFonts();
wiem ze tak jak to napisalam jest zle, beznadzijnie itp, itd, ale nie mam totalnie pomyslu jak napisac to inaczej.
Z gory dziekuję za pomoc.</b>