Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=send|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/http/example.xml?rev=HEAD}

Server side HTTP binding

...

Wiki Markup
{snippet:id=binding|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/http/example.xml?rev=HEAD}

Using HTTP binding in a WAR

...

Wiki Markup
{snippet:id=httpBinding|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/tooling/servicemix-web/src/webapp/WEB-INF/web.xml?rev=HEAD}

Notice that the web.xml then refers to the endpoint name httpBinding in the ServiceMix configuration file. e.g. this component

Wiki Markup
{snippet:id=http|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/tooling/servicemix-web/src/webapp/WEB-INF/applicationContext.xml?rev=HEAD}

Example of using the HTTP binding in a WAR

...