8 Replies Latest reply on Aug 30, 2007 8:41 AM by fabriziolxxiii

    WS-Security with JAX-RPC

    fabriziolxxiii Newbie

      I've written a simple JAX-RPC Web Service to try WS-Security with JBossAS 4.2.1.

      In WAR module WEB-INF folder I've put jboss-wsse-server.xml and all necessary files (see http://www.driveway.com/lfpxe30590 please), but when I try to call Web Service with a client that don't support WS-Security, the Web Service respond without any error!

      How it's possible?
      Where is the error?

      I'm sorry for my bad English, and I hope that I've written is clear enough.
      Thanks a lot.

      Fabrizio[/url]

        • 1. Re: WS-Security with JAX-RPC
          Thomas Diesler Master

          Did you enable the endpoint to use WSSE?

          http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Server_side_configuration_.28jboss-wsse-server.xml.29

          For JAXRPC you can set the config-name in jboss.xml or joss-web.xml

          • 2. Re: WS-Security with JAX-RPC
            fabriziolxxiii Newbie

            Yes, I do by jboss-wsse-server.xml... is it correct?

            • 3. Re: WS-Security with JAX-RPC
              Thomas Diesler Master

              Show me how you set the config-name

              • 4. Re: WS-Security with JAX-RPC
                fabriziolxxiii Newbie

                jboss-web.xml

                <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
                 "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
                <jboss-web>
                 <webservice-description>
                 <webservice-description-name>ws_producer</webservice-description-name>
                 <config-name>Standard WSSecurity Endpoint</config-name>
                 </webservice-description>
                </jboss-web>


                jboss-wsse-server.xml

                <?xml version="1.0" encoding="UTF-8"?>
                <jboss-ws-security
                 xmlns="http://www.jboss.com/ws-security/config"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
                 <key-store-file>WEB-INF/wsse.keystore</key-store-file>
                 <key-store-password>jbossws</key-store-password>
                 <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
                 <trust-store-password>jbossws</trust-store-password>
                 <config>
                 <sign type="x509v3" alias="wsse" />
                 <encrypt type="x509v3" alias="wsse" />
                 <requires>
                 <signature />
                 <encryption />
                 </requires>
                 </config>
                </jboss-ws-security>


                web.xml

                <?xml version="1.0" encoding="UTF-8"?>
                <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                 <description>JBoss Integration Test - WS-Security Test - WS Producer</description>
                 <display-name>JBoss Integration Test - WS-Security Test - WS Producer</display-name>
                
                 <servlet>
                 <description>WS Producer Servlet</description>
                 <display-name>WS Producer Servlet</display-name>
                 <servlet-name>WsProducerServlet</servlet-name>
                 <servlet-class>it.auriga.jbossintegrationtest.wssecurity.producer.ServiceImpl</servlet-class>
                 </servlet>
                
                 <servlet-mapping>
                 <servlet-name>WsProducerServlet</servlet-name>
                 <url-pattern>/service</url-pattern>
                 </servlet-mapping>
                </web-app>


                application.xml

                <?xml version="1.0" encoding="UTF-8"?>
                <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
                <application>
                 <display-name>JBoss Integration Test - WS-Security Test - WS Producer</display-name>
                 <module>
                 <web>
                 <web-uri>ws_producer.war</web-uri>
                 <context-root>/ws_producer</context-root>
                 </web>
                 </module>
                </application>





                • 5. Re: WS-Security with JAX-RPC
                  Thomas Diesler Master

                  That all looks good. Have a look at the logfile to see if the endpoint is really using that config (i.e. is it a secure endpoint?)

                  • 6. Re: WS-Security with JAX-RPC
                    fabriziolxxiii Newbie

                    When I deploy my Web Service, I see the following log messages in server.log file:

                    2007-08-24 09:01:55,166 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:55,166 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/D:/JBoss/server/all/deploy/ws_producer.ear -> D:\JBoss\server\all\tmp\deploy\tmp63669ws_producer.ear
                    2007-08-24 09:01:55,259 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@d8a1a0
                    2007-08-24 09:01:55,259 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:55,280 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: ws_producer.war
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@7a0b49e2 { url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war }
                     deployer: null
                     status: null
                     state: CONSTRUCTED
                     watch: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                     altDD: null
                     lastDeployed: 0
                     lastModified: 0
                     mbeans:
                    , isDirectory: false
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@4e79f1, cl=org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@4e79f1, cl=org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
                    2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg:
                    2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] found 1 subpackages of file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
                    2007-08-24 09:01:55,445 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init
                    2007-08-24 09:01:55,445 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Unpacking war to: D:\JBoss\server\all\tmp\deploy\tmp63669ws_producer.ear-contents\ws_producer-exp.war
                    2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Replaced war with unpacked contents
                    2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Was unable to delete war file
                    2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] webContext: /ws_producer
                    2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] warURL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
                    2007-08-24 09:01:55,632 DEBUG [org.jboss.web.tomcat.service.JBossWeb] End init
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=52}
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.web.tomcat.service.JBossWeb] create, ws_producer.war
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=ws_producer.war,id=2047560162 dependents are: []
                    2007-08-24 09:01:55,642 DEBUG [org.jboss.ws.integration.jboss42.DeployerInterceptorJSE] create: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:55,663 DEBUG [org.jboss.ws.core.server.ServiceEndpointDeployer] create: ws_producer.ear/ws_producer.war
                    2007-08-24 09:01:55,673 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] START buildMetaData: [name=ws_producer.ear/ws_producer.war]
                    2007-08-24 09:01:55,756 DEBUG [org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsdl/Service.wsdl
                    2007-08-24 09:01:56,696 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] createConfiguration from: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/jboss-wsse-server.xml
                    2007-08-24 09:01:56,769 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] Add keystore: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsse.keystore
                    2007-08-24 09:01:56,769 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] Add truststore: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsse.truststore
                    2007-08-24 09:01:56,800 DEBUG [org.jboss.ws.core.server.ServiceEndpointManager] Using WebServicePort: 8080
                    2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Reconfiguration forced, new config is 'Standard WSSecurity Endpoint'
                    2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Create new config [name=Standard WSSecurity Endpoint,file=META-INF/standard-jaxrpc-endpoint-config.xml]
                    2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] getConfig: [name=Standard WSSecurity Endpoint,url=META-INF/standard-jaxrpc-endpoint-config.xml]
                    2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] parse: file:/D:/JBoss/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
                    2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure EndpointMetaData
                    2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 1 PRE handlers
                    2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 ENDPOINT handlers
                    2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 POST handlers
                    2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.builder.MetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://127.0.0.1:8080/ws_producer/service'
                    2007-08-24 09:01:58,402 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] END buildMetaData:
                    UnifiedMetaData:
                     implementation: jbossws-1.2.1.GA (build=200704151756)
                     deploymentName: ws_producer.ear/ws_producer.war
                     securityDomain: null
                    
                    ServiceMetaData:
                     qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}Service
                     refName=null
                     wsdName=Service
                     wsdlFile=WEB-INF/wsdl/Service.wsdl
                     wsdlLocation=null
                     jaxrpcMapping=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/jaxrpc-mapping.xml
                     publishLocation=null
                     securityConfig=found
                     properties=null
                    
                    TypesMetaData:
                    
                    
                    ServerEndpointMetaData:
                     type=JAXRPC
                     qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}ServicePort
                     id=jboss.ws:context=ws_producer,endpoint=WsProducerServlet
                     address=http://127.0.0.1:8080/ws_producer/service
                     binding=http://schemas.xmlsoap.org/wsdl/soap/http
                     linkName=WsProducerServlet
                     implName=it.auriga.jbossintegrationtest.wssecurity.producer.ServiceImpl
                     seiName=it.auriga.jbossintegrationtest.wssecurity.producer.Service
                     serviceMode=null
                     portComponentName=ServicePort
                     contextRoot=/ws_producer
                     urlPattern=/service
                     configFile=META-INF/standard-jaxrpc-endpoint-config.xml
                     configName=Standard WSSecurity Endpoint
                     authMethod=null
                     transportGuarantee=null
                     secureWSDLAccess=false
                     properties={}
                    
                    OperationMetaData:
                     qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}run
                     javaName=run
                     style=rpc/literal
                     oneWay=false
                     soapAction=
                    ParameterMetaData:
                     xmlName=String_1
                     partName=String_1
                     xmlType={http://www.w3.org/2001/XMLSchema}string
                     javaType=java.lang.String
                     mode=IN
                     inHeader=false
                     index=0
                    ParameterMetaData:
                     xmlName=int_2
                     partName=int_2
                     xmlType={http://www.w3.org/2001/XMLSchema}int
                     javaType=int
                     mode=IN
                     inHeader=false
                     index=1
                    ReturnMetaData:
                     xmlName=result
                     partName=result
                     xmlType={http://www.w3.org/2001/XMLSchema}string
                     javaType=java.lang.String
                     mode=OUT
                     inHeader=false
                     index=-1
                    
                    HandlerMetaDataJAXRPC:
                     type=PRE
                     name=WSSecurityHandlerInbound
                     class=org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound
                     params=[]
                     headers=[]
                     roles=[]
                     ports=[]
                    2007-08-24 09:01:58,650 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding
                    2007-08-24 09:01:58,723 DEBUG [org.jboss.ws.core.server.ServiceEndpointManager] WebService created: jboss.ws:context=ws_producer,endpoint=WsProducerServlet
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ws_producer.war
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.EARDeployment] Creating jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.EARDeployment] Created jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EARDeployment,url='ws_producer.ear' dependents are: []
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ws_producer.ear
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webContext: /ws_producer
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] warURL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@1ce56f8
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
                    2007-08-24 09:01:58,816 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/ws_producer, warUrl=.../tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
                    2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@1afbbe3
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=52}
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@5d173
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@92e78c
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@9fbe93
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Bound java:comp/ORB
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] addEnvEntries
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceEnvRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkMessageDestinationRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbLocalRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkServiceRefs
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkSecurityDomain
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] No security-domain given, using default: java:/jaas/other
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
                    2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
                    2007-08-24 09:01:58,981 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
                    2007-08-24 09:01:59,333 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5'
                    2007-08-24 09:01:59,343 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, URL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, classLoader: java.net.FactoryURLClassLoader@1afbbe3:28294115} jboss.web:j2eeType=WebModule,name=//localhost/ws_producer,J2EEApplication=none,J2EEServer=none
                    2007-08-24 09:01:59,343 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=ws_producer.war,id=2047560162
                    2007-08-24 09:01:59,343 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=ws_producer.war,id=2047560162 dependent components: []
                    2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.integration.jboss42.DeployerInterceptorJSE] start: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
                    2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.core.server.ServiceEndpointDeployer] start: ws_producer.ear/ws_producer.war
                    2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.core.server.WSDLFilePublisher] Publish WSDL file: WEB-INF/wsdl/Service.wsdl
                    2007-08-24 09:01:59,374 INFO [org.jboss.ws.core.server.WSDLFilePublisher] WSDL published to: file:/D:/JBoss/server/all/data/wsdl/ws_producer.ear/ws_producer.war/Service.wsdl
                    2007-08-24 09:01:59,374 DEBUG [org.jboss.ws.metadata.umdm.UnifiedMetaData] Eagerly initialize the meta data model
                    2007-08-24 09:01:59,395 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.String it.auriga.jbossintegrationtest.wssecurity.producer.Service.run(java.lang.String,int) throws java.rmi.RemoteException
                    2007-08-24 09:02:00,015 INFO [org.jboss.ws.core.server.ServiceEndpointManager] WebService started: http://127.0.0.1:8080/ws_producer/service
                    2007-08-24 09:02:00,015 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ws_producer.war
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EARDeployment,url='ws_producer.ear' dependent components: []
                    2007-08-24 09:02:00,026 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ws_producer.ear
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/JBoss/server/all/deploy/ws_producer.ear
                    2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/JBoss/server/all/deploy/ws_producer.ear -> file:/D:/JBoss/server/all/deploy/ws_producer.ear



                    • 8. Re: WS-Security with JAX-RPC
                      fabriziolxxiii Newbie

                      It seems to work!

                      Thanks a lot!