-
1. Re: Mystery Endpoint JBoss 7 final
jim.ma Sep 30, 2011 12:32 AM (in response to mwr0707)1. How do I check deployed service endpoints in the running server?
You can get check the endpoints in the admin console : http://localhost:9990/console/App.html#server/webservices.
2. How do I eliminate the project name from the service URI context so that the endpoint address is identical to what is contained in the WSDL?
WEB-INF/jboss-web.xml can help:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<context-root>your-context</context-root>
</jboss-web>
-
2. Re: Mystery Endpoint JBoss 7 final
asoldano Sep 30, 2011 4:24 AM (in response to jim.ma)Jim Ma wrote:
1. How do I check deployed service endpoints in the running server?
You can get check the endpoints in the admin console : http://localhost:9990/console/App.html#server/webservices.
Mark, please check if you can see your endpoints in the console as explained by Jim. If not, there's might be a bug in the console with handling WS in some EAR deployments. Please let me know. Thanks.
-
3. Re: Mystery Endpoint JBoss 7 final
jdabrowski Oct 6, 2011 3:55 AM (in response to asoldano)Hy Alessio,
first of all thank you for your last answer about @Context, it saved me a lot of time.
I would like to join to the threat because I've got a situation you've described:
I can't see any of my endpoints in console.
JBoss 7.0.2 with own cxf spring configuration, standalone mode. Example of configuration:
bean annotations:
@WebContext(secureWSDLAccess=false)
@Stateless
@WebService(endpointInterface=<webservice_interface>)
webservice interface annotations:
@WebService
jbossws-cxf.xml:
<beans xmlns='http://www.springframework.org/schema/beans' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:beans='http://www.springframework.org/schema/beans' xmlns:jaxws='http://cxf.apache.org/jaxws' xmlns:wsa='http://cxf.apache.org/ws/addressing' xmlns:jms='http://cxf.apache.org/transports/jms' xmlns:soap='http://cxf.apache.org/bindings/soap' xsi:schemaLocation='http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/transports/jms http://cxf.apache.org/schemas/configuration/jms.xsd http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd'> <jaxws:endpoint id='<BeanName>' address='/<jar-name>/<BeanName>' implementor='<BeanClassWithPackage>' serviceName='ns0:BeanNameService' xmlns:ns0='http://<reversed_bean_package>/' endpointName='ns1:BeanNamePort' xmlns:ns1='http://<reversed_bean_package>/'> <jaxws:invoker> <bean class='org.jboss.wsf.stack.cxf.JBossWSInvoker' /> </jaxws:invoker> </jaxws:endpoint> </beans>
I can access it by url and it works fine.
I thought it's not a bug, but an unimplemented feature. It would be easier if Heiko updates http://community.jboss.org/wiki/SubsystemManagementOperations. We would know what to expect and what should we report.
btw. now I'm not sure if EJB tab with session beans and message driven beans should be filled (it's empty on my server) or it's not implemented yet
-
4. Re: Mystery Endpoint JBoss 7 final
mwr0707 Dec 6, 2011 11:26 AM (in response to asoldano)Trying again with a fresh download of JBoss Tools.
JBoss Tools Launching Support
Version: 3.3.0.v20111027-1555-H29-M4
Still on JBoss 7.0.2.Final
Trying the following link again:
http://localhost:9990/console/App.html#server/webservices
This just results in a redirect to:
http://localhost:9990/console/App.html#server/datasources
What is the correct way to browse deployed JAX-WS endpoints in the server?
Regards.
-
5. Re: Mystery Endpoint JBoss 7 final
mwr0707 Dec 9, 2011 11:21 AM (in response to mwr0707)Update: The endpoint deploys and is reachable as of AS 7.1.0Beta1b. The web services section of the admin console now appears but the endpoint is still not visible there.
-
6. Re: Mystery Endpoint JBoss 7 final
asoldano Dec 12, 2011 4:09 AM (in response to mwr0707)OK, thanks for the check. Then I believe this is https://issues.jboss.org/browse/AS7-2196 (an issue with EAR deployments only)
-
7. Re: Mystery Endpoint JBoss 7 final
mwr0707 Apr 3, 2012 6:21 PM (in response to asoldano)Hi Alessio,
I was seeing the endpoints in the admin console after doing WAR deployments up through Flux Capacitor. In Brontes they are no longer visible. Instead I see a "Provider tab" with "The configuration of the web services subsystem" and an Edit button.
Modify SOAP Address: true
WSDL Port: 0
WSDL Host: ${jboss.bind.address:127.0.0.1}
WSDL Secure Port: 0
Regards
-
8. Re: Mystery Endpoint JBoss 7 final
asoldano Apr 4, 2012 2:56 AM (in response to mwr0707)The webservices subsystem is something new yet unrelated to this "issue". Please check Deployments->Webservices in the Runtime tab. If your deployments are not listed there, please file a console component jira in AS7 and assign to Heiko Braun. Thanks.
-
9. Re: Mystery Endpoint JBoss 7 final
mwr0707 Apr 4, 2012 8:34 AM (in response to asoldano)Ah - new location. That was it. Looks great. Thank-you.
-
10. Re: Mystery Endpoint JBoss 7 final
rasras Feb 13, 2019 3:48 AM (in response to mwr0707)Hello All,
I know this post is very old but I was also facing the same issue & non of the above solutions worked me.
So posting my solution here might help someone else.
I access the URL: http://localhost:9990/jbossws/services which directly landed me to a page of Registered Service Endpoints in JBOSS.
Thanks,
RAS