Showing posts with label services. Show all posts
Showing posts with label services. Show all posts

Wednesday, March 28, 2012

Atlas without web services.

All the examples I have seen on Atlas uses web services. I want to use regular aspx methods instead. Is it possible to write an Atlas application that for every 5 seconds call a method in a regular aspx file to check for changes and based on the result of the method updates only a part of a page? Can anyone show some example code?I figured this out. Sorry for bothering you.

hello.

just one more thing: don't forget that page methods are really expensible...if you can, use a web service method to check the update condition.


I have seen both ways and I noticed using web services are more emphasized.

Why are using web services any quicker ?

Atlas Web services and Sharepoint...oh my!

So I've got this crazy idea that I should be able to be able to develop an Atlas enabled web control that I can load into "Son of SmartPart" under Sharepoint Services. I know...crazy...

I've verified that the web control created works on my local asp.net server, so it's ready to deploy to my sharepoint server and load into "Son of SmartPart". The control actually loads into the web part just fine, it just seems to have problems when it attempts to call its webservice for data; I get the infamous "<Object> is undefined" javascript error.

I have the feeling that the asmx file for the web service cannot be found...fiddler gives me a 404 error for the "/PhoneDirWS.asmx/js" file. So the question is where do I place the asmx file so atlas can find it. I've tried to place it in "/UserControls" (where the ascx file is located),
"/bin",
"/",
"Program Files\Common Files\Microsoft Shared\web server extensions\60\ISAPI",
"Program Files\Common Files\Microsoft Shared\web server extensions\60\Bin"
all with the same result.

I guess the questions are:

Is what I'm attempting even possible?
If it is possible, where do I place the asmx file so Atlas can find it?

Cheers.Ok, I think that I stumbled across enough information to find out that it isn't possible to use Atlas with WSS 2003 except in "client libraries". WSS 2007 will be a different matter entirely and should be Atlas friendly.

Oh well.