Try comparing your WSDL, with a similar web service that does this. For example, the CapeScience Global Weather web service returns an array of weather station objects.
Here's their WSDL http://live.capescience.com/wsdl/GlobalWeather.wsdl and some client code ... capescience.ws.Station[] mStationList = mFatWeatherController.searchByCountry(mUsersCountry ); for (int i=0; i< mStationCount; i++) { String weatherStationCode = mStationList[i].getIcao(); String weatherStationName = mStationList[i].getName(); } Rey. ----- Original Message ----- From: Balaji D L <[EMAIL PROTECTED]> Date: Thu, 26 Jun 2003 06:59:02 +1000 (EST) To: [EMAIL PROTECTED] Subject: Please help me on deploying "object containing array of objects" > Hi, > I'm trying to deploy a service which returns "object > containing array of objects". > The objects were created using javabeans standards. > > In my server-config.wsdd I have specified the > typeMapping of object to beanfactroy de/serializer, > and the array of object to arrayserializer etc., > Now I can able to generate wsdl by appending ?wsdl. > > BUT I'm NOT able to consume my service either using > java or .NET. > I'm getting the error "target service returned null > pointer exception" > Please tell what other configurations i have to do > to solve the problem. > I'm trying to return a object something like what > "google webservice" returns(GoogleSearchResult). > Hope my question is clear. > Please help me. > Regards > Balaji > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra or Vodafone mobile. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers
