Hi,

I can't find any useful current documentation describing type mapping
from java types to SOAP. I'm sure there are lot of documents but I can't
find them :-(
http://www-106.ibm.com/developerworks/webservices/library/ws-soapmap1/?open&l=930,t=grws
looks very good but it's outdated.

I have for example the following class:

public class file implements java.io.Serializable {
  public String filename;
  public String md5sum;
  public long   mtime;
}

I'd like to return a 'file'. The automatically generated wsdl file looks
good for me, a complexType is constructed, but when I call the method
that should return the file I get an exception:

java.io.IOException: No serializer found for class
com.tmueller.ws.SyncBalancer.datatypes.file in registry
org.apache.axis.encoding.TypeMappingImpl@9fe84e

I tried both, using the deployment descriptor and
org.apache.axis.encoding.TypeMapping but I can't get it work.

Does anyone have an example how to do that?

Thanks a lot!


-- 
MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B)

Reply via email to