public JAXBRIContext getJAXBRIContext() {
return XmlTypeAdapter.CoordinationContextImpl.jaxbContext;
}
private CoordinationContext buildContext() {
CoordinationContext cct = new CoordinationContext();
if (mustUnderstand) {
if(soapVersion == null){
throw new WebServiceException("SOAP version is not specified!");
}
cct.getOtherAttributes().put(new QName(soapVersion.nsUri,"mustUnderstand"), "1");
}
cct.setCoordinationType(coordinationType);
CoordinationContextType.Identifier IdentifierObj = new CoordinationContextType.Identifier();
IdentifierObj.setValue(identifier);
cct.setIdentifier(IdentifierObj);
Expires expiresObj = new Expires();
expiresObj.setValue(expires);
cct.setExpires(expiresObj);
cct.setRegistrationService(getEPR());
return cct;
}