Hi Ortwin,

I wanted to send the # character over the wire as it is. Is there a way that
I can do it? Or can I set the fragment to the httpMethod?

Thnaks,
Keith

On 3/13/07, Ortwin Glück <[EMAIL PROTECTED]> wrote:

Keith,

The # character is reserved to separate the fragment from the
query/path. The fragment is not intended to be sent over the wire. So if
you want to include such a character in an URI you should URL-escape it
with %23:


http://localhost:8081/axis2/services/ProbeDataService.RawParameterEndpoint/RawParameter%23id


Does that work for you?

Ortwin

keith chapman wrote:
> Hi,
>
> I want to send a http GET request to the followin url
>
>
http://localhost:8081/axis2/services/ProbeDataService.RawParameterEndpoint/RawParameter#id
>
>
> But i have to set a URI to the getMethod.
>
> I have the above as a URL. So I do the following
>
> getMethod.setURI(url.toString);
>
> This rips off the fragment part resulting in the following target URL
>
>
http://localhost:8081/axis2/services/ProbeDataService.RawParameterEndpoint/RawParamete
>
>
> How can I send a fragment in the url?
>
> Thanks,
> Keith
>

--
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

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




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to