The xml returned by webservices invariably use namespaces. To access data contained in the xml you would need to declare namespace . To declare namespace you would select the process,right click the process select properties, click the advanced tab to create namespaces
For example the following is a example of namespace declared in workbench
greg http://schemas.xmlsoap.org/soap/envelope/
where greg is the namespace prefix
I have included a simple process which makes a web service call to Amazon, using namespace I get data out of the response. The following is an example of using namespace in workbench
/process_data/xmlData/greg:Envelope/greg:Body/cole:ItemLookupResponse/cole:Items/cole:Item/cole:ItemAttributes
Click here to get the PDF
Using Namespace in Workbench
February 6, 2009 · 2 Comments
Categories: Uncategorized
Tagged: Namespace in workbench, xml with namespace
2 responses so far ↓
Elaine Schmitz // February 9, 2009 at 4:34 pm |
Hi! Can you include a search feature on your site? I like your articles and would find it most useful if I was able to use search functionaliy as opposed to searching manually through the monthly archives. Please advise, and thanks for the helpful tutorials!
Girish Bedekar // February 9, 2009 at 9:55 pm |
Hi
Thanks for the suggestion,added the search widget
thanks
girish