axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Reynardine" <reynard...@loveable.com>
Subject Re: Please help me on deploying "object containing array of objects"
Date Wed, 25 Jun 2003 22:56:05 GMT
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 <balajidl@yahoo.com>
Date: Thu, 26 Jun 2003 06:59:02 +1000 (EST)
To: axis-user@ws.apache.org
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


Mime
View raw message