I have a db in Notes 7.0 that I want to provide invoicing info to a third party system. I am thinking that I need a web service to make a view available to the external system. I have no info on the external system but it won’t be domino.
Do I need a web service, is it difficult to write, or can you reccommend someone too write it for a fee?
Subject: Do I need a web service for this?
If it’s just to provide access to a view, a web service is overkill. You could create another version of the view that shows the data in xml format, and display it with a form template instead. You will find plenty of examples of this in the forum, and it should only take a couple of hours to implement.
HTH,
Andrew
Subject: RE: Do I need a web service for this?
glad to hear it, thanks
Subject: RE: Do I need a web service for this?
Or you could just point to a Domino-native ?ReadViewEntries URL and give 'em an annotated sample. It’s a lot easier than making sure that all of the character entities are properly escaped, etc., in home-grown XML views – and you can easily use multi-level categorization, which is a real sonofabee in the hand-rolled version.
Subject: RE: Do I need a web service for this?
Stan, Is that all I have to do, just put?readviewentries on the end of the view url? I read the help on it and it sounded quite complicated, but I just swapped ?openview for ?readviewentries and instantlyy gott what looks to be xml output. Is that all I need to do?
Subject: RE: Do I need a web service for this?
Chris,
Similar stuff I have been done earlier when I need to integrate Domino with PHP application. As Stan told , use url command with “?ReadViewEntries” and get the xml string handle , parse xml using DOM or any xml parser and retrieve desire information. Make sure select “Available to public access users”. Don’t go for template idea because it needs another design element creation.
Rishi
Subject: RE: Do I need a web service for this?
I see a problem but not an answer…It seems that if Iam logged-in I can access views that I don’t want accessed visually. Ie. Ishould be ablse to access these views via form lookups or scripts accessing views from behiind the scene, but to stop people actually browsing a view I don;t want to be browsed, I use a $$viewTemplateDefault form to provide a “clear off” message, but if I use the ?readviewentrues url it bypasses the template. Any way I can keep views from being browsed without locking out programmatic access?