SimpleMap.jws Sample

A web service illustrating a simple parameter-XML map that uses XQuery.

The method in this web service uses a simple XQuery map to ensure that the parameter values in  the incoming XML message are correctly mapped to the parameters themselves. The map itself (with its acceptPerson root element) reflects the method's default XML schema — a kind of default template for what an incoming message should look like. However, the actual incoming message will be different; for example, its root element is person, rather than acceptPerson.

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located in the xqueryMap folder of the SamplesApp WebLogic Workshop project. In the file system the location is:

BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\xqueryMap\SimpleMap.jws

To Run the Sample

Related Topics

Introduction to XQuery Maps

How Do I: Add or Edit an XQuery Map with the XQuery Mapper Dialog?