hi Thierry

       I have done the test suggested by you.Im using Restlet 1.1.8.Also i have 
downloaded (version 2 milestone 7 but i was not able to find 
com.noelios.restlet.jar inside lib folder. So i havent tried anything with this 
release). 

The log from the Matlab Command Window is as follows:

Diagnostics START
Executing : com.noelios.restlet.Engine engine = (com.noelios.restlet.Engine) 
org.restlet.util.Engine.getInstance();.And the Output Is:
 
Executing : System.out.println( engine:  + engine);.And the Output Is:
Engine : com.noelios.restlet.eng...@ae43b8
 
Executing : System.out.println( client connectors:  + 
engine.getRegisteredClients());.And the Output Is:
client Connectors : [com.noelios.restlet.ext.net.httpclienthel...@54919e, 
com.noelios.restlet.http.streamclienthel...@2437ef, 
com.noelios.restlet.local.clapclienthel...@1d46259, 
com.noelios.restlet.local.fileclienthel...@84fa6a]
 
Executing : Client client = new Client(Protocol.HTTP);.And the Output Is:
22.02.2010 18:52:44 com.noelios.restlet.Engine createHelper

WARNUNG: No available client connector supports the required protocols: 
'PROTOCOL.HTTP' . Please add the JAR of a matching connector to your classpath.

Client : org.restlet.cli...@18307be
 
Executing : System.out.println( client helper:  + helper);.And the Output Is:
Client Helper : com.noelios.restlet.ext.net.httpclienthel...@54919e
 
Executing : System.out.print( client protocols:  + helper.getProtocols());.And 
the Output Is:
Client Protocols : [HTTP, HTTPS]
 
Executing : System.out.println( =>  + 
helper.getProtocols().containsAll(client.getProtocols()));.And the Output Is:
Value returned by (helper.getProtocols().containsAll(client.getProtocols())) : 0
 
Executing : System.out.println( client helper:  + helper);.And the Output Is:
Client Helper : com.noelios.restlet.http.streamclienthel...@2437ef
 
Executing : System.out.print( client protocols:  + helper.getProtocols());.And 
the Output Is:
Client Protocols : [HTTP]
 
Executing : System.out.println( =>  + 
helper.getProtocols().containsAll(client.getProtocols()));.And the Output Is:
Value returned by (helper.getProtocols().containsAll(client.getProtocols())) : 0
 
Executing : System.out.println( client helper:  + helper);.And the Output Is:
Client Helper : com.noelios.restlet.local.clapclienthel...@1d46259
 
Executing : System.out.print( client protocols:  + helper.getProtocols());.And 
the Output Is:
Client Protocols : [CLAP]
 
Executing : System.out.println( =>  + 
helper.getProtocols().containsAll(client.getProtocols()));.And the Output Is:
Value returned by (helper.getProtocols().containsAll(client.getProtocols())) : 0
 
Executing : System.out.println( client helper:  + helper);.And the Output Is:
Client Helper : com.noelios.restlet.local.fileclienthel...@84fa6a
 
Executing : System.out.print( client protocols:  + helper.getProtocols());.And 
the Output Is:
Client Protocols : [FILE]
 
Executing : System.out.println( =>  + 
helper.getProtocols().containsAll(client.getProtocols()));.And the Output Is:
Value returned by (helper.getProtocols().containsAll(client.getProtocols())) : 0
 
Executing : System.out.println(" chosen helper: " + 
Engine.getInstance().createHelper(client, null));.And the Output Is:
22.02.2010 18:52:44 com.noelios.restlet.Engine createHelper

WARNUNG: No available client connector supports the required protocols: 
'PROTOCOL.HTTP' . Please add the JAR of a matching connector to your classpath.

chosen helper: The Value returned from 
Engine.getInstance().createHelper(client, null)) is Empty
 
Diagnostics END 

I hope  u can easily understand the above log file.
If you need any more info pls let me know. 
Thanks.

Regards
Rashik.T

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2450560

Reply via email to