<% //set the parameters passed to the web service method m_vectorParameters = new Vector(); m_vectorParameters.addElement( new Parameter( "SRLFile", String.class,"NEWS.SRI", null ) ); m_vectorParameters.addElement( new Parameter( "RequestName", String.class,"newslinx", null ) ); m_callRemoteMethod.setParams( m_vectorParameters ); %>
Example 3: Each Parameter object contains information such as name, data type, and value.