| MHenke on Jul 25, 2006 at 2:35:11 AM (# 1) Try to specify the correct Namespace for the response when registering your String deserializer, apart from that I'd guess that the name of your result element isn't "return" as you specify it.
soapMappingRegistry.mapTypes( Constants.NS_URI_SOAP_ENC, new QName(http://tempuri.org/, "HelloWorldResult"), null, null, new StringDeserializer() ); jorgeahm on Jul 25, 2006 at 5:28:42 AM (# 2)thanks for your help mhenke, this works now. MHenke on Jul 25, 2006 at 6:14:30 AM (# 3) jorgeahm on Jul 25, 2006 at 7:01:42 AM (# 4)i have another question. the web services .net take two params and return Hello World +param1.
but when i call the web services the return is only Hello World. i think the web services don't take my params.
do you know why can happend this? MHenke on Jul 25, 2006 at 7:44:14 AM (# 5)Nope. If you call the web service and it returns w/o error, the return value has to be assumed as correct. The rest depends on the service implementation. What makes you think that the return value isn't correct? jorgeahm on Jul 25, 2006 at 8:14:32 AM (# 6)when i call the page services for internet explorer, i write two params por example: pSXml: hola pSNombre: mundo
and the return is Hello World mundo
but when i call the service in the java code, only return Hello World. And i set the params like this
params.addElement(new Parameter("pSXml", String.class, "hola", null)); params.addElement(new Parameter("pSNombre", String.class, "mundo", null));
for this, i think the web services do not take my params.
this is true o false
thanks MHenke
MHenke on Jul 25, 2006 at 8:34:51 AM (# 7)Have you looked at the SOAP response when calling the service through your Java client?
|