[jbossws-issues] [JBoss JIRA] Created: (JBWS-2248) RemoteConnectionFactory rejects valid http URL.
Amancio Díaz (JIRA)
jira-events at lists.jboss.org
Fri Jul 4 08:59:01 EDT 2008
RemoteConnectionFactory rejects valid http URL.
------------------------------------------------
Key: JBWS-2248
URL: http://jira.jboss.com/jira/browse/JBWS-2248
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jbossws-native-3.0.2
Environment: Making a client to a external WS defined like:
<soap:address location="HTTP://URL_TO_THE_SERVICE"/>
Reporter: Amancio Díaz
org.jboss.ws.core.client.RemoteConnectionFactory makes the comparation:
String targetAddress = epInfo.getTargetAddress();
if (targetAddress == null)
throw new IllegalArgumentException("Cannot obtain target address from: " + epInfo);
String key = null;
if (targetAddress.startsWith("http"))
key = RemoteConnection.class.getName() + ".http";
else if (targetAddress.startsWith("jms"))
key = RemoteConnection.class.getName() + ".jms";
if (key == null)
throw new IllegalArgumentException("Cannot obtain remote connetion for: " + targetAddress);
if targetAddress is uppercase (HTTP://SOMETHING) this throws an exception. External client will not change the WSDL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list