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 "Ry." <im...@yahoo.com> on 2005/02/21 17:32:32 UTC

Desperate - Compilation Error Invoking WebLogic Service

Hi I really need help, I've made a simple Weblogic Jax-Rpc service with an exposed method "worked", which takes two strings and if they match returns "yes" or "no" as a String.  I used WSDL2Java to make the proxy, but when i try to call axis gives me an AxisFault and states compilation errors.
 
I don't know where I'm going wrong, can anyone please give me a little advice...
 
My error message:
 
Exception in thread "main" AxisFault
FaultCode: Server
FaultString: Compilation errors
 
My client application code:

String epAddr = "http://localhost:7001/TestApp/testPackage/Test.jws";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new java.net.URL(epAddr));
call.setOperationName("worked");
 // call the web service
String result = (String)call.invoke(new Object[] {itemType, brandName});
System.out.println("The result is: " + result);

 
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com