Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Traversing SOAP response using AXIOM/ADB binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Traversing SOAP response using AXIOM/ADB binding" Watch "Traversing SOAP response using AXIOM/ADB binding" New topic
Author

Traversing SOAP response using AXIOM/ADB binding

Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 133
Dear friends,

I have generated client stub classes from wsdl using Axis2 ADB option.

Can any one guide me how to traverse SOAP response using AXIOM / ADB binding API?

I am able to fetch the text or value between <ns2:value>admin</ns2:value> (eg. admin), but i dont know
how to fetch attribute value (eg. lastModifiedBy from <ns2:propertyString propertyDefinitionId="cmis:lastModifiedBy">)

Following is the response from webservice.



Following is an incomplete code.



My concern is how to print propertyDefinitionId value?

Thanks for any help.
>
 
Don't get me started about those stupid light bulbs.
 
subject: Traversing SOAP response using AXIOM/ADB binding
 
Similar Threads
Issue with using the Axis2 JAX-WS Client using Rampart
Rampart encrypting options: I can't encrypt parameters
Invoking web service from pl sql, requires a nonce, but I cannot find much info on how to do it
Rampart sample not encrypting soap message
can't run rampart client