Web Services problem: URI library / address location

Hi,

When I use address location in my wsdl without http:// and with a port
like
:

my.location:7800

in

<wsdl:service name=“WebServices”>
<wsdl:port name=“WebServicesPort” binding=“aws:WebServicesBinding”>
<soap:address location=“my.location:7800”/>
</wsdl:port>
</wsdl:service>

I have an error from C:\ruby\lib\ruby\site_ruby\1.8\http-access2\http.rb

from the function

def create_query_uri(uri, query)
path = uri.path.dup
path = ‘/’ if path.empty?
query_str = nil

The error is : Exception `TypeError’ at
C:/ruby/lib/ruby/site_ruby/1.8/http-access2/http.rb:270 - can’t dup
NilClass

because uri.path returns nil.

So is there a way to use that kind of location or is it a Ruby lack?
Thanks.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

David Alphen wrote:

</wsdl:port>
</wsdl:service>

soap:address requires an URI so you must supply ‘http://’, ‘https://’,
etc. here. Is there any reason why you can’t do that?

Anyway, http-access2 should raise more friendly error message.

Regards,
// NaHi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iQEVAwUBRmZZxB9L2jg5EEGlAQIc4Qf/SDug5hWZVnhDVe06akswkTTwVz/aOPY6
g6TJRAbgrflEPy1MaNi6aS4/huGFrmapL+0hrCtGR0HJbnsmY8bxvLOyr9NFgkBQ
Ro+xg+22ee2I/UY/sAnOhCbDv8NrDHcJia8vfkS45owih1pr4Wgfv0xpvgsRoRXE
F7ibi0nsXpW4m0VF1I51yUyz3gxbBRildme7jHB9xrQ02qgb6F2UeMK2ls68m8gx
mizFMdHSMpDlaEbOIgAmGezvg1GewWB7IisWpAnCVCZ655NeWcke5Q4eCe6g12p7
VsnWp38NIXciJv4ELa2+Y1kKEkBCtqcVBEC0ZKj/r21HWz7QUKK+Zw==
=pJyl
-----END PGP SIGNATURE-----

soap:address requires an URI so you must supply ‘http://’, ‘https://’,
etc. here. Is there any reason why you can’t do that?

I’ve just check the W3C documentation for the wsdl syntax (
Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language) and I think it is my mistake. The URI must
have a
scheme: http:// https:// ftp:// mailto:// …

So we have to modify our soap address location so that we can access
them
through http protocol.

Cheers,