Am a new bie to webMethods,I am working on V6.1.
Am trying a simple Publish/Subscribe appln using JDBC adapter.
The application goes like this…
Have created an InsertNotification
Created a trigger which is triggered when a record is inserted to a particular table in a database and triggers a flow which inserts another record to another table.
The issue is that even though all the services run individually without any error,there is a problem when i run the flow service.I dont get any errors but NULL is inserted to the the table
I use MSSQL V8 and have also installed MSSQL 2000 DataDriver for JDBC.
I did check the logs for the same(using pub.flow.tracePipeline),the values are present in the publishnotifydocument, but NULL is being inserted into the table.
Inserting NULL…indicates that mapping to your insert AS fields is not working.Please step thru in your subscribing flow service until insert and make sure the inputs fields has the data before insert calls,probably you will find the root cause.let us know the results.
ok…Can anyone give me a brief explanation as to how to implement a simple Publish/Subscribe appln using a single IS.
So that i`ll verify what am doing is right or not…
I am not exaclty sure what the error is ? RMG could surely help !!!
Try to refresh the JDBC Adapter services. Then re-map the data in the flow service and run it again , Hope this helps.
A simple pub/Sub is what you have already implemented ,i.e on any insert into the database table where you configured the webMethods trigger , an insert notification publishable document is fired which is subscribed by your flow service.
Should the Input document to the Flow service be the NotificationPublish document or a document tht references the NotificationPublishdocument?
Actually i tried both the cases…none worked;(
And jeevan i refreshed n tried as u told…even then …;(((
The input document to the flow service should have the complete namespace of the publishable document.
When it creates a publishable document when creating the insert notification trigger u could copy the same and paste it to u’r input tab. So it automatically references to u’r pubshiable doucument
You should set subscribe service input with publishable document name as is like
Dept1: InsertNtfyPublishDocument (Dept1: InsertNtfyPublishDocumentReference)…Did you set like this only?
Check the input document name as RMG said, where u have to give the fully qualified path of the notication of document.
– “Can’t start a cloned connection while in manual transaction mode.”–
here the trigger already is processing a request and u must tried again too many times trying to to test the trigger , thats why I think the error popped up. A simailar error had once come to me.
Have given the right name… Dept1:InsertNtfyPublishDocument which is of type document reference referencing the document InsertNtfyPublishDocument and how do i come out of this error
Could not run ‘TryTrig’.
com.wm.app.b2b.server.ServiceException: [ISS.0085.9169] Could not validate data corresponding to publishable document: Dept1:InsertNtfyPublishDocument