Hi Justin,

Thanks for reporting this. The getTargetRef() does a normalization which may
not always be desired. Instead, there is the getIdentifier() method that
should be used by the HTTP client connectors.

We will look into fixing this ASAP.

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Justin C. 
> van Vorst
> Envoyé : mardi 10 avril 2007 19:57
> À : [email protected]
> Objet : Reference not resolving
> 
> When contructing a Reference using new Reference(baseRef, 
> "relative-path"), a
> call to toString() returns just the relative part.  It looks 
> like the intended
> way to get the full URI is Reference.getTargetRef().toString().
> 
> Unfortunately HttpClientHelper:149 calls
> request.getResourceRef().toString()
> instead of what seems to be the more correct
> request.getResourceRef().getTargetRef().toString().
> 
> This results in an invalid URI in the HttpMethodCall.

Reply via email to