String namespace = JAXWSUtil.getTargetNamespace(type, api);
Map<String,Object> properties = new HashMap<String,Object>();
properties.put(JAXBContextImpl.TARGET_NAMESPACE, namespace);
JAXBContextImpl jaxbContext =
new JAXBContextImpl(jaxbClassArray, properties);
Marshaller marshaller = jaxbContext.createMarshaller();
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
DirectSkeleton skel =
new DirectSkeleton(type, api, jaxbContext, wsdlLocation, namespace, wsdl);
Method[] methods = type.getMethods();