Hi.
I am having some problems with the process() method in the
org.apache.axis.utils.Admin class. It is used from a deploy() method in
a DeploySOAPTransport class in the JXTA binding for Axis (included
below).
Can someone explain to me what the process() method does?
I looked at the code and it seems like it checks the caller's IP to
disable remote "admin" or something. I am running this over ssh to my
university, but I didn't have any more success when I copied the whole
thing home.
I get a NullPointerException.
regards
/daniel
---------------------------------------------------
public void deploy() throws Exception {
System.out.println( "Deploying SOAP transport..." );
Admin admin = new Admin();
AxisServer server = AXISBootstrap.getInstance().getAxisServer();
MessageContext context = new MessageContext( server );
String wsdd = getWSDD();
Document doc = XMLUtils.newDocument( new ByteArrayInputStream(
wsdd.getBytes() ) );
// This is where it fails!
admin.process( context, doc.getDocumentElement() );
System.out.println( "Deploying SOAP transport...done" );
}
--
Daniel Elenius <[EMAIL PROTECTED]>