The Artima Developer Community
Sponsored Link

Web Services Forum
AdminClient axis - deployement problem

1 reply on 1 page. Most recent reply: Oct 13, 2005 2:32 AM by Simona Pricope

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Simona Pricope

Posts: 2
Nickname: simonapric
Registered: Oct, 2005

AdminClient axis - deployement problem Posted: Oct 13, 2005 1:25 AM
Reply to this message Reply
Advertisement
Hi,

My JBoss server is running on port 80. I'm using the AdminClient class for deploying and because I think that AmindClient is using by default the port 8080, I have used the code:

AdminClient admin = new AdminClient();
Call call = admin.getCall();
call.setTargetEndpointAddress("http://localhost:80/axis/servic es/AdminService" );
String result = admin.process(new String[] { "deploy.wsdd" });

but still I'm receiving AxisFault exception, Connection refused: connect.

I have tried in the console to run the AdminClient:

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:80/axis/services/AdminService deploy.wsdd

and I'm receiving NullPointerException, but no "connect exception".
Can someone tell me how can I change the port in the code and how can I make to not receive any more the AxisFault exception?
Thanks


Simona Pricope

Posts: 2
Nickname: simonapric
Registered: Oct, 2005

Re: AdminClient axis - deployement problem Posted: Oct 13, 2005 2:32 AM
Reply to this message Reply
I solved the problem by passing the port number to the process methof of the AdminClient object.

AdminClient admin = new AdminClient();
admin.process(new String[] { "-p", "80", "undeploy.wsdd" });

Flat View: This topic has 1 reply on 1 page
Topic: System.ServiceModel.UnknownFaultException: org.xml.sax.SAXException Previous Topic   Next Topic Topic: Problem using Object Array in axis

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use