<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: WS Call RemoteCustomList.getValues returns null. (Thread)</title><description>  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.    </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/89.aspx</link><item><guid isPermaLink="false">threadId=89</guid><author>Margaret D Thomas (mtha@amfpension.se)</author><title>WS Call RemoteCustomList.getValues returns null.</title><description>  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.    </description><pubDate>Thu, 09 Jun 2011 08:54:36 -0400</pubDate><a10:updated>2011-06-09T16:19:52-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/89.aspx</link></item><item><guid isPermaLink="false">messageId=170</guid><author>Margaret D Thomas (mtha@amfpension.se)</author><title>  I think I am beginning to understand how to get the custom lists.  Everything is pretty much drive</title><description>  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.   </description><pubDate>Thu, 09 Jun 2011 09:41:37 -0400</pubDate><a10:updated>2011-06-09T09:41:37-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/89.aspx#reply170</link></item><item><guid isPermaLink="false">messageId=175</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>OK, glad that it's now working.</title><description>OK, glad that it's now working.</description><pubDate>Thu, 09 Jun 2011 16:19:52 -0400</pubDate><a10:updated>2011-06-09T16:19:52-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/89.aspx#reply175</link></item></channel></rss>