XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jason KatofskySubject: Session state with Web Service Calls
Author: Jason Katofsky
Date: 28 Feb 2006 06:01 PM
I've create a webservice client AND webservice in Visual Studio.NET 2003 and c#. I can use the Web Service Call in Stylus Studio Enterprise (latest version build 501h) to do a simple web service call. My webservice, however uses sessions to persist some information about the client while it makes multiple requests:

Here is a simple prototype of what I'm doing

[WebMethod(EnableSession=true)]
public int OpenQuery() {
return number of records
}

[WebMethod(EnableSession=true)]
public object ReadNextQuery() {
if session is open
return next chunk of records
else
return null

}

The Client would do something like:

if ( ws.OpenQuery() > 0 ) {
while ( object table = ws.ReadNextChunk() {
process stuff
.
.
}
}

I can get the OpenQuery to work, it returns the correct number of records but when I try to query the records using the ReadNextChunk call the session is dead so....

Can this be done? Does Stylus Studio support this form of session aware web service calls?

Posttop
Ivan PedruzziSubject: Session state with Web Service Calls
Author: Ivan Pedruzzi
Date: 28 Feb 2006 07:20 PM
Hi Jason,

Currently the Stylus Studio Web Service client is not designed to support this particular scenario, but we are working to improve it. Your suggestion has been added to our database.

Thank You
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.