Thanks Rudolph & Reynardine,

Atlast I made it working!.. I found the error is
because of incorrect xml namespaces and qualifiers in
deploy.wsdd
Also i found a strange error on serverside
class(atleast to me)
If I have class say Person with name and street as
attribute,then executing the following code give
null-pointer error.
Person[] person = new Person[1];
person[0].setName("foo");
person[1].setStreet("foofoo");

Don't know why ??

The way-around is
Person p = new Person();
p.setName("foo");
p.setStreet("foofoo");

Person personArray[] = new Person(p);

Working on this now!. Hope I will find the solution.

Regards
Balaji
 --- "Rudolph, Troy" <[EMAIL PROTECTED]> wrote: >
Hi, 
> 
> I'm working on an application that does something
> like this.  Perhaps the WSDL file will help you.  It
> is attached below.
> 
> 
> 
> -----Original Message-----
> From: Balaji D L [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2003 3:59 PM
> 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.
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=x.wsdl
 

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.

Reply via email to