}
public void verifyJAXWSProperties(MessageContext ctx) throws PingException {
QName operationName = (QName)ctx.get(MessageContext.WSDL_OPERATION);
if (operationName == null) {
throw new PingException("WSDL_OPERATION not found");
}
URI wsdlDescription = (URI)ctx.get(MessageContext.WSDL_DESCRIPTION);
if (!wsdlDescription.toString().equals("http://localhost:9005/HandlerTest/SoapPort?wsdl")) {
throw new PingException("WSDL_DESCRIPTION not found");
}
QName wsdlPort = (QName)ctx.get(MessageContext.WSDL_PORT);
if (!wsdlPort.getLocalPart().equals("SoapPort")) {
throw new PingException("WSDL_PORT not found");
}
QName wsdlInterface = (QName)ctx.get(MessageContext.WSDL_INTERFACE);
if (!wsdlInterface.getLocalPart().equals("HandlerTest")) {
throw new PingException("WSDL_INTERFACE not found");
}
QName wsdlService = (QName)ctx.get(MessageContext.WSDL_SERVICE);
if (!wsdlService.getLocalPart().equals("HandlerTestService")) {
throw new PingException("WSDL_SERVICE not found");
}
}