Please read the interop docs section carefully .. you must only tell
the server to use the StringDeserializer as a *de*serializer and
not as a serializer too. By putting it as the value of the
java2XMLClassName too you have asked it to be a serializer .. and
its not.
Sanjiva.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 10:28 AM
Subject: msSOAPclient to apacheSOAPserver: StringDeserializer could not be
resolved as a serializer
> Hi there,
> using: xerces 1.4.0, apache-soap 2.2rc3, MSSOAP 2.0 release.
>
> I have managed to get various SOAP sample programs working, and am trying
to
> call the addressbook2 services from Visual Basic.
>
> The WSDL file supplied with the example needed to be changed to get the
WSDL
> file accepted by MSSOAP: one of the operations (addUser) had no 'output'
> message and this was making MSSOAP reject the WSDL file.
>
> Anyway, after fixing this, I found that the server couldnt deal with the
> SOAP call from VB because one of the string parameters had no mapping
> installed for the service. After adding this, mapping to the descriptor,
> however, I got a different error. The same error now occurred when
> attempting to call the service from either java or VB:
>
> "Deployment error in SOAP service 'urn:AddressFetcher2':
> class name 'org.apache.soap.encoding.soapenc.StringDeserializer'
> could not be resolved as a serializer:
> org.apache.soap.encoding.soapenc.StringDeserializer"
>
>
> Has anyone seen this problem before? The SOAP server seems to be unable to
> find org.apache.soap.encoding.soapenc.StringDeserializer even though I'd
> imagine this was easily accessible from inside the apache soap code!
Perhaps
> this is a misleading error message.
>
>
> Incidentally, here is the mapping I added to the deployment descriptor for
> the addressbook2 sample.
>
> <isd:map encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/
> <http://schemas.xmlsoap.org/soap/encoding/> "
> xmlns:x="" qname="x:name"
> javaType="java.lang.String"
> java2XMLClassName="org.apache.soap.encoding.soapenc.StringDeserializer"
> xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>
>
>
> I got the IBM 'NasdaqQuotes' sample working earlier on, so maybe I'll need
> to use that as a starting point for investigations...
>
> thanks in advance for any help,
> Innes
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]