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 "Newman, Scott" <sn...@ufsonline.com> on 2002/04/03 18:21:27 UTC
RE: internal error
Put HelloServer.jws directly in the axis folder, not in axis\web-inf\classes
Newman
-----Original Message-----
From: patrick de Torcy [mailto:pvdt@caramail.com]
Sent: 03 April, 2002 12:19 PM
To: axis-user@xml.apache.org
Subject: internal error
I've installed Axis beta1 with Tomcat 3.2 under IIS 4. I
carefully read the Axis installation guide but when I try
to call my own Web Service I got the following error :
Internal
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.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at ClientHello.main(ClientHello.java:20)
Exception in thread "main"
Here's the code :
public class ClientHello
{
public static void main(String[] args) throws Exception
{
String endpoint
= "http://www.sensagent.com/axis/HelloServer.jws";
Service client = new Service();
Call call = (Call) client.createCall();
call.setTargetEndpointAddress( new java.net.URL
(endpoint) );
call.setOperationName( "sayHelloTo" );
String ret = (String) call.invoke( new Object []
{"Patrick!"});
System.out.println("***"+ret+"***");
}
}
The HelloServer.jws file is in the folder :
TOMCAT_HOME\webapps\axis\WEB-INF\classes
Have I missed something ?
Patrick
______________________________________________________
Personnalise ton répondeur au 08 99 703 970 (*)
(*) 1,35 Euro/appel + 0,34 Euro/mn