[
https://issues.jboss.org/browse/JBIDE-8347?page=com.atlassian.jira.plugin...
]
Lukas Jungmann commented on JBIDE-8347:
---------------------------------------
No. The type of the exception is defined in web service interface generated by wsconsume.
The web service implementation class (generated by our tooling) should match method
definitions from that interface.
Using attached sample.wsdl:
wsconsume generates DividePortType.java with following method declaration (annotations
omitted):
public OperationResponse divideOperation(OperationRequest parameters) throws
InvalidNumberFault_Exception;
IDE generates following method declaration in web service impl class (public class
DividePortTypeImpl implements DividePortType):
public OperationResponse divideOperation(OperationRequest parameters) {...}
but in this particular case following method declaration should be generated instead:
public OperationResponse divideOperation(OperationRequest parameters) throws
InvalidNumberFault_Exception {...}
top down ws impl class should contain throws clause if it's
present in generated ws interface
---------------------------------------------------------------------------------------------
Key: JBIDE-8347
URL:
https://issues.jboss.org/browse/JBIDE-8347
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.Final
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Fix For: 3.2.1
Attachments: sample.wsdl
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
-have attached WSDL which defines operations with faults
-create a web service in a web project from it
=> generated web service implementation class does not contain 'throws' clause
for methods which do have it declared in generated SEI
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira