MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Calling a Web service and selectively saving the XML to a custom

  Asked By: Kayla    Date: May 11    Category: MOSS    Views: 1331

I am trying to call a web service like MSN search from within
sharepoint. I have tried using the Dataview web part and also Infopath,
and I am able to see the results set. The fields I am interested from
the result set are Title, URL and description. I have created a custom
list with those 3 fields and what I need to do is to be able to select
some of those results (Title, URL, and Description) and save them to
this custom list. Any ideas?



5 Answers Found

Answer #1    Answered By: Alyssa Butler     Answered On: May 11

Are you using WSS or MOSS?

I highly recommend purchasing moss for the search  indexing capabilities.

I'm thinking WSS can do something with respect to search too can't it?

I don't know about your specific request. I'd be interested  in seeing
the answer.

Answer #2    Answered By: Katy Patton     Answered On: May 11

Data Views are exactly that - views. They don't have any OOTB ability to write.
InfoPath has read/write ability, and it might be able to do what you want. Do
you have any additional details?

Answer #3    Answered By: Ana Payne     Answered On: May 11

Just to clarify on the point that Bryan made, you CAN write from a Data
View, but only to the same data source and if you have the permissions to
write to it. Just r-click on the DataView and select Properties and you will
see an Editing tab, and that provides you with the ability to show edit,
insert and update links on the data view itself.

My problem is that I need to write to a different destination, namely a
custom sharepoint list. What I am able to do right now is to query the Live
Search web  service form infopath  and save  ALL the results  that I parse into
a repeating table to this custom  list using the sharepoint web service  with
a technique similar to this:


I need to be able to pick just a couple of results and save them to the
list, not all, so I need to know how to programatically access the repeating
table and selectively apply that technique (or any other) to save the
results that I choose to.

Answer #4    Answered By: Hema Hegde     Answered On: May 11

Thanks for the clarification - I guess I missed that option.

Given your description, why not add a filter in InfoPath for the Live
Search source to pare down the results  (which should alter the table
based on the source), then write the same way you already have working?

Answer #5    Answered By: Lacey Daniels     Answered On: May 11

This is a great question. I'm guessing you want Sharepoint to consume a web
service and then automatically populate a list? This looks like a start:


Though I'm sure this is something other people have done? Like the previous
poster, I'd be interested  in this as well.