Hi, Thanks for your quick response. >>>You must define wrapper elements to hold your input and outputparameters.
I couldn't understand this. Could you pls explaing in details. this is my Remote method signature. public void getData(inParamString,inParamString,inParamString,inParamBeanObj,inParamBeanObj,outParamString,outParamObj,outParamObj); Thanks & Regards Arul. --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > When using doc/literal, your input and output > messages may contain at most > one part. You must define wrapper elements to hold > your input and output > parameters. If you would prefer to code your > application using the > parameters (rather than beans that contain the > parameters), then use the > "wrapped" style. > > Anne > > On 11/8/05, arul thayalan <[EMAIL PROTECTED]> > wrote: > > > > Hi Anne, > > I am writing web service client.We are having > > WSDL. Using AXIS 1.3 in Eclipse IDE, I converted > WSDL > > into java classes and It has 3 input params of > type > > string and 3 output params . In output, one param > of > > type is string remaing 2 of them are user defined > > objects. For this user defined output param, i'm > > creating object in client side and send it to > server, > > In server side the value will be assigned to this > > object. But i'm getting null in user defined > > objects.But i'm getting the value for output param > of > > type value string. > > > > Y'day i went walk through axis source code. I > found > > that bug in > > > > public Object > > org.apache.axis.client.Call.invoke(RPCElement body > ) > > throws AxisFault method. > > > > From the respose msg it's iterating only the first > > body element only, not all elements > > source here.. > > resEnv = resMsg.getSOAPEnvelope(); > > SOAPBodyElement bodyEl = resEnv.getFirstBody(); > > > > This seems to be the reason for the null pointer > > exception. Please advise me in this. Is it bug or > > what? > > > > My web service operation binding type is document > > literal. > > > > > > Thanks & Regards > > Arul Thayalan. > > > > > > > > > > > > > > --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > > > > > Please give us a little more specific > information > > > about your problem. > > > > > > On 11/7/05, arul thayalan > <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > Hi, > > > > I'm new to the Web service and Axis. I'm am > > > > developing Webservice client using Axis in > Eclipse > > > > IDE. > > > > > > > > I have convered the WSDL file into java > classes. > > > My > > > > request contains input and output param java > > > classes. > > > > > > > > my output class return always null object. > > > > > > > > But when i send request from Altova XML spy, > i'm > > > > getting the SOAP resposne. > > > > > > > > what could be the problem? is it client side > or > > > server > > > > side problem? is it Xml parser problem in > client > > > side? > > > > > > > > More over Service style is document style > service. > > > > > > > > While developing web service client, how do we > > > handle > > > > this type service? > > > > > > > > Looking for ur reply. > > > > > > > > Thanks.... > > > > > > > > > > > > Regards > > > > Arul thayalan. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Photos: Now with unlimited storage > > > > http://au.photos.yahoo.com > > > > > > > > > > > > > > > > > > ____________________________________________________ > > Do you Yahoo!? > > Find a local business fast with Yahoo! Local > Search > > http://au.local.yahoo.com > > > ____________________________________________________ Do you Yahoo!? Messenger 7.0: Free worldwide PC to PC calls http://au.messenger.yahoo.com