From: Claudio G. <cg...@it...> - 2014-01-21 08:24:18
|
I tested the first one and the web service replies to me the following message: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.IOException: There is not enough space on the disk. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count) at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer) at System.IO.FileStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at System.IO.StreamWriter.Dispose(Boolean disposing) at System.IO.TextWriter.Dispose() at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources) at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources) at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources) at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type) at System.Web.Services.Protocols.SoapServerType..ctor(Type type, WebServiceProtocols protocolsSupported) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) --- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope> I suppose they have problems on the server side :-) Jolie in this case works properly because it prints out INFO: [main.ol] Thrown unhandled fault: InternalServerError Indeed the fault is not specified into the interface (but it is correct because it is not defined into the WSDL). As far as the second Web Service provider I am not able to open your wsdl link, so I found this one: http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl which does not work. I suppose the problem is related to the fact that the style is "rpc" that is not well supported by Jolie (there is just a first prototype code for rpc, thus it could have a lot of bugs and lacks) Bye Claudio -------------------------------------------------------------- Claudio Guidi Ph.D. italianaSoftware s.r.l. via Coralli, 66 - 40026 Imola (BO), Italy http://www.italianasoftware.com/ http://www.jolie-lang.org Phone: +39 0542 788201 Mobile: +39 347 0694065 Fax: +39 0542 628048 -------------------------------------------------------------- Nota di riservatezza: Il presente messaggio, corredato dei relativi allegati, contiene informazioni da considerarsi strettamente riservate, ed è destinato esclusivamente al destinatario sopra indicato, il quale è l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità,diffonderlo. Chiunque ricevesse questo messaggio per errore o comunque lo leggesse senza esserne legittimato è avvertito che trattenerlo, copiarlo,divulgarlo, distribuirlo a persone diverse dal destinatario è severamente proibito, ed è pregato di rinviarlo immediatamente al mittente distruggendone l'originale. Grazie per la collaborazione. 2014/1/21 Fabrizio Montesi <fam...@gm...> > Dear all, > Matteo (in CC) is having problems running the examples in the web > services section. > > In particular, the example here: > > http://www.jolie-lang.org/?top_menu=documentation&sideMenuAction=web_services/web_services > > does not work for unknown reason (yet ;-) ) and the example in: > > http://www.jolie-lang.org/?top_menu=documentation&sideMenuAction=web_services/wsdl2jolie > > does not work because the web service seems not to exist anymore. > > > @Claudio and Matthias: since you're dealing with wsdl/soap/xml lately, > any ideas on what might be the cause of the first error? > > @All: any ideas on what services we might use to replace those in the > docs that do not exist anymore? For example this looks cool: > http://graphical.weather.gov/xml/ > http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl > but it appears that wsdl2jolie does not like it for some reason. > > > Cheers, > Fabrizio. > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Jolie-devel mailing list > Jol...@li... > https://lists.sourceforge.net/lists/listinfo/jolie-devel > |