Awesome! Thanks cliffb53. It worked like a charm. Here is my jboss.xml now (for those who may need this later): <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"> | <jboss> | <!--<security-domain>java:/jaas/JBossWS</security-domain>--> <!-- This links to conf/login-config.xml in jboss point to a security domain --> | <enterprise-beans> | <session> | <ejb-name>JBossTest2</ejb-name> | <jndi-name>JBossTest2</jndi-name> | <resource-ref> | <description>Database Reference to DataSource</description> | <res-ref-name>jdbc/jbossTest2DB</res-ref-name> | <jndi-name>java:/jbossTest2DB</jndi-name> | </resource-ref> | <port-component> | <port-component-name>JBossTest2Endpoint</port-component-name> | <!--<auth-method>BASIC</auth-method>--> | <port-component-uri>/jbosstest2/1.0</port-component-uri> | </port-component> | </session> | </enterprise-beans> | <webservices> | <webservice-description> | <webservice-description-name>JBossTest2</webservice-description-name> | <config-name>Standard Secure Endpoint</config-name> | </webservice-description> | </webservices> | </jboss>
When I send requests to my service now I get: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> | <env:Header/> | <env:Body> | <env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> | <faultcode>wsse:InvalidSecurity</faultcode> | <faultstring>This service requires <wsse:Security>, which is missing.</faultstring> | </env:Fault> | </env:Body> | </env:Envelope> Which is what I was wanting. One question I have now is, how do I generate requests that fulfill the security requirements (i.e.how do I sign requests)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948719#3948719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948719 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
