I am having a good bit of success using the daily build from Monday. I will update to a more recent one, next Monday.
In my test client, I am getting an error that I have not seen before:
Caught Throwable exception in runPointsCalculator:
java.lang.ExceptionInInitializerErrorjava.lang.Ex
ceptionInInitializerError
at
testexamples.xsd.CalculatePointsDocument$Factory.newInstance(CalculatePointsDocument.java:87)
at
com.recursionsw.ve.tools.webservices.TestWebServicesEndToEndTestNG.runPointsCalculator(TestWebSe
rvicesEndToEndTestNG.java:288)
This is the code that is running when this occurs (in a TestNG testbed):
System.out.println("Points Calculation, firing...");
PointsCalculatorStub stub = new
PointsCalculatorStub(null,
"http://localhost:8090/axis2/services/PointsCalculator");
//=== this is where the newInstance() is invoked:
CalculatePointsDocument calculatePointsDocument =
CalculatePointsDocument.Factory.newInstance();
FoodDescription foodDescription =
FoodDescription.Factory.newInstance();
foodDescription.setCalories(130);
foodDescription.setFatGrams(6);
foodDescription.setFiberGrams(1);
CalculatePointsResponseDocument
returnTranslationDocument =
stub.calculatePoints(calculatePointsDocument);
CalculatePointsResponse responseString =
returnTranslationDocument.getCalculatePointsResponse();
System.out.println("Client returned");
I have attached the request document file (CalculatePointsDocument).
Am I doing something wrong, or is this a problem?
Have I provided enough, or are there other files to post?
Regards,
--
Jim
CalculatePointsDocument.java
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
