Apache SOAP cant understand Reponse From Dot.net server
mark issac
Greenhorn
Joined: Oct 07, 2004
Posts: 5
posted
0
Hi I have been working on a Solution were I make a Webservice to a Microsoft Information server(.Net).
When I make call to the Webservice I get following message.
No Deserializer found to deserialize a 'http://tempuri.org/:HentSkabelonerPerOrgEnhedResult' using encoding style 'null'.
After Searching in this forum , I found that there was som �problem I Implementet the solution to this that was to deserialize the response putting some more codelines in the java-agent after calling the method invoke My Code is as following as the moment
SOAPMappingRegistry smr = new SOAPMappingRegistry(); StringDeserializer sd = new StringDeserializer (); TypeMappingSerializer ss = new TypeMappingSerializer (); smr.mapTypes (Constants.NS_URI_SOAP_ENC, new QName ("http://tempuri.org", "HentSkabelonerPerOrgEnhed"), null, null, sd); call.setSOAPMappingRegistry(smr);
No I dont get the earlier fault but another that say something like Null String. Nothing happend after my Imvoke-line
I hope anybody could put som ligth on it what the reason Othervise If anybody could give mee a reference to a sample to get some Inspiration from.
Thanks in advance
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Welcome to JavaRanch!
We ain't got many rules round these parts, but we do have our naming policy, which requires that your display name be a first and last name; the last name must be at least two letters and the whole name must at least sound real. Please head over here and change yours. Thanks.