Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Can I deploy a service from a command prompt w/deploy.wsdd?

Can I deploy a Web service from command prompt using a deploy.wsdd where the Web server is located in another machine?

It depends on which SOAP implementation you're using. Since you're dealing with a deploy.wsdd file, I'll assume that you're using Apache Axis. According to the Apache Axis User's Guide:

<AxisUserGuideExcerpt>
Remote Administration
Note that by default, the Axis server is configured to only accept administration requests from the machine on which it resides - if you wish to enable remote administration, you must set the "enableRemoteAdmin" property of the AdminService to true. To do this, find the "server-config.wsdd" file in your webapp's WEB-INF directory. In it, you'll see a deployment for the AdminService. Add an option as follows:

<service name="AdminService" provider="java:MSG">
  <parameter name="className" value="org.apache.axis.util.Admin"/>
  <parameter name="allowedMethods" value="*"/>
  <parameter name="enableRemoteAdmin" value="true"/>
</service>
WARNING: enabling remote administration may give unauthorized parties access to your machine. If you do this, please make sure to add security to your configuration!
</AxisUserGuideExcerpt>


Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close