V.V.Nagesh Akula

+ Follow
since Jul 02, 2005
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by V.V.Nagesh Akula

Hi Loganathan,
Its really a great help that you had done to Khushi Panesar, I guess. I am also on the same page of Khushi. As in our project we have to access the third party Web Service, and they are using Axis. We were given set of classes that are implemented using WSDL2Java. Now the problem is I have developed a simulator which works as my Client Web Service in local environment. Everything working fine but while receiving response, Client code throws the following error.

- Exception:
org.xml.sax.SAXException: Invalid element in com.echostar.www.api.create.version.two._ScrubAddressResponse - Address
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1140)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2448)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at org.openuri.www.Wscreateapiv2SoapStub.scrubAddress(Wscreateapiv2SoapStub.java:950)
at com.echostar.apiv2.Client.scrubAddress(Client.java:449)
at com.echostar.apiv2.Client.main(Client.java:152)
Response Schema:

|-- LineOne
|-- LineTwo
|-- Address--- |-- City
| |-- State
ScrubAddressResponse--| |-- Zip
|-- AddressValidFlag
Where Address is a User definedd class and AddressValidFlag is boolean type. while accessing primative type its not showing any errors.

Could you please help me.
Thanks and Regards,

V.V.Nagesh Akula.
18 years ago