Skip to main content

developerWorks >  WebSphere  >  Forums  >  WebSphere Process Server  >  developerWorks

Consuming Common Base Events    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is answered.

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 12, 2009 7:09 PM Last Post By: PAVRG
PAVRG

Posts: 3
Registered: Nov 11, 2009 11:31:47 AM
Consuming Common Base Events
Posted: Nov 11, 2009 11:40:50 AM
 
Click to report abuse...   Click to reply to this thread Reply
I am trying to extract application data from the Common Base Event emitted by the Event Emitter primitive. The application data is wrapped in <wbi:event> element tag in the CBE. The wbi:event stanza is available as java.lang.String. I was hoping to parse the XML into an object, which would be more useful but I cannot locate the schema for <wbi:event>.

I was looking at C:\IBM\WID62\runtimes\bi_v62\ProcessChoreographer\client\HTMEvent.xsd which imports this schema. <import namespace="http://www.ibm.com/xmlns/prod/websphere/monitoring/6.1" schemaLocation="WBIEvent.xsd"/>

But I cannot locate the WBIEvent.xsd in my WPS installation. Any thoughts on where to look?

Thanks....
Jens.Engelke

Posts: 75
Registered: Jul 17, 2009 09:19:47 AM
Re: Consuming Common Base Events
Posted: Nov 12, 2009 03:35:39 AM   in response to: PAVRG in response to: PAVRG's post
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

have a look for .xsd files in all subfolders of
<WID_ROOT>\configuration\org.eclipse.osgi\bundles

Depending on your version, you'll find WBIEvent.xsd in one of them.
There is WBIEvent, which is "the general" one as well as several specific ones for different types of events. This is kind of inheritance (all are WBIMonitoringEvents, but some are more specifically from ResourceAdapters, HT ...)

Regards,
Jens
Viv2005

Posts: 13
Registered: May 29, 2006 08:32:35 AM
Re: Consuming Common Base Events
Posted: Nov 12, 2009 07:56:08 AM   in response to: PAVRG in response to: PAVRG's post
 
Click to report abuse...   Click to reply to this thread Reply
Here is the xsd -

http://xml.coverpages.org/IBMCommonBaseEventV111-XSD.html

Regards,
Viv
PAVRG

Posts: 3
Registered: Nov 11, 2009 11:31:47 AM
Re: Consuming Common Base Events
Posted: Nov 12, 2009 07:09:38 PM   in response to: Jens.Engelke in response to: Jens.Engelke's post
 
Click to report abuse...   Click to reply to this thread Reply
Thanks Jens.

Your answer is more convenient. It was available in C:\\IBM\WID62\\configuration\org.eclipse.osgi\\bundles\961\\1\\.cp\\model in my environment.

However, late last night I found it in C:\\IBM\WID62\\runtimes\\bi_v62\\plugins\\com.ibm.soacore.runtime_6.1.0.jar I opened the JAR and extracted the xsd and was able to make progress.

regards..
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums