{"id":711,"date":"2005-09-13T04:45:04","date_gmt":"2005-09-13T08:45:04","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=711"},"modified":"2005-09-13T04:45:04","modified_gmt":"2005-09-13T08:45:04","slug":"update-to-embedded-axis-application-in-tomcat","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2005\/09\/13\/update-to-embedded-axis-application-in-tomcat\/","title":{"rendered":"Update to embedded Axis application in Tomcat"},"content":{"rendered":"<p>I got a great email from Tam\u00e1s in response to <a href=\"\/blog\/2005\/08\/31\/embeddding_an_apache_axis_application_in_tomcat.html#001067\">my last post<\/a> who pointed out that the straight copy of deploy.wsdd to server-config.wsdd doesn&#8217;t cut it. More importantly, he mentioned that there is a utility that ships with Axis that allows you to generate server-config.wsdd from your deploy.wsdd (or from multiple deploy.wsdd if you have multiple web service end points).  From the command line it looks like this:<br \/>\n<code><br \/>\n&gt; java -cp axis.jar;jaxrpc.jar;commons-logging.jar;commons-discovery.jar;saaj.jar;<br \/>\norg.apache.axis.utils.Admin server dir1\\deploy.wsdd dir2\\deploy.wsdd<br \/>\n<\/code><br \/>\nBut if you&#8217;re using the Ant build.xml I provided in the previous example, you&#8217;d use this:<br \/>\n<code><br \/>\n&lt;java<br \/>\n&nbsp;&nbsp;classname=\"org.apache.axis.utils.Admin\"<br \/>\n&nbsp;&nbsp;fork=\"true\"<br \/>\n&nbsp;&nbsp;failonerror=\"true\"<br \/>\n&nbsp;&nbsp;classpathref=\"compile.classpath\"<br \/>\n&nbsp;&nbsp;dir=\"${basedir}\\WEB-INF\\\"&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&lt;arg value=\"server\" \/&gt;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;arg file=\"${basedir}\\deploy.wsdd\" \/&gt;<br \/>\n&lt;\/java&gt;<br \/>\n<\/code><br \/>\nI updated the source code example (embeddedaxis.zip), you can download it here.<\/p>\n<p>NOTE: The source code for the Admin class is available <a href=\"http:\/\/cvs.apache.org\/viewcvs.cgi\/ws-axis\/java\/src\/org\/apache\/axis\/utils\/Admin.java?rev=1.139&amp;view=markup\">here<\/a>, where you can see (but the documentation doesn&#8217;t mention) that the Admin class accepts multiple WSDD files from the command line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got a great email from Tam\u00e1s in response to my last post who pointed out that the straight copy of deploy.wsdd to server-config.wsdd doesn&#8217;t cut it. More importantly, he mentioned that there is a utility that ships with Axis that allows you to generate server-config.wsdd from your deploy.wsdd (or from multiple deploy.wsdd if you &hellip; <a href=\"https:\/\/cephas.net\/blog\/2005\/09\/13\/update-to-embedded-axis-application-in-tomcat\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Update to embedded Axis application in Tomcat<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4,16,2],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/711"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=711"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/711\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}