01: package org.objectweb.celtix.bus.bindings.soap;
02:
03: import java.io.IOException;
04:
05: import javax.wsdl.WSDLException;
06:
07: import org.objectweb.celtix.Bus;
08: import org.objectweb.celtix.bindings.AbstractBindingImpl;
09: import org.objectweb.celtix.bindings.AbstractClientBinding;
10: import org.objectweb.celtix.ws.addressing.EndpointReferenceType;
11:
12: public class SOAPClientBinding extends AbstractClientBinding {
13: protected final SOAPBindingImpl soapBinding;
14:
15: public SOAPClientBinding(Bus b, EndpointReferenceType ref)
16: 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: }
|