Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/08/2004, 16:27
ron_jose
 
Fecha de Ingreso: abril-2004
Mensajes: 43
Antigüedad: 20 años, 1 mes
Puntos: 0
Problemas con WebSevice

El problema es muy extraño.
Primero tengo unsos web service funcionado perfectamente, las mayoria de estos web service retorna un objeto que llamo Mensaje, pero este objeto parace que es muy complicado para serializarce (talvez porque utiliza herencia).
Entonces decidi hacer uno mucho mas sencillo llamando MensajeWS despues de hacer un cast de Mensaje a MensajeWS todo funciona bien, pero cuando ya puse el cast en todos los metodos la cosa fallo y con solo que lo quite en un solo metodo todo vuelve a la normalidad, no importa cual.
No solo falla ese webservice especifico, fallan todos.

el error que meda es este:

/************************************/
System.IO.FileNotFoundException: File or assembly name yptonqcq.dll, or one of its dependencies, was not found.
File name: "yptonqcq.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[] mappings)
at System.Web.Services.Protocols.XmlReturn.GetInitial izers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.XmlReturnWriter.GetI nitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetIni tializers(Type type, LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor (Type type)
at System.Web.Services.Protocols.HttpServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocol.SetCo ntext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\DOCUME~1\JCHARP~1\ASPNET\LOCALS~1\Temp\yptonqcq .dll
LOG: Appbase = file:///D:/Ronald/Aplicacion/CapaPresentacion/WSbpm
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/DOCUME~1/JCHARP~1/ASPNET/LOCALS~1/Temp/yptonqcq.dll.
/************************************/

Esos archivos que dice que no encuentra no existen y ademas siempre pide uno diferente.
Si alguien me puede decir algo al repescto por esto es muy rarro.