You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Espinosa Martinez, Francisco Javier" <fe...@accival.com.mx> on 2006/05/25 19:40:10 UTC
Error Building AXIS Web Service in Netbeans 5
Hi all, Im kinda new at this Axis Web Services, Im doing a test service
, but when I try to build the project in Netbeans 5.0 Im having this
Error
Can anybody help me please!!!!
Thanx
This is my Stack Trace
Compiling 1 source file to C:\Documents and
Settings\FRANCISCOES\AxisTest\build\web\WEB-INF\classes
compile:
Generating WSDL document
Overriding previous definition of reference to axis.classpath
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
Java2WSDL test.HelloService
Overriding previous definition of reference to axis.classpath
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
Processing file C:\Documents and
Settings\FRANCISCOES\AxisTest\web\WEB-INF\HelloService.undeploy.wsdd
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection refused: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException:
Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocket
Factory.java:153)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocket
Factory.java:120)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:
404)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at
org.apache.axis.client.AdminClient.process(AdminClient.java:320)
at
org.apache.axis.tools.ant.axis.AdminClientTask.executeInCurrentVM(AdminC
lientTask.java:356)
at
org.apache.axis.tools.ant.axis.AdminClientTask.execute(AdminClientTask.j
ava:316)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:2
34)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:2
87)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
{http://xml.apache.org/axis/}hostname:54610_EIMF
Running axis-admin with parameters:
action:
url:http://localhost:8084/AxisTest/services/AdminService
hostname:null
port:0
servletPath:null
fileProtocol:null
username:null
password:null
transportChain:null
debug:true
C:\Documents and Settings\FRANCISCOES\AxisTest\build.xml:146: axis-admin
failed with
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
java.net.ConnectException: Connection refused: connect
BUILD FAILED (total time: 12 seconds)