Click here to Skip to main content
15,884,298 members
Articles / Programming Languages / Java / Java SE

Using C#, Java Webservices and JMS together

,
Rate me:
Please Sign up or sign in to vote.
3.80/5 (10 votes)
31 Mar 2006CPOL2 min read 128K   2.4K   57  
Bridging the gap between Java and C#, JMS specific message have been send to C# client using web services.
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>Enabling Axis Administracion and SOAP monitoring features</title>
<style type="text/css">
BODY {
	background-color : White;
	color : Black;

}

H1 {
	color : Navy;
	font-family : sans-serif;
 text-align : center;
}
DIV {
	color : Navy;
	font-family : sans-serif;
 text-align : center;
}
</style>
</head>

<body bgcolor="#FFFFFF">

<h1>Enabling Axis administration and SOAP monitoring features</h1>

<p>To enable <b>Axis administration,</b></p>
<ol>
<li>Add the following servlet mapping to web.xml:

  <pre>
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;AdminServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/servlet/AdminServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  </pre>
</li>
<li>Rebuild the project, restart the server or redeploy for the changes to take effect.</li>
</ol>
<p>To enable <b>SOAP monitoring,</b></p>
<ol>
<li>
Add the following under the root element to <i><b>any one</b></i> of the deploy.wsdd files in the project source path:

  <pre>
  &lt;globalConfiguration&gt;
    &lt;requestFlow&gt;
      &lt;handler type="java:org.apache.axis.handlers.JWSHandler"&gt;
        &lt;parameter name="scope" value="session"/&gt;
      &lt;/handler&gt;
      &lt;handler type="java:org.apache.axis.handlers.JWSHandler"&gt;
        &lt;parameter name="scope" value="request"/&gt;
        &lt;parameter name="extension" value=".jwr"/&gt;
      &lt;/handler&gt;
      &lt;handler type="java:org.apache.axis.handlers.SOAPMonitorHandler"/&gt;
    &lt;/requestFlow&gt;
    &lt;responseFlow&gt;
      &lt;handler type="java:org.apache.axis.handlers.SOAPMonitorHandler"/&gt;
   &lt;/responseFlow&gt;
 &lt;/globalConfiguration&gt;
  </pre>

</li>
<li>Rebuild the project, restart the server or redeploy for the changes to take effect.</li>
</ol>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Written By
Architect Catalisse
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions