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 Francesco Gianferrari Pini <fr...@gmail.com> on 2006/02/06 22:48:37 UTC
Fwd: Setting the transport in a Stub
Hi.
I'm trying to set the transport to use in the stub generated by WSDL2Java.
I can set it thwough the call object, but it is "hidden" by the stub
implementation.
Do I have to make a custom Handler that sets the tranport name in the
messageContext?
Cheers,
Francesco
Re: Setting the transport in a Stub
Posted by paul slade <sl...@gmail.com>.
Franceso,
Why not use the client-config.wsdd file to set the transport. Here is an
example:
<?xml version="1.0" encoding="UTF-8"?>
<deployment name="defaultClientConfig"
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<transport name="http" pivot="java:com.acme.your.HTTPtransport"/>
<transport name="local" pivot="java:
org.apache.axis.transport.local.LocalSender"/>
<transport name="java" pivot="java:
org.apache.axis.transport.java.JavaSender"/>
</deployment>
On 2/7/06, Francesco Gianferrari Pini <fr...@gmail.com>
wrote:
>
>
>
> Hi.
>
>
> I'm trying to set the transport to use in the stub generated by WSDL2Java.
>
> I can set it thwough the call object, but it is "hidden" by the stub
> implementation.
>
> Do I have to make a custom Handler that sets the tranport name in the
> messageContext?
>
> Cheers,
> Francesco
>
>
>