Hello,
I have developed a .NET web service in which the most likely consumers know Javascript 
and XSLT. Have been trying to code up some samples for them to go off of, but I have 
not found a good solution for calling the web service in this manner. This is what I 
have tried:

1) IE WebService behavior. Can only call back to the server that delivered the page, 
so I might as well do the transformation on the server; which breaks the whole web 
service model. Have not tried serving the page from web server A, which references the 
behavior on web service server B, and calls back to web service server B. My guess is 
that this will not work, but I am not sure. Also, only works in IE, not great, but am 
ok with that.

2) Client side javascript. It does an MsXml.XmlHttp GET of the Web Service, and then 
XSLTs it on the client side for display. The problem here is the XmlHttp request with 
browser security. The default security setting 'Medium' raises a Javascript error. 
Medium-Low warns the user and lets them continue or not. Low works fine. Going with 
the default setting for 99% of users, this is not feasible.

3) Server-side javascript. No clue here. Would want code that would work on both unix 
and IIS. Not sure how to do this with diff XML parsers and such. I do have an ASP 
server side example, so maybe if I can just get a PHP example, that will handle it.

4) Other ideas?

Trying to build off of past work, hoping there are new development since last year:
http://dnug.net/ReferenceImp.aspx
Started reading the new wrox early adopter 'web service faceplates' that might have my 
answer, but I have not gotten far enough into it.

Thanks
casey

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to