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.
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
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh
How Do I: Add or Edit an XQuery Map with the XQuery Mapper Dialog?