]
Alessio Soldano updated JBWS-2248:
----------------------------------
Fix Version/s: jbossws-native-3.1.1
RemoteConnectionFactory rejects valid http URL.
------------------------------------------------
Key: JBWS-2248
URL:
https://jira.jboss.org/jira/browse/JBWS-2248
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
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
Fix For: jbossws-native-3.1.1
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: