registry = wsdlFactory.newPopulatedExtensionRegistry();
QName header11 = new QName(WSDLConstants.NS_SOAP11, "header");
QName header12 = new QName(WSDLConstants.NS_SOAP12, "header");
registry.registerDeserializer(MIMEPart.class,
header11,
new SOAPHeaderSerializer());
registry.registerSerializer(MIMEPart.class,
header11,
new SOAPHeaderSerializer());
registry.mapExtensionTypes(MIMEPart.class, header11, SOAPHeaderImpl.class);
registry.registerDeserializer(MIMEPart.class,
header12,
new SOAPHeaderSerializer());
registry.registerSerializer(MIMEPart.class,
header12,
new SOAPHeaderSerializer());
registry.mapExtensionTypes(MIMEPart.class, header12, SOAPHeaderImpl.class);
registerInitialExtensions();
wsdlReader = wsdlFactory.newWSDLReader();