public void testUsingAddressingOptional() {
wsdlLocation = System.getProperty("basedir", ".") + "/"
+ "test-resources/wsdl/UsingAddressingOptional.wsdl";
File testResourceFile = new File(wsdlLocation);
try {
WSDL11ToAllAxisServicesBuilder builder = new WSDL11ToAllAxisServicesBuilder(
new FileInputStream(testResourceFile));
AxisService axisService = builder.populateService();
String addressingRequired = AddressingHelper
.getAddressingRequirementParemeterValue(axisService);
assertEquals("Unexpected addressingRequirementParameter value: "
+ addressingRequired,
AddressingConstants.ADDRESSING_OPTIONAL, addressingRequired);