Running webservices on 7.03 server

User: westmo
Date: 12/20/2009 8:06 am
Views: 543
Rating: 12    Rate [

+

|

-

]

Basically these webservices are not supported on a 7.03+ Notes server. I'm using the Name dialog demo and got everything working on my 8.5.1 server but my client is not upgrading to the 8+ platform so I'm kinda stuck. It appears that the domino utilities  does not like the dbcolumnxReturn as shown below. Any clue as to what's happening or will I just have to run on a 8+ server.

 

Error: Unknown Property: 'DBCOLUMNXReturn'.
    at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:723]
    at packages.dominoUtilities::dominoDBUtilities/dbcolumnx_loaded()[G:\nameDialog\src\packages\dominoUtilities\dominoDBUtilities.as:298]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\galaga\frameworks\projects\rpc\src\mx\rpc\AbstractOperation.as:204]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\galaga\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:263]
    at mx.rpc::Responder/result()[C:\autobuild\galaga\frameworks\projects\rpc\src\mx\rpc\Responder.as:46]
    at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\galaga\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:74]
    at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\galaga\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:409]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
 

Reply

Replies

Flat
Re: Running webservices on 7.03 server
User: Admin
Date: 12/20/2009 8:27 am
Rating: -2    Rate [

+

|

-

]
Status: Approved

The download page actually says that the requirement is Notes 8+. However, the code can work under Notes 7 if you re-create the web service with a Notes 7 client and export / import the code stored in the script libraries directly into the web service. The issue here is that Notes 7 does not support script libraries in web services.

 

Reply
Re: Running webservices on 7.03 server
User: westmo
Date: 12/20/2009 8:32 am
Rating: 7    Rate [

+

|

-

]
Status: Approved
Never mind I didn't read all of the code and found that Domino web services doesn't supoort a multi-dimensional array. And domino 8  multi - dimensional arrays are serialized to a single - dimensional array. So looks like I'll have to figure out another way.. I wanted to use your dbcolumns * and dblookups. I'll see if I can use the simple functions to get what I want.
Reply
Re: Running webservices on 7.03 server
User: Admin
Date: 12/20/2009 8:36 am
Rating: 10    Rate [

+

|

-

]
Status: Approved
That is correct. Some samples return multi-dimensional arrays that are serialised by Domino 8. I will post a peace of code that you can add to the web service to make it work under 7. Basically it will just do the serialisation manually.
Reply
Re: Running webservices on 7.03 server
User: Admin
Date: 12/20/2009 8:40 am
Rating: 2    Rate [

+

|

-

]
Status: Approved
To just make this clear. Web services to my knowledge generally do not support multi-dimensional arrays. Domino 8 serialises such arrays the Flex wrapper classes (for the dblookup...) convert the serialised array back to a multi-dimensional array. Hence my suggestion to serialise the array in the Domino web service manually for Domino 7.
Reply
PreviousBackNextAdd