-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarkus 3.12.0 with CXF: java.lang.NullPointerException in CxfDeploymentUtils.findSei(CxfDeploymentUtils.java:60) without #1427
Comments
Hi @gawrilsemke, thanks for the report!. We definitely have service implementations with Lines 10 to 11 in 333d4f4
Regardless of that, we may have broken something in some corner case recently and I'd be very much interested to see a reproducer for your issue. |
Nice, thanks for the investigation, @dstein90! So adding jandex to the dependency using the maven plugin or application.properties is a valid solution? |
Indeed generating the index on the dependency solves this issue. |
…ntation is not available in Jandex quarkiverse#1427
…ntation is not available in Jandex quarkiverse#1427
I made the build fail with an informative exception if some interface cannot be found in Jandex: https://github.com/quarkiverse/quarkus-cxf/pull/1437/files |
I am afraid we cannot restore the pre-3.12.0 behavior. I think throwing an exception that tells the user what to do is the best thing we can do. Or you @dstein90 have a better idea? |
…ntation is not available in Jandex #1427
Closing this for now. @dstein90 please feel free to reopen, if you have any suggestion what else we could do. |
I think it's fine this way. But good to have the issue with the solution. Maybe the requirement for the jandex index should be added to the docs. |
The solution was to add a parameter 'endpointInterface' by WS Annotation:
@WebService(targetNamespace = "http://some", serviceName = "SomeServices", endpointInterface = "SomePortType") public class SomePortTypeImpl implements SomePortType {...
is it naccessery? backwards compatibility?
JavaDoc:
String jakarta.jws.WebService.endpointInterface()
The complete name of the service endpoint interface defining the service's abstract Web Service contract.
This annotation allows the developer to separate the interface contract from the implementation. If this annotation is present, the service endpoint interface is used to determine the abstract WSDL contract (portType and bindings). The service endpoint interface MAY include JSR-181 annotations to customize the mapping from Java to WSDL. The service implementation bean MAY implement the service endpoint interface, but is not REQUIRED to do so. If this member-value is not present, the Web Service contract is generated from annotations on the service implementation bean. If a service endpoint interface is required by the target environment, it will be generated into an implementation-defined package with an implementation- defined name
This member-value is not allowed on endpoint interfaces. Default: ""
The text was updated successfully, but these errors were encountered: