Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 834940 Details for
Bug 1029762
Deployment of webservice with nonexisting or invalid endpoint config does not fail
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
diff of code changes
xdiff-BZ-1029762 (text/plain), 2.04 KB, created by
Rebecca Searls
on 2013-12-10 21:27:20 UTC
(
hide
)
Description:
diff of code changes
Filename:
MIME Type:
Creator:
Rebecca Searls
Created:
2013-12-10 21:27:20 UTC
Size:
2.04 KB
patch
obsolete
>Index: modules/client/src/main/java/org/jboss/wsf/stack/cxf/Messages.java >=================================================================== >--- modules/client/src/main/java/org/jboss/wsf/stack/cxf/Messages.java (revision 18162) >+++ modules/client/src/main/java/org/jboss/wsf/stack/cxf/Messages.java (working copy) >@@ -35,6 +35,7 @@ > import org.jboss.logging.MessageBundle; > import org.jboss.wsf.spi.deployment.Deployment; > import org.jboss.wsf.spi.deployment.DeploymentType; >+import org.jboss.wsf.spi.deployment.WSFDeploymentException; > > /** > * JBossWS-CXF exception messages >@@ -220,5 +221,8 @@ > > @Message(id = 24096, value = "Multiple incompatible JAXWS client Bus features provided") > IllegalArgumentException incompatibleJAXWSClientBusFeatureProvided(); >+ >+ @Message(id = 24097, value = "Could not find endpoint config name: %s") >+ WSFDeploymentException couldNotFindEndpointConfigName(String name); > > } >Index: modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/ServerBeanCustomizer.java >=================================================================== >--- modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/ServerBeanCustomizer.java (revision 18162) >+++ modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/ServerBeanCustomizer.java (working copy) >@@ -135,14 +135,20 @@ > { > //use endpoint configs from AS domain > ServerConfig sc = AbstractServerConfig.getServerIntegrationServerConfig(); >+ boolean isSetEndpointConfig = false; > for (org.jboss.wsf.spi.metadata.config.EndpointConfig config : sc.getEndpointConfigs()) > { > if (config.getConfigName().equals(configName)) > { > endpoint.setEndpointConfig(config); >+ isSetEndpointConfig = true; > break; > } > } >+ >+ if (!isSetEndpointConfig){ >+ throw Messages.MESSAGES.couldNotFindEndpointConfigName(configName); >+ } > } > else > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1029762
: 834940