[jbossws-users] [JBossWS] - nullpointer in specifying transport guarantee

siddharthags do-not-reply at jboss.com
Mon Jan 8 19:16:21 EST 2007


hi 
i have a web service that is deployed as a war on the JBoss [Zion] 4.0.5.GA build running the jbosws1.0.3 stack. i am trying to specify the transport guarantee for it to be confidential in the web.xml as 

  | <web-ap>
  | .....
  | <security-constraint>
  | 		<web-resource-collection>
  | 			<web-resource-name>myservice</web-resource-name>
  | 		</web-resource-collection>
  | 		<user-data-constraint>
  | 			<transport-guarantee>CONFIDENTIAL</transport-guarantee>
  | 		</user-data-constraint>
  | 	</security-constraint>
  | </web-app>
  | 

this is following the example specified of securing and enforcing of https mentioned for jmx-console

but am getting an error on jboss start up that says

  | 16:06:31,137 ERROR [MainDeployer] Could not create deployment: file:/D:/Program Files/jboss/server/default/deploy/myservice.war/
  | java.lang.NullPointerException
  |         at org.jboss.util.xml.DOMUtils.getTextContent(DOMUtils.java:392)
  |         at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.initTransportGuaranteeJSE(JSR109ServerMetaDataBuilder.java:361)
  |         at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:203)
  | 

i can enforce the https via https:// prepend before the REPLACE... tag in the wsdl but i guess reading various posts by jason indicate that this should be supported by also just specifying the transport guarantee value in the web.xml from the 4.04 version of the AS?

TIA for ay answers

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

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



More information about the jbossws-users mailing list