Hi,
I try to launch a web services from an openoffice add-on. I am using
netbeans 6.1 on Windows XP platform (i Try on linux and got the same error).
i have the code below, using the package org.apache.commons.httpclient.* :

     public void dispatch( com.sun.star.util.URL aURL,
                           com.sun.star.beans.PropertyValue[] aArguments )
    {
         if ( aURL.Protocol.compareTo("com.xxx.xxx:") == 0 )
        {
            if ( aURL.Path.compareTo("getXXX") == 0 )
            {  
                        HttpClient client = new HttpClient();
....

When I try the add-on on debug mode, it crashes when he tries to create the
new HttpClient.

Any idea why ? or any idea how to use HttpClient from openoffice using java
?
Thanks in advance,

-- 
View this message in context: 
http://www.nabble.com/Web-services-from-openoffice-tp19847142p19847142.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to