You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Venkat Reddy (JIRA)" <ax...@ws.apache.org> on 2005/08/30 08:03:05 UTC

[jira] Commented: (AXIS-2188) No Deserializer found to deserialize xsd:string

    [ http://issues.apache.org/jira/browse/AXIS-2188?page=comments#action_12320531 ] 

Venkat Reddy commented on AXIS-2188:
------------------------------------

I haven't experienced this problem using the JUnit test case generated by WSDL2Java. May be, posting your full client code might help.

- venkat


> No Deserializer found to deserialize xsd:string
> -----------------------------------------------
>
>          Key: AXIS-2188
>          URL: http://issues.apache.org/jira/browse/AXIS-2188
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization, WSDL processing
>     Versions: 1.2, 1.2.1
>     Reporter: Javier Kohen

>
> Since I updated from Axis 1.1 to 1.2(.1), I cannot access the service at http://www.xmethods.net/sd/2001/EBayWatcherService.wsdl anymore. The following explanation is given:
> No Deserializer found to deserialize a 'http://schemas.xmlsoap.org/soap/encoding/:string' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
> My code is:
> 		URL srvUrl =
> 			new URL("http://www.xmethods.net/sd/2001/EBayWatcherService.wsdl");
> 		String namespace = "http://www.xmethods.net/sd/eBayWatcherService.wsdl";
> 		String opNamespace = "urn:xmethods-EbayWatcher";
> 		ServiceFactory serviceFactory = ServiceFactory.newInstance();
> 		Service service
> 			= serviceFactory.createService(
> 				srvUrl,
> 				new QName(namespace, "eBayWatcherService"));
> 		Call call = service.createCall(new QName(namespace, "eBayWatcherPort"));
> 		call.setOperationName(new QName(opNamespace, "getCurrentPrice"));
> 		Float price = (Float) call.invoke(
> 			new Object[] { auction_id });
> I found a couple other users reporting the similar problem on the web, but there aren't more than 5-10 matches on google.com.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira