Inflectra Customer Forums: WS Call RemoteCustomList.getValues returns null. (Thread) A. I am new to webservice developement. B. I am try to get the associated values to a custom list. Here is the practice code: try { exportLocator.setMaintainSession(true); proxy = (IImportExport) exportLocator.getPort(IImportExport.class); if (proxy.connection_Authenticate("user", "password")) { //System.out.println("Settings: " + proxy.system_GetSettings()); if (proxy.connection_ConnectToProject(9)) { RemoteTestCase testCases = proxy.testCase_RetrieveById(105); System.out.println("Test Case ID: " + testCases.getTestCaseId()); System.out.println("Name: " + testCases.getName()); System.out.println("Description: " + testCases.getDescription()); RemoteTestStep[] testStep = testCases.getTestSteps(); System.out.println("No of Steps: " + testStep.length); for (int i = 0; i No of Steps: 1 Step#: 1 Test Step ID: 543 Description: Logga in to Inca Status: 3 H+ändelse Date: 01-06-2011 H+ändelse Parms: mtha\EXIT30eden Verifiera Parms: Inca how many: 2 daddy: H+ñndelser daddy's ID: 26 Exception in thread "main" java.lang.NullPointerException at se.amfpension.importexport.Main.getTestCases(Main.java:96) at se.amfpension.importexport.Main.main(Main.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) ******* Some characteristics: --Using IntelliJ IDE --Using org.apache.axis --Here is what is included, package se.amfpension.importexport; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.Collection; import javax.xml.rpc.ServiceException; import org.datacontract.schemas._2004._07.Inflectra_SpiraTest_Web_Services_v3_0.ServiceFaultMessage; import org.datacontract.schemas._2004._07.Inflectra_SpiraTest_Web_Services_v3_0_DataObjects.*; import com.inflectra.www.SpiraTest.Services.v3_0.IImportExport; import com.inflectra.www.SpiraTest.Services.v3_0.ImportExportLocator; Thanks, let me know what other information is required. en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/spirateam/issues-questions/89.aspxthreadId=89Margaret D Thomas (mtha@amfpension.se)WS Call RemoteCustomList.getValues returns null. A. I am new to webservice developement. B. I am try to get the associated values to a custom list. Here is the practice code: try { exportLocator.setMaintainSession(true); proxy = (IImportExport) exportLocator.getPort(IImportExport.class); if (proxy.connection_Authenticate("user", "password")) { //System.out.println("Settings: " + proxy.system_GetSettings()); if (proxy.connection_ConnectToProject(9)) { RemoteTestCase testCases = proxy.testCase_RetrieveById(105); System.out.println("Test Case ID: " + testCases.getTestCaseId()); System.out.println("Name: " + testCases.getName()); System.out.println("Description: " + testCases.getDescription()); RemoteTestStep[] testStep = testCases.getTestSteps(); System.out.println("No of Steps: " + testStep.length); for (int i = 0; i No of Steps: 1 Step#: 1 Test Step ID: 543 Description: Logga in to Inca Status: 3 H+ändelse Date: 01-06-2011 H+ändelse Parms: mtha\EXIT30eden Verifiera Parms: Inca how many: 2 daddy: H+ñndelser daddy's ID: 26 Exception in thread "main" java.lang.NullPointerException at se.amfpension.importexport.Main.getTestCases(Main.java:96) at se.amfpension.importexport.Main.main(Main.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) ******* Some characteristics: --Using IntelliJ IDE --Using org.apache.axis --Here is what is included, package se.amfpension.importexport; import java.rmi.Remote; import java.rmi.RemoteException; import java.util.Collection; import javax.xml.rpc.ServiceException; import org.datacontract.schemas._2004._07.Inflectra_SpiraTest_Web_Services_v3_0.ServiceFaultMessage; import org.datacontract.schemas._2004._07.Inflectra_SpiraTest_Web_Services_v3_0_DataObjects.*; import com.inflectra.www.SpiraTest.Services.v3_0.IImportExport; import com.inflectra.www.SpiraTest.Services.v3_0.ImportExportLocator; Thanks, let me know what other information is required. Thu, 09 Jun 2011 08:54:36 -04002011-06-09T16:19:52-04:00/Support/Forum/spirateam/issues-questions/89.aspxmessageId=170Margaret D Thomas (mtha@amfpension.se) I think I am beginning to understand how to get the custom lists. Everything is pretty much drive I think I am beginning to understand how to get the custom lists. Everything is pretty much driven by an ID. Now I am getting the list values. Thu, 09 Jun 2011 09:41:37 -04002011-06-09T09:41:37-04:00/Support/Forum/spirateam/issues-questions/89.aspx#reply170messageId=175David J (support1@inflectra.com)OK, glad that it's now working.OK, glad that it's now working.Thu, 09 Jun 2011 16:19:52 -04002011-06-09T16:19:52-04:00/Support/Forum/spirateam/issues-questions/89.aspx#reply175