}
OdeService service = new OdeService(this, endpoint);
try {
ProcessConf pc = _store.getProcessConfiguration(pid);
Serializer ofh = new Serializer(pc.getCBPInputStream());
OProcess compiledProcess = ofh.readOProcess();
QName portType = null;
for (Map.Entry<String, Endpoint> provide : pc.getProvideEndpoints().entrySet()) {
if (provide.getValue().equals(endpoint)) {
OPartnerLink plink = compiledProcess.getPartnerLink(provide.getKey());
portType = plink.myRolePortType.getQName();