Skip to main content

Fall 2007

Go Search
Fall 2007
Customer Resource Site
  
Fall 2007 > Scribe!! > 93 Meeting  

Scribe!!

Modify settings and columns
Meeting Notes
  
View: 
Post
Edited: 9/4/2007 12:44 AM
Picture Placeholder: Bradley D. Dodson
Bradley D. Dodson
9/3 Meeting
Getting to know each other
• Speak up!



Choosing Roles
• Scribe


Issues with Standard
• Dictionary doesn't work because it's not serializable
• KeyValuePair array doesn't work either because generics does some sort of type creation to create a new temporary class which isn't useful to pass as a generic KeyValuePair<String, String> to the other web service
• Using SOAP to solve your problems is NOT the right thing to do, using yourself to solve your problems is the right thing to do.


Iterator for partial results
• Sending back an iterator instead of a simple result which is in and of itself a service that you can call asynchronously


Keeping GUID's forever
• using static vs. Application
• both are non-thread safe which creates a problem if you have more than one service running at the same time
What I meant was that they're shared variables, so you have to take care with synchronization. As long as you're using collection classes in them which are thread-safe, you should be fine. -brad
• simplest solution is probably to have a static array of GUID's that is initialized from a static constructor

How to store servers you're linked to from session to session?
• in production, they should be in databases



XML Group
• Structure and standard have been decided upon (will be posted on the discussion board)

<query>
<tag1> value </tag1>
<tag2> value2 </tag2>
.
.
.
</query>

Required Tag: <filename> ... </filename>


array of:
<result>
<tag1> value </tag1>
<tag2> value </tag2>
.
.
.
</result>

Required Tags: <name> ... </name>
<path> ... </path>
<host> ... </host>

• Next step is to figure out a parsing solution


Download Group
• I wasn't listening when this was discussed...bad scribe... the download people can edit this if they want.



Brad
• Got his searching to work correctly and integrated his web app with his web service
• Also, linked his own web service to his own web service and loops were prevented using the GUIDs
gosh am i really this much of a loner. I guess so -brad

Interconnect Group
• Running into problems with the connection on the network


Next Meeting
• Tomorrow (Tuesday) for people who want to meet
• Wednesday class for everyone else
I thought Wednesday at 9.?
Posted: 9/4/2007 11:45 PM
Picture Placeholder: Sohum Misra
Sohum Misra
Also, what were the suggested options for parsing and writing XML?
Edited: 9/5/2007 1:47 PM
Picture Placeholder: Bradley D. Dodson
Bradley D. Dodson
I would just like to clear up the semantics of the new function signatures for our standard interface.

First, to make sure, the search function is:
public string[] Search(string query, Guid guid);

query is an XML query as specified above and Guid is a guid. I'm a little unsure what string[] should be. Is it just an array of XML result elements? So would a valid return be:

{"<result><name>foo.bar</name><path>/</path><host>url.to.service:80/Service.asmx</host></result>",
 "<result><name>foo2.bar</name><path>/</path><host>url.to.service2:85/Service.asmx</host></result>"}


Thanks...
 
that's correct to my knowledge, except i'd assume the host url looks like: http://url.to.service2:85/Service.asmx
-brad
Posted: 9/5/2007 7:54 PM
Picture Placeholder: Sohum Misra
Sohum Misra
Yep, that's what I had earlier but sharepoint screwed up my xml and made all the closing tags part of an automatically generated link.