Trying to do a proof of concept by creating a simple SOAP channel that reads an input file and sends a SOAP message to the server. The message invokes one PACS server function - GetServerSerialNum() expecting to return a string containing the the serial. The "Get methods" button produced the expected list of functions and I was able to select the one I am interested in. However, when I attempt to send the message (by dropping in the input file), I get an AxisFault error. I am using Mirth 1.7 on Linux with jdk-1.5.0_15-b04, CLASSPATH contains only the locations of JDBC driver. Am I doing something wrong?

P.S.: I think, this is an Axis bug, since when I run the same command (same XML captured by TCPMon) from my .NET application, it works fine.

P.P.S.: It works on Mirth 1.5 and 1.6

/* ----------- Error message ----------- */
ERROR-410: SOAP Connector error
ERROR MESSAGE: Error invoking WebService
faultCode: {}HTTP
faultString: (500)Internal Server Error
{}:return code: 500


(500)Internal Server Error
at org.apache.axis.transport.http.CommonsHTTPSender.i nvoke(
at org.apache.axis.strategies.InvocationStrategy.visi t(
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:83)
at org.apache.axis.client.AxisClient.invoke(AxisClien
at org.apache.axis.client.Call.invokeEngine( :2784)
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at com.webreach.mirth.connectors.soap.axis.AxisMessag eDispatcher.invokeWebService(AxisMessageDispatcher .java:266)
at com.webreach.mirth.connectors.soap.axis.AxisMessag eDispatcher.doSend(
at org.mule.providers.AbstractMessageDispatcher.send(
at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:191)
at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:130)
at org.mule.routing.outbound.AbstractOutboundRouter.s end(
at org.mule.routing.outbound.FilteringMulticastingRou ter.route(
at org.mule.routing.outbound.OutboundMessageRouter$1. doInTransaction(
at org.mule.transaction.TransactionTemplate.execute(T
at ute(
at org.mule.impl.model.DefaultMuleProxy.onCall(Defaul
at org.mule.impl.model.seda.SedaComponent.doSend(Seda
at org.mule.impl.model.AbstractComponent.sendEvent(Ab
at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:201)
at org.mule.routing.inbound.InboundMessageRouter.send (
at org.mule.routing.inbound.InboundMessageRouter.rout e(
at org.mule.providers.AbstractMessageReceiver$Default InternalMessageListener.onMessage(AbstractMessageR
at org.mule.providers.AbstractMessageReceiver.routeMe ssage(
at org.mule.providers.AbstractMessageReceiver.routeMe ssage(
at com.webreach.mirth.connectors.file.FileMessageRece iver.processFile(
at com.webreach.mirth.connectors.file.FileMessageRece iver.poll(
at .java:290)
at eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
at eadPoolExecutor$ :675)
/* --------- End of Error Message ---------- */

Post edited by: mean_ogre, at: 03/06/2008 16:18

Post edited by: mean_ogre, at: 03/07/2008 13:28