Depending on deployment, I may use the Local or Http transport. The examples I have found show an explicit call.setTransport(LocalTransport), but I would much rather dictate this with the client.wsdd. I’ve tried adding the element (valid by the way) to the globalConfiguration: <transport name="local" pivot="LocalSender"/>
This seems to have no effect, and will blow up with:
No client transport named 'null' found!
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
Here is the entire client.wsdd:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.apache.org/axis/wsdd/
C:\workspace\xml-axis\java\wsdd\WSDD.xsd">
<!--
Configurations
-->
<globalConfiguration>
<transport name="local" pivot="LocalSender"/>
<requestFlow>
<handler type="AxisSessionHandler"/>
</requestFlow>
<responseFlow>
<handler type="AxisSessionHandler"/>
</responseFlow>
</globalConfiguration>
<!--
Definitions
-->
<handler name="AxisSessionHandler" type="java:com.integra.service.AxisSessionHandler"/>
<handler name="LocalSender" type="java:org.apache.axis.transport.local.LocalSender"/>
</deployment>
Any ideas?
Thanks,
Kevin Ross
