This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 135829 - I18N - request URI has question marks instead of mbyte chars
Summary: I18N - request URI has question marks instead of mbyte chars
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Axis2 (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-05-26 16:57 UTC by kaa
Modified: 2008-05-30 15:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (102.39 KB, image/jpeg)
2008-05-26 16:58 UTC, kaa
Details
image (91.00 KB, image/jpeg)
2008-05-30 15:32 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-05-26 16:57:10 UTC
Product Version: NetBeans IDE Dev (Build 200805221203)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; MS932; ja_JP
Checked with and without --fontsize option

Steps:
1. Create Java app using multi byte characters in its name.
2. Add 'Axis2 service from Java'
3. Deploy the service to Server. I used GlassFish V2.
4. Try to test default operation in browser.

Http Monitor opens.
It shows question marks instead of mbyte chars in 'Requested URI' field.
Comment 1 kaa 2008-05-26 16:58:10 UTC
Created attachment 61939 [details]
image
Comment 2 Lukas Jungmann 2008-05-26 17:46:17 UTC
> Http Monitor opens.
> It shows question marks instead of mbyte chars in 'Requested URI' field.

then it's an issue in http monitor, not in the axis plugin, I think.
Comment 3 kaa 2008-05-26 17:52:37 UTC
Does http monitor generates URI?
The browser wasn't open with a test value of variables. The warning was shown.
I'm using ja locale but the same result was in eng one. 
Comment 4 Milan Kuchtiak 2008-05-27 09:28:40 UTC
The first Problem is that Axis2 doesn't support multibyte characters for service name.
See the issue 127397.

The second problem related to http monitor is fixable.
We should generate the right url when testing operations.
Comment 5 Milan Kuchtiak 2008-05-27 12:11:40 UTC
Fixed.

Diff:
http://hg.netbeans.org/main?cmd=changeset;node=0a70826a8690
Comment 6 kaa 2008-05-30 15:31:53 UTC
Checked with trunk build 0529 and the latest Axis2 plugin.
The URI doesn't show mbyte chars. Only their codes (see image). Browser doesn't start.
Does it expected behavior for URI representation?

I manually tried to open the URL in browser. The page doesn't exists  - err 404.
Comment 7 kaa 2008-05-30 15:32:32 UTC
Created attachment 62174 [details]
image
Comment 8 kaa 2008-05-30 15:46:34 UTC
More details:

I deployed axis2.war manually to GF server.
After this I was able to test operation without any warnings. The browser opens properly with a test value of variable.

If codes are not allowed for URI then reopen please.

Question:
Is it necessary do deploy axis2.war manually?
I thought that Netbeans can do it using data from Axis2 plugin options (war location was specified there).