-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Steve wrote:
> Thanks for that. I've now re-installed and it has removed the two
> errors below (openssl and XML processor).
You didn't have to re-install it. Those messages are dumped only when
you run ruby with -d option. Soap4r tries to detect http-access2 or
net/http for HTTP communication, REXML, xmlscan and XMLParser for XML
processing.
> However, the following error is still issued:
> /usr/lib/ruby/1.8/soap/mapping/wsdlliteralregistry.rb:90:in
> `obj2elesoap': cannot find type
> {http://www.w3.org/2001/XMLSchema}language
> (SOAP::Mapping::MappingError)
Hmm. Soap4r does not support following datatypes (including
xsd:language) for now.
#3.3.2 token
#3.3.3 language
#3.3.4 NMTOKEN
#3.3.5 NMTOKENS
#3.3.6 Name
#3.3.7 NCName
#3.3.8 ID
#3.3.9 IDREF
#3.3.10 IDREFS
#3.3.11 ENTITY
#3.3.12 ENTITIES
> Just an update. Installing the latest soap4r tarball (soap4r-20060830)
> fixed this problem.
Fixed? Really? Latest tarball does not support xsd:language, too...
> Now I just need to work out how xsi:type tags are added when using
> wsdl2ruby......
Can you explain what is the problem? What's the SOAP message you must
generate? What soap4r generates instead? Does
driver.generate_explicit_type = true
help?
Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
iQEVAwUBRRaFBB9L2jg5EEGlAQLd9wgAo2SlJcKmovMBDdo7mdS2XmwLpSWAWfzB
i4VqTASJhDmUzeBj56xlc5tUH17NW4wjzcn8L+wJJsl4PBSJmZhMvSCEFYOm3B70
uaSUtxyy5R+u5L9bYI/YCQm5mUz5A0RXB2K4A9f5rEwhBkfTbx0kwIu6wseZpgUP
oXPDDQO3+M9eJtPhBjiPvdQONkfAL0rIOtdIpVX42urOoGhJvksCyw1dS6D9fcnk
nQ0b22QQwQz7KoqTX39Y3dGtvZGkTsdelVEImFPVXZGtzCGxjlso+rHLPUF/fnoO
k2C9Rm2EY5hfNCH4U7zrx13Xdvti1fUjNCTX0MchL0uxVLUXaHs62Q==
=HT+i
-----END PGP SIGNATURE-----