[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2248) RemoteConnectionFactory rejects uppercased protocol identifiers
Richard Opalka (JIRA)
jira-events at lists.jboss.org
Thu Mar 19 07:24:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBWS-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Opalka updated JBWS-2248:
---------------------------------
Summary: RemoteConnectionFactory rejects uppercased protocol identifiers (was: RemoteConnectionFactory rejects valid http URL. )
> RemoteConnectionFactory rejects uppercased protocol identifiers
> ---------------------------------------------------------------
>
> 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
> Assignee: Richard Opalka
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list