Two Laptop Bag
The moose likes Web Services and the fly likes Apache SOAP cant understand Reponse From Dot.net server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Apache SOAP cant understand Reponse From Dot.net server" Watch "Apache SOAP cant understand Reponse From Dot.net server" New topic
Author

Apache SOAP cant understand Reponse From Dot.net server

mark issac
Greenhorn

Joined: Oct 07, 2004
Posts: 5
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);

resp = call.invoke(url, "http://tempuri.org/HentSkabelonerPerOrgEnhed");


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
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.


Spritle Software Blogs
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
The best option is use create java client stubs using WSDL2Java. WSDL2Java comes with Apache Axix.Check here http://ws.apache.org/axis/java/user-guide.html for WSDL2Java usage tips..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache SOAP cant understand Reponse From Dot.net server
 
Similar Threads
msg=No Deserializer found to deserialize a ':return'
Webservices and Websphere 5.1
problem with SOAP
internal method call.getEnvelopeString() fails. unable to identify cause of failure
SOAP literal xml serialization