HttpBindingFactory.HTTP_BINDING_ID);
info.setName(new QName(si.getName().getNamespaceURI(),
si.getName().getLocalPart() + "HttpBinding"));
service.put(URIMapper.class.getName(), mapper);
MethodDispatcher md = (MethodDispatcher) service.get(MethodDispatcher.class.getName());
for (OperationInfo o : si.getInterface().getOperations()) {
BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());
info.addOperation(bop);
Method m = md.getMethod(bop);
// attempt to map the method to a resource using different strategies
for (ResourceStrategy s : strategies) {
// Try different ones until we find one that succeeds
if (s.map(bop, m, mapper)) {