public void testWSIFPort_ApacheSOAP() {
try {
// TEST APACHE SOAP
TestUtilities.setProviderForProtocol("soap");
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFService service =
factory.getService(
TestUtilities.getWsdlPath(
"java\\test\\addressbook\\wsifservice")
+ "AddressBook.wsdl",
null,
null,
"http://wsifservice.addressbook/",
"AddressBook");
service.mapType(
new javax.xml.namespace.QName(
"http://wsiftypes.addressbook/",
"address"),
Class.forName("addressbook.wsiftypes.Address"));
service.mapType(
new javax.xml.namespace.QName(
"http://wsiftypes.addressbook/",
"phone"),
Class.forName("addressbook.wsiftypes.Phone"));
WSIFPort port = service.getPort(server+"Port");
WSIFOperation op = port.createOperation("addEntry", "AddEntryWholeNameRequest", null);
doItPort(port, "WSIFPort_ApacheSOAP");
WSIFOperation op2 = port.createOperation("addEntry", "AddEntryWholeNameRequest", null);
WSIFMessage inputMessage = op2.createInputMessage();
WSIFMessage outputMessage = op2.createOutputMessage();