[
https://jira.jboss.org/browse/JBIDE-6450?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick commented on JBIDE-6450:
------------------------------------------
Actually it does and it doesn't. Much like many of my initial attempts to fix this,
with your patch I'm able to open the view, but unable to actually execute a web
service and retrieve results.
To test this with the WS Tester:
1) Copy "http://footballpool.dataaccess.eu/data/info.wso?WSDL" into the combo
box at the top of the view.
2) Click the button to the right of the combo box and select one of the available
operations.
3) Click the right-most button to the right of the combo box to execute the web search.
4) Now I get:
javax.xml.ws.WebServiceException: Unknown class type javax.xml.soap.SOAPMessage
Classloader incompatibilities between javax.xml.soap (1.2) and
javax.xml.soap (1.3) when running WS Tester
----------------------------------------------------------------------------------------------------------
Key: JBIDE-6450
URL:
https://jira.jboss.org/browse/JBIDE-6450
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M1
Reporter: Brian Fitzpatrick
Assignee: Brian Fitzpatrick
Priority: Critical
Fix For: 3.2.0.Beta2
Attachments: org.jboss.tools.ws.ui.patch
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Finally got to the heart of the java.lang.VerifyError issue I've been running into
with the WS Tester.
javax.xml.soap (1.2) is an old-school plug-in jar wrapper that takes saaj.jar and exposes
it in Eclipse.
javax.xml.soap (1.3) is a new-school OSGI-compatible wrapper that builds the individual
saaj classes and wraps them to expose them in Eclipse.
As Nick said in a recent IRC chat - ".jar!/org/whatever/*.class is better than
.jar!foo.jar". But in my case, it causes the lovely java.lang.VerifyError when I try
to use a utility class that takes advantage of classes from javax.xml.soap.
After doing some digging, it turns out the javax.xml.soap (1.3) plug-in is coming from
the Atlassian update site for the latest & greatest version of their JIRA/Mylyn
plug-ins. Without Atlassian JIRA connectors installed, it runs just fine.
So this presents an issue... If we're meant to certify against Atlassian JIRA
connectors, this is going to come up again. So how do we work around it?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira