[FONT=Helv][SIZE=2]I am using the WmTomcat package and I would like to be able to invoke a webMethods (version 7) service (using JSPs) such as:
[/SIZE][/FONT][FONT=Courier][SIZE=1][FONT=Courier][SIZE=1]<webm:invoke serviceName=“my.services:getAddressList”>
[/SIZE][/FONT][/SIZE][/FONT][FONT=Helv][SIZE=2]which returns a java.util.List object in the pipeline with elements which have properties such as line1, line2, city, state .
From there, I would like to display this using a standard JSP tag library (that has features like paging, sorting, exporting). Specifically I am using DisplayTag (from Sourceforge http://displaytag.sourceforge.net) but all other standard Java taglibs will have the same issue I have. This is NOT a webMethods-aware library, just a generic Java taglib that takes in a Java object such as a List, Enumeration, Array etc. from request/page/session scope and renders it into a table, such as:
[/SIZE][/FONT][FONT=Courier][SIZE=2][FONT=Courier]<% request.setAttribute( “addressListAttrib”, addressList); %>
<displayTag:table name=“addressListAttrib” />
[/FONT][/SIZE][/FONT][FONT=Helv][SIZE=2]The problem I have is that the webMethods taglibs don’t allow me to get the results from the webMethods world (eg. pipeline) and to in a place that in a place that is known to the Java world (eg. a variable in request/page/session scope etc).
Do I only have the option to use webMethods-provided libraries such as webm:loop etc to get access to this data (thereby losing the ability to use off-the- shelf Java paging, sorting libraries)?
[/SIZE][/FONT]