Hello WSIF users,
For an application handling different types of web services, I'd like to map
all messages to java.lang.String instances that contain the raw XML for each
part. How can I do this?
I've tested various possibilities on a client that returns an xsd:float and
all of them give back xsd:float as java.lang.Float.
1) Not setting the mapper in my WSIFServiceFactory or setting it to
"org.apache.wsif.mapping.WSIFDefaultMapper".
2) Overriding WSIFMapper to map everything to "java.lang.String" and setting
it in WSIFServiceFactory.
3) Overriding WSIFMappingConvention to map everything to "java.lang.String"
and setting it in WSIFServiceFactory.
4) calling mapType(new QName("{http://www.w3.org/2001/XMLSchema}float"),
String.class) on the WSIFService instance.
Can somebody point out to me what I'm doing wrong here?
The service I'm using to test this is
http://www.xmethods.net/sd/2001/TemperatureService.wsdl which contains a soap
binding.
Axis version: 1.1
WSIF version: current CVS
Thanks, Jos