Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_espanol thread: Problemas con los servicios WEB


Message #1 by =?iso-8859-1?Q?Antonio_Ruiz_Cort=E9s?= <aruiz@l...> on Thu, 4 Jan 2001 20:37:48 +0100
He intentado montar un servicio WEB de conversión de formatos de imágenes.

El prototipo de la unica operación del servicio es la siguiente:



[ WebMethod ]

	 public bool Convertir(File fichEnt, File fichSal, ImageFormat form)



Cuando intento iniciar la página ASP+ que contiene el servicio obtengo el

siguient error:



---------------------------------------

System.Exception: Error reflecting method ConvertidorBitmap.Convertir. --->

System.Exception: Error reflecting 'fichEnt'.

Can not serialize 'System.IO.File' because it does not have default public

constructor. ---> System.Exception: Can not serialize 'System.IO.File'

because it does not have default public constructor.

   at System.Xml.Serialization.TypeScope.ImportTypeDesc(Type type)

--------------------------------------



¿cuál es la mejor solución para construir servicios que puedan intercambiar

parámetros de tipo File?







Antonio Ruiz







---

Usted está suscrito a aspx_espanol como: 

$subst('Recip.EmailAddr')

Para darse de baja, envíe un mensaje en blanco a 

leave-aspx_espanol-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index