could not load http://castor.lcc.uma.es/medea/servicioweb/GestorModeloAlumno.wsdl; nested exception is:
WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: org.apache.wsif.wsdl.WSIFWSDLFactoryImpl: java.lang.ClassNotFoundException: org.apache.wsif.wsdl.WSIFWSDLFactoryImpl
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)
at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown Source)
at connectionmanager.ConnectionManagerServlet.getLastConcept
......
I have tried the wsdl file url from the navigator and it's fine. Thank you in advanced for your help.
M�nica Trella.
public String getLastConcept(String idStudent, String idCourse){
String concepto = null;
try {
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFService fieldService = factory.getService(
ConfigMedea.URL_WSDL_GESTOR_MODELO_ALUMNO,
null,
null,
null,
null);
WSIFPort port = fieldService.getPort();
// create the operation
WSIFOperation operation = port.createOperation("getLastConcept");
// create the input, output and fault messages associated with this operation
WSIFMessage input = operation.createInputMessage();
WSIFMessage output = operation.createOutputMessage();
WSIFMessage fault = operation.createFaultMessage();
input.setObjectPart("in0", idStudent);
input.setObjectPart("in1", idCourse);if (operation.executeRequestResponseOperation(input , output , fault )) {
concepto = (String) output.getObjectPart("getLastConceptReturn");
} else{if (Debug.DEBUG_LEVEL >= ConfigMedea.DEBUG_LEVEL_1)
Debug.println("[ERROR]: connectionmanager.ConnectionManagerServlet.getLastConcept(String, String) :: La operacion de peticion de la ejecucion del servicio ha sido fallida. " + fault.toString(), Debug.DEBUG_MEDEA);
return null;
}//End if (operation_prueba.executeRequestResponseOperation(input_prueba , output_prueba , fault_prueba ))
} catch (Exception e) {
if (Debug.DEBUG_LEVEL >= ConfigMedea.DEBUG_LEVEL_1)
Debug.println("[ERROR]: connectionmanager.ConnectionManagerServlet.getLastConcept(String, String) :: " + e.getMessage(), Debug.DEBUG_MEDEA);
return null;
}//End try-catch
return concepto;
}//End getLastConcept
