O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

The provider.xml Configuration File

The current Reference Implementation of the Java Web Services contains a messaging provider implementation that runs within a servlet container. This implementation uses a provider.xml configuration file to direct how a message will be delivered as shown in the following listing.

The provider.xml File
 <?xml version="1.0" encoding="UTF-8"?> <ProviderConfig> <Profile profileId="ebxml"> <Transport> <Protocol>http</Protocol> <Endpoint type="uri"> <URI>http://www.wombats.com/remote/sender</URI> <URL>http://localhost:8080/jaxm-provider/receiver/ebxml</URL> </Endpoint> <ErrorHandling> <Retry> <MaxRetries>5</MaxRetries> <RetryInterval>2000</RetryInterval> </Retry> </ErrorHandling> <Persistence> <Directory>ebxml/</Directory> ...

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