1 package org.objectweb.celtix.bus.bindings.soap; 2 3 import java.io.IOException ; 4 5 import javax.wsdl.WSDLException; 6 7 import org.objectweb.celtix.Bus; 8 import org.objectweb.celtix.bindings.AbstractBindingImpl; 9 import org.objectweb.celtix.bindings.AbstractClientBinding; 10 import org.objectweb.celtix.ws.addressing.EndpointReferenceType; 11 12 13 public class SOAPClientBinding extends AbstractClientBinding { 14 protected final SOAPBindingImpl soapBinding; 15 16 public SOAPClientBinding(Bus b, EndpointReferenceType ref) throws WSDLException, IOException { 17 super(b, ref); 18 soapBinding = new SOAPBindingImpl(false); 19 } 20 21 public AbstractBindingImpl getBindingImpl() { 22 return soapBinding; 23 } 24 25 public boolean isBindingCompatible(String address) { 26 return address.contains("http:"); 27 } 28 } 29 | Popular Tags |