You know,
I've never actually written a custom transport/Sender pair!
But, I assume you can define a different one other than http. Look at
the example config you posted. There is a "java" and a "local" transport
existing at the same time. I think you can make up another name and load
your transport's pivot for it. (I would try just one new transport
first, get it to deploy and get called properly, and bring in the 2nd
one later).

(In the downloadable examples for Axis 1.4, (I think you need to find
the src zip file for Axis 1.4) there is a custom transport example
project called, what else..transport tcp. I've never played with it but
it might help you out. They define a client-config.wsdd file as well).

You should even be able to reuse HTTPSender as well, and worry about
whether you need to write your own later. (First order of business is to
get Axis to deploy it all correctly, right?)
Good luck,
-jeff



-----Original Message-----
From: Yolanda Ward [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 27, 2007 4:46 PM
To: axis-user@ws.apache.org
Subject: RE: Newbie need help with client-config.wsdd


You are right, you can not have two http transports but essentially
that's
the functionality that I need.  I need to be able to handle 2 different
transports at the same time.  I think I have something fundamentally
wrong
but there is probably a solution out there.  I was looking for that
solution.


dreamryder wrote:
> 
> I don't think you can have two http transports in the same config
file.
> Try commenting out:
>      <transport name="http"
> pivot="java:org.apache.axis.transport.http.HTTPSender"/>
> 
> And leave in your myownHandler.
> Debug it and see if the contructor even gets called?
> -jeff
> 
> 
> -----Original Message-----
> From: Yolanda Ward [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 27, 2007 4:14 PM
> To: axis-user@ws.apache.org
> Subject: Newbie need help with client-config.wsdd
> 
> 
> I'm new to Axis.  I'm using Axis 1.4.  I need to define a transport on
> the
> client side.  My application is supporting multiple SOAP interfaces.
> When I
> call one set of SOAP interfaces, I want to call one handler and then
> when I
> call the other set of SOAP interfaces, I want to call a different
> handler.  
> 
> I knnow the configuration that I have below is wrong.  Does anyone
have
> any
> suggestions of how I can implement this? 
> 
> <transport name="http"
> pivot="java:org.apache.axis.transport.http.HTTPSender"/>
> <transport name="http" pivot="java:myownHandler"/>
> 
> <?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";>
>          <globalConfiguration>
>       <parameter name="disablePrettyXML" value="true"/>
>          <parameter name="enableNamespacePrefixOptimization"
> value="false"/>
>        </globalConfiguration>
>      <transport name="http"
> pivot="java:org.apache.axis.transport.http.HTTPSender"/>
>      <transport name="http" pivot="java:myownHandler"/>
>      <transport name="java"
> pivot="java:org.apache.axis.transport.java.JavaSender"/>
>      <transport name="local"
> pivot="java:org.apache.axis.transport.local.LocalSender"/>
>    </deployment>
> -- 
> View this message in context:
>
http://www.nabble.com/Newbie-need-help-with-client-config.wsdd-tf4530741
> .html#a12929350
> Sent from the Axis - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Newbie-need-help-with-client-config.wsdd-tf4530741
.html#a12930000
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to