I have a xforms calling 2 web services and the results of these calls have to be mixed to generate an excel file.
Each web service has a model with an instance for login, an instance for logout, an instance for request and an instance for response recieved. For each web service, there are 3 triggers to send submission for login, for requesting and for logout I don't know how to aggregate the responses of these 2 web services requests and send the result to a submission for creatong the excel file. xforms-web-services.xhtml |
Administrator
|
Olivier,
On Feb 25, 2009, at 2:43 PM, Olivier Thery wrote: > I have a xforms calling 2 web services and the results of these > calls have to > be mixed to generate an excel file. > Each web service has a model with an instance for login, an instance > for > logout, an instance for request and an instance for response recieved. > For each web service, there are 3 triggers to send submission for > login, for > requesting and for logout > > I don't know how to aggregate the responses of these 2 web services > requests > and send the result to a submission for creatong the excel file. to aggregate the result from 2 instances into a 3rd one before you do that call? If that is the case, then you should be able to use <xforms:insert context="instance('3rd')" origin="instance('1st')"/> and <xforms:insert context="instance('3rd')" origin="instance('2nd')"/ > to do this. This assumes that the 3rd instance initially just contains a root element. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thank Alex,
That works fine, but by this way instance('1st') and instance('2nd') are copied in the 3rd one before calling the service to generate Excel file. What about fingerprint in memory on the server ? Olivier.
|
Administrator
|
Olivier,
On Feb 26, 2009, at 2:16 PM, Olivier Thery wrote: > That works fine, but by this way instance('1st') and instance('2nd') > are > copied in the 3rd one before calling the service to generate Excel > file. > What about fingerprint in memory on the server ? While the operation is performed, those instances will be stored in memory. But unless you have humongous instances, this is not something I would worry about. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |