* @throws WebServiceException
* @throws XMLStreamException
*/
private void createXMLPart(OMElement root, Protocol protocol)
throws WebServiceException, XMLStreamException {
XMLPartFactory factory = (XMLPartFactory) FactoryRegistry.getFactory(XMLPartFactory.class);
xmlPart = factory.createFrom(root, protocol);
this.protocol = xmlPart.getProtocol();
xmlPart.setParent(this);
}