Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index




On 2014-08-26 21:52, Mark Bourne wrote:
carboleum@openmailbox.org wrote:

[...]


I would like to get geocode by web service Google API, my macro works at
home (without proxy) but not at work (through proxy).

At work (Windows 7, LibO 4.0.5.2) , when I launch my macro, LibO freeze
any seconds and replay "Error 1: Une exception s'est produite : Type:
com.sun.star.ucb.InteractiveNetworkConnectException Message: . (line :
194)"


[...]


Not entirely sure if this will work, but try:


[Snip the explanations I've followed letter by letter]


- Now try accessing the web service from LibreOffice.


Doesn't work :-(

Another possibility is that the service is blocked by your proxy. Are
you able to access it from work through any other means to test? e.g.
another application, by manually connecting to it (if you know what
you're doing and it uses a plain-text protocol, you can connect a
telnet session via "telnet <address> <port>" from a command prompt,
and then type the requests and see if you get a response back).


I would like to use a Google geocoding service.

It works with my/your favorite browser (through proxy): <http://maps.googleapis.com/maps/api/geocode/xml?sensor=true&address=grand\%27place+Brussels+Belgium> return a xml including location coordinates. My webbrowser ask me the proxy's login/passwd.

It works with wget through proxy (Cygwin installed, .wgetrc configured with proxy's login/passwd).

To use the google service with LibO, I have found the following webpage: <http://www.tuicool.com/articles/IN7zEb>. It works on a connection without proxy but not trough proxy.

I've tried the following macro in LibO (simplier) -> same result: works without proxy, not with proxy!

Sub Macro1
open "http://www.google.com"; for input as #1
line input #1, texte
close #1
print texte
End Sub

LibO want not to pass trough proxy!

Does it exist an another way to use webservices into LibO (pluggin, or something like that ?)


It may be worth asking your IT department what you might need to do to
get through their proxy; the rest of us can only guess at how it might
be configured. Some are more aggressive than others in blocking
certain types of traffic.


I'll see with him.

Thanx you very much for your help. We keep in touch.

Mark.

Bruno.

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.