O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

You have covered many topics today. One of the most common tasks that you will want to perform is to send XML documents as SOAP messages.

  1. Create a JAXM client that accepts a SOAP message representing a new customer for the Job Agency and returns a response containing an assigned login. Generate your own string for the assigned login; there is no need to integrate this client with the agency EJBs you created earlier.

    The expected XML message in the SOAP body should be as follows:

     <acme:customer xmlns:acme="http://acme.com/commerce"> <acme:name>Fred Bloggs</acme:name> <acme:email>fred@bloggs.org</acme:email> <acme:address> <acme:addressLine>Bury Old Road</acme:addressLine> <acme:addressLine>Manchester</acme:addressLine> <acme:addressLine>M25 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required