Rikard -

The -p option to administer Axis on an alternative port does work with
AdminClient if the webapp is up and running.

java org.apache.axis.client.AdminClient -p 7001 deploy.wsd


And Yes, you can write a client application in any language you desire
and still execute the server app implemented in java.  The only trick is
to ensure that the client application can properly marshal
(serialize/deserialize) any complex types defined as operation
parameters or return values.


Have fun,

/Chris



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 24, 2002 11:39 AM
To: [EMAIL PROTECTED]
Subject: AdminClient problems..!?

Hi,
I�ve noticed that when you try to deploy a wsdd file to weblogic 6.1
with
the AdminClient, it fails!
It will automatically look if a server is running on port 8080 as
default,
is that true?
Well, weblogic server is located on port 7001 as default.

Is it possible to add a parameter or something to AdminClient, so it
will
search for servers available on other ports than 8080 ?
something like:
java org.apache.axis.client.AdminClient -p 7001 deploy.wsdd ???

Or do I have to change the port that weblogic is running on to 8080, and
then run AdminClient, and then switch back wls to 7001?

Oh. One more thing:
Is it possible to write a client app implemented in another language
than
java (maybe c++ or vb), and still execute the server app implemented in
java (which is deployed on wls+axis).

Regards / Rikard...


This is how the error looks like when the server cant be found i
guess... :

- Processing file AxisStatusService.wsdd
- AxisFault: AxisFault
 faultCode: http://xml.apache.org/axis/:Server.userException
 faultString: java.net.ConnectException: Connection refused: connect
 faultActor: null
 faultDetail:
        stackTrace: java.net.ConnectException: Connection refused:
connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at org.apache.axis.transport.http.HTTPSender.invoke(Unknown
Source)
        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source)
        at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
        at org.apache.axis.SimpleChain.invoke(Unknown Source)
        at org.apache.axis.client.AxisClient.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.process(Unknown Source)
        at org.apache.axis.client.AdminClient.main(Unknown Source)






Reply via email to