PDA

View Full Version : Error in Web Service



alemoreno
02-16-2009, 08:10 AM
Hello.
I am using the WS PDI step to invoke a Web Service called EmpiWebServiceSoapHttpPort. If I invoke the Web Service from Mozilla Firefox or Internet Explorer, it works. But when I invoked the Web Service from PDI, an error occurs. I attach the error log and the PDI transformation.
Thank you very much.
Alejandro Moreno

Kees Romijn
02-16-2009, 12:45 PM
hi, Alejandro

look at the following lines:

Caught exception while handling request: unexpected element name: expected={http://es/aragon/salud/empi/EmpiWebService.wsdl}consultaElement, actual={http://es/aragon/salud/empi/EmpiWebService.wsdl}consulta

expected consultaElement, found consulta....

in your .ktr file you use consulta while consultaElement is expected,

Regards Kees Romijn

alemoreno
02-17-2009, 01:26 PM
Thank you Kees.
Unfortunately, if I change consulta to consultaElement, it doesn't work. The operation is called consulta, not consultaElement. You can see the Web Service description in the attached file.
I remind you that if I invoke the consulta operation from Firefox or Explorer, the Web Service works without any problems.
Best regards.
Alejandro Moreno