public EndpointInfo createEndpointInfo( ServiceInfo serviceInfo, BindingInfo b, List<?> ees ) { if (ees != null) { for (Iterator<?> itr = ees.iterator(); itr.hasNext();) { Object extensor = itr.next(); if (extensor instanceof AddressType) { final AddressType httpAdd = (AddressType)extensor; EndpointInfo info = new HttpEndpointInfo(serviceInfo, "http://schemas.xmlsoap.org/wsdl/http/"); info.setAddress(httpAdd.getLocation()); info.addExtensor(httpAdd); return info; } } } HttpEndpointInfo hei = new HttpEndpointInfo(serviceInfo, "http://schemas.xmlsoap.org/wsdl/http/"); AddressType at = new AddressType(); hei.addExtensor(at); return hei; }
address = ((SoapAddress)e).getLocationURI(); } else if (e instanceof AddressType) { address = ((AddressType)e).getLocation(); } else if (e instanceof SOAP12Address) { address = ((SOAP12Address)e).getLocationURI();
public EndpointInfo createEndpointInfo( ServiceInfo serviceInfo, BindingInfo b, List<?> ees ) { if (ees != null) { for (Iterator<?> itr = ees.iterator(); itr.hasNext();) { Object extensor = itr.next(); if (extensor instanceof AddressType) { final AddressType httpAdd = (AddressType)extensor; EndpointInfo info = new HttpEndpointInfo(serviceInfo, "http://schemas.xmlsoap.org/wsdl/http/"); info.setAddress(httpAdd.getLocation()); info.addExtensor(httpAdd); return info; } } } HttpEndpointInfo hei = new HttpEndpointInfo(serviceInfo, "http://schemas.xmlsoap.org/wsdl/http/"); AddressType at = new AddressType(); hei.addExtensor(at); return hei; }
protected Destination getDestination(EndpointInfo ei, EndpointReferenceType reference, Bus bus) throws IOException { Destination d = null; String addr = reference.getAddress().getValue(); if (addr == null) { AddressType tp = ei.getExtensor(AddressType.class); if (tp != null) { addr = tp.getLocation(); } } if (addr == null) { addr = NULL_ADDRESS; } d = destinations.get(addr); if (d == null) { d = createDestination(ei, reference, bus); Destination tmpD = destinations.putIfAbsent(addr, d); if (tmpD != null) { d = tmpD; } } return d; }
protected Destination getDestination(EndpointInfo ei, EndpointReferenceType reference, Bus bus) throws IOException { Destination d = null; String addr = reference.getAddress().getValue(); if (addr == null) { AddressType tp = ei.getExtensor(AddressType.class); if (tp != null) { addr = tp.getLocation(); } } if (addr == null) { addr = NULL_ADDRESS; } d = destinations.get(addr); if (d == null) { d = createDestination(ei, reference, bus); Destination tmpD = destinations.putIfAbsent(addr, d); if (tmpD != null) { d = tmpD; } } return d; }
info.setAddress(httpAdd.getLocation()); info.addExtensor(httpAdd); return info;
new HttpEndpointInfo(serviceInfo, "http://schemas.xmlsoap.org/wsdl/http/"); info.setAddress(httpAdd.getLocation()); info.addExtensor(httpAdd); return info;
address = ((SoapAddress)e).getLocationURI(); } else if (e instanceof AddressType) { address = ((AddressType)e).getLocation(); } else if (e instanceof SOAP12Address) { address = ((SOAP12Address)e).getLocationURI();