[jboss-user] [JBossWS] - WebService on ESB

nadiaebrahim do-not-reply at jboss.com
Thu Jul 9 07:18:19 EDT 2009


Hi there all..

I am very new to the whole jboss esb thing..(I simply downloaded jbossesb-server zip file and unzipped it on my pc )
I am trying to implement a simple webservice on the esb and have used the webservice_producer sample code as given in the jbossesb-server download.(Have put this project in my eclipse as a dynamic web project) and then exported the war file to server/default/deploy directory.

I can see in the server log(below) that it does something with the war file.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2009-07-09 09:02:33,210 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.displayConfiguration' - DISABLED
2009-07-09 09:02:33,210 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.validateXml' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.verifyObjects' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.forceLoadConfiguration' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableHtmlTagLibValidator' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.preferXHTML' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.compressViewState' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.compressJavaScript' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.externalizeJavaScript' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.sendPoweredByHeader' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableJSStyleHiding' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableScriptsInAttributeValues' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.writeStateAtFormEnd' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableLazyBeanValidation' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enabledLoadBundle11Compatibility' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableRestoreView11Compatibility' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.serializeServerState' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.enableViewStateIdRendering' - ENABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.registerConverterPropertyEditors' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.disableUnicodeEscaping' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1021: [/webservice_producer] Configuration option 'com.sun.faces.developmentMode' - DISABLED
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'javax.faces.STATE_SAVING_METHOD' set to 'server'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'javax.faces.DEFAULT_SUFFIX' set to '.jsp'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.numberOfViewsInSession' set to '15'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.numberOfLogicalViews' set to '15'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.injectionProvider' set to 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.responseBufferSize' set to '1024'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.clientStateWriteBufferSize' set to '8192'
2009-07-09 09:02:33,211 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] JSF1018: [/webservice_producer] Configuration option 'com.sun.faces.expressionFactory' set to 'com.sun.el.ExpressionFactoryImpl'
2009-07-09 09:02:33,216 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] No FacesServlet found in deployment descriptor - bypassing configuration
2009-07-09 09:02:33,216 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0'
2009-07-09 09:02:33,218 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /C:/java/esb/jbossesb-server-4.5.GA/server/default/tmp/deploy/tmp45897webservice_producer-exp.war/, URL: file:/C:/java/esb/jbossesb-server-4.5.GA/server/default/tmp/deploy/tmp45897webservice_producer-exp.war/, classLoader: java.net.FactoryURLClassLoader at 4cc70e:5031694} jboss.web:j2eeType=WebModule,name=//localhost/webservice_producer,J2EEApplication=none,J2EEServer=none
2009-07-09 09:02:33,218 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=webservice_producer.war,id=-1402336082
2009-07-09 09:02:33,218 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=webservice_producer.war,id=-1402336082 dependent components: []
2009-07-09 09:02:33,223 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: webservice_producer.war
2009-07-09 09:02:33,223 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/java/esb/jbossesb-server-4.5.GA/server/default/deploy/webservice_producer.war

----------------------------------------------------------------------------------------------------------------------------------------------------------
My problem is that when I deploy to normal jboss application server ,I would be able to see the wsdl url from the below.
http://localhost:8080/jbossws/services

I see nothing on this url know.
I am also confused at to what the url  http://localhost:8080/contract means.

I have just copied the jbossesb-server to my directory.I have succesfully implemented a customlistener with the jbossesb-server install..

Not sure what I am doing wrong with the webservice …
can somebody please assist.

Thanks
Nadia 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242599#4242599

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242599




More information about the jboss-user mailing list