As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Hi, I try using Webfocus Webservice manual to consume a Web Service with Apache Axis but I have a issue when I try to compile my Java file I got an error : cannot resolve symbol symbol : class ArrayOfValuesArrayEntry
Somebody can give me help , please don't send me to the books .
Did you generate the required classes from the wsdl file? Does the com.informationbuilders.*.java files exist? Does the com.informationbuilders.*.class files exist? If the classes exist, are they on your class path?
The following is a sample using the ArrayOfValuesArrayEntry:
package wstesting;
import com.informationbuilders.*;
/**
* @author dhagen
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class myWsTest {
private static WebFocusSoap wfs;
private static LogOnInfo logon;
private static String sectoken;
private static ArrayOfStringArray arrayStringArray;
private static StringArray[] StringArray;
public static void main(String[] args) {
// Establish WebFOCUS logon.
try {
wfs = new WebFocusLocator().getWebFocusSoap();
logon = wfs.webFocusLogOn("","","admin","");
System.out.println("Return: " + logon.isStatus());
} catch (Exception e) {
System.out.println("Exception: " + e);
return;
}
// Run a request.
try {
FexInfo fexInfo = new FexInfo();
fexInfo.setName("wsnewtest.fex");
WebFocusReturn webFocusReturn = wfs.webFocusRunFex(logon,fexInfo);
// ------------ Start: for whole array based output-----------------------
// get the columns or output.
arrayStringArray = webFocusReturn.getValues();
StringArray = arrayStringArray.getStringArray();
// loop through the colums.
for (int i = 0; i < StringArray.length; i++ ) {
System.out.println("Column" + i);
String[] columns = StringArray[i].getValuesentry();
for (int j = 0; j < columns.length; j++) {
System.out.println("Row" + j + ": " + columns[j]);
}
}
// ------------ End Of: for whole array based output-----------------------
} catch (Exception e) {
System.out.println("Exception: " + e);
return;
}
}
}
I still suspect that the supporting class files do not exist - hense the error.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott