"{http://schemas.xmlsoap.org/ws/2005/04/discovery}*");
InTransformReader reader = new InTransformReader(domReader, inMap , null, false);
doc = StaxUtils.read(reader);
return new DOMSource(doc);
}
return new JAXBSource(context, factory.createProbeMatches(pmt));
} else if (obj instanceof HelloType) {
//check if it's a DiscoveryProxy
HelloType h = (HelloType)obj;
if (h.getTypes().contains(WSDiscoveryClient.SERVICE_QNAME)
|| h.getTypes().contains(new QName("", WSDiscoveryClient.SERVICE_QNAME.getLocalPart()))) {