Apache SOAP cant understand Reponse From Dot.net server
Joined: Oct 07, 2004
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
author and deputy
Joined: Jul 13, 2001
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.