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 Akacem Mohammed <Mo...@arbeitsamt.de> on 2002/06/28 13:02:10 UTC

Internal Server Error when runnig my client

Hello evry body there,

I got the following exception when runniny my client. I have apache und tomcat 4.0.4 installed. I checked that my service is deployed. 

Exception in thread "main" Internal Server Error
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518)

HER I S MY CLIENT CODE :
package de.ba.test;

//import org.apache.axis.Client.ServiceClient;

public class Client2
{
	public static void main( String [] args) throws Exception
	{
	 de.ba.test.HelloMohammed binding= new de.ba.test.HelloMohammedServiceLocate().getHelloMohammed()
			
	String message= "it didn't work";
	(  (HelloMohammedSoapBindingStub) binding).sayHelloTo (args[0], message);
	System.out.println(message);
			
		}
}

thanks for any help

Mohammed

Re: Internal Server Error when runnig my client

Posted by Ralph Sakhr <ra...@geeklings.net>.
Hello,

Please give more details about what your service is so I can make sense of the situation and offer some advice, as I've seen a variety of server error situations.

It looks like you're using automatically generated stub or something?



> I got the following exception when runniny my client. I have apache und tomcat 4.0.4 installed. I checked that my service is deployed. 
> 
> Exception in thread "main" Internal Server Error
>         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518)
> 
> HER I S MY CLIENT CODE :
> package de.ba.test;
> 
> //import org.apache.axis.Client.ServiceClient;
> 
> public class Client2
> {
> 	public static void main( String [] args) throws Exception
> 	{
> 	 de.ba.test.HelloMohammed binding= new de.ba.test.HelloMohammedServiceLocate().getHelloMohammed()
> 			
> 	String message= "it didn't work";
> 	(  (HelloMohammedSoapBindingStub) binding).sayHelloTo (args[0], message);
> 	System.out.println(message);
> 			
> 		}
> }