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/"
xmlns:x="" qname="x:name"
javaType="java.lang.String"
java2XMLClassName="org.apache.soap.encoding.soapenc.StringDeserializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/>
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
