Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Webservices with Apache Axis issue Please Help !!!

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Webservices with Apache Axis issue Please Help !!!
 Login/Join
 
Member
posted
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 .

Best regards,
Valixx
 
Posts: 17 | Registered: October 26, 2006Report This Post
Virtuoso
posted Hide Post
Did you generate and build the classes from the wsdl? If so, are those classes in your class path or part of your application?

It cannot find the ArrayOfValuesArrayEntry.class file. Have you imported the "com.informationbuilders.*" packages into your class?


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Hi dhagen,

I tried to import the com.informationbuilders.* and not work .

regards,
valixx
 
Posts: 17 | Registered: October 26, 2006Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Webservices with Apache Axis issue Please Help !!!

Copyright © 1996-2020 Information Builders