[
https://issues.jboss.org/browse/JBESB-3875?page=com.atlassian.jira.plugin...
]
Tom Cunningham resolved JBESB-3875.
-----------------------------------
Resolution: Done
bananastand:product tcunning$ svn commit
Sending
product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/RemoteWsdlLoader.java
Transmitting file data .
Committed revision 3824
Improve RemoteWsdlLoader error messages and logging
---------------------------------------------------
Key: JBESB-3875
URL:
https://issues.jboss.org/browse/JBESB-3875
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.11
Reporter: Tom Cunningham
Assignee: Tom Cunningham
Fix For: 4.12
Some users are requesting an upgrade on logging/error messages for
org.jboss.soa.esb.actions.soap.proxy.SOAPProxy class when using "classpath://"
protocol for the following situations:
- I attached a test case for you to try. Just deploy the esb and it should throw
"java.net.MalformedURLException: unknown protocol: classpath" Although I
-- The NPE is raised on this call:
org.jboss.soa.esb.actions.soap.RemoteWsdlLoader
~line 78
else if(url.startsWith("classpath://")) {
originalStream = ClassUtil.getResource(url.substring(12, url.length()),
getClass()).openStream();
}
- NullPointerException when wsdl is not found in the classpath should have a friendlier
message;
- classpath invalid characters (eg. backslash "\") validation.
-- Current message: org.jboss.soa.esb.ConfigurationException: 'url' property
is not a valid URI." Test case: change
How reproducible:
Easy
Steps to Reproduce:
1. Deploy the attached project "UlkoisetYhteydet-EP-esb.esb"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira