Hello all,

Thanks for your reply, Alek.

I'd like to access the DOM directly in a provider independent manner, but 
cannot find how to get the DOM nodes corresponding to the WSDL Messages from 
WSIF. Can you give me a pointer to the required functions/classes. Grepping 
WSIF javadoc for 'DOM' yields nothing.

I need to access all services dynamically.

Best regards, Jos


On Friday 13 August 2004 21:33, Aleksander Slominski wrote:
> Jos van den Oever wrote:
> >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?
>
> hi,
>
> as you are going to send actually XML i would try to use DOM Node
> instead and parse XML string into DOM node if necessary?
>
> did you try to do this?
>
> thanks,
>
> alek
>
> >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

Reply via email to