You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Michael Cavedon (JIRA)" <fx...@ws.apache.org> on 2005/03/09 17:40:52 UTC
[jira] Created: (WSFX-45) org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) should support empty string values for uri
org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) should support empty string values for uri
---------------------------------------------------------------------------------------------------------------------
Key: WSFX-45
URL: http://issues.apache.org/jira/browse/WSFX-45
Project: WSFX
Type: Bug
Components: Addressing
Environment: N/A - Java code
Reporter: Michael Cavedon
org.apache.axis.message.addressing.AddressingHeaders.setAction(String uri) appears to be throwing an exception when I pass in an empty string as the uri value.
The exception is being thrown in new URI(""):
this.action = new Action(new URI(uri));
I think I should be able to pass in an empty string. I think setAction(String uri) should look like:
if (uri.trim().equals(""))
this.action = new Action(new URI());
else
this.action = new Action(new URI(uri));
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira