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:48:19 UTC
RE: Re[1] internal error
Hmmm.....perhaps it's because it's using IIS instead of the apache http
server? I only say this because of the
org.apache.axis.transport.http.HTTPSender.invoke
Exception. I use the apache http server and it works fine for me.
If you can, try putting apache http on a test machine and see if it works.
Grasping at straws,
Newman
-----Original Message-----
From: patrick de Torcy [mailto:pvdt@caramail.com]
Sent: 03 April, 2002 12:38 PM
To: axis-user@xml.apache.org
Subject: Re[1] internal error
I've tried that too, but with no success (actually, I
copied HelloServer.jws almost everywhere !!)
> De : "Newman, Scott" <sn...@ufsonline.com>
> Date : 03/04/2002 17:23:33
>
> 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