Re: Newbie need help with client-config.wsdd

2007-09-28 Thread Yolanda Ward

Yes, I'm trying to call 2 different webservices using one application and one
client-config.wsdd file.

Mike Krell-4 wrote:
 
 What is it that you are trying to accomplish by having 2 HTTP transports?
 Is it just a matter of calling 2 different webservices?  The reason why I
 ask is the solution may not be in the transport itself but in a handler.
 
 On 9/27/07, Yolanda Ward  [EMAIL PROTECTED] wrote:


 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#a1293

 Sent from the Axis - User mailing list archive at Nabble.com.


 -
 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#a12939568
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Newbie need help with client-config.wsdd

2007-09-28 Thread Yolanda Ward

I'm sure I'm probably confusing you because I'm still not sure I have the
correct terminology down.  
Doesn't the pivot attribute associate a handler with the http protocol?  I
want to use 2 different handlers for an http request.  

So in reality I want to do this however, I don't know how to do it
programmatically.
transport name=http pivot=java:
org.apache.axis.transport.http.HTTPSender/
transport name=http pivot=java:myownHandler/


Mike Krell-4 wrote:
 
 Ok, I may not understand completely what you are doing.  You say that you
 are trying to call 2 different web services using one application and one
 client-config.wsdd.  The transport doesn't do this.  The transport is how
 the data moves across the wire.  I would look at the HTTP transport the
 same
 way a browser communicates with a web server - it translates you app's
 request into an HTTP request and sends it to the web server - in this case
 an AxisServlet.  To get your app to call 2 different web services, you
 would
 need to specify the endpoint url - something along the lines of this...
 
 MyServiceOneLocator  locator1 = new MyServiceOneLocator  ();
 URL wsURL = new URL(url to your web service);
 MyWebService myWS = locator1.getMyWebservice(wsURL);
 
 To call the second web service, the code is the same - just change the
 URL.
 
 Hope this helps.
 
 Mikek
 
 On 9/28/07, Yolanda Ward [EMAIL PROTECTED] wrote:


 Yes, I'm trying to call 2 different webservices using one application and
 one
 client-config.wsdd file.

 Mike Krell-4 wrote:
 
  What is it that you are trying to accomplish by having 2 HTTP
 transports?
  Is it just a matter of calling 2 different webservices?  The reason why
 I
  ask is the solution may not be in the transport itself but in a
 handler.
 
  On 9/27/07, Yolanda Ward  [EMAIL PROTECTED] wrote:
 
 
  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#a1293
 
  Sent from the Axis - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 

Re: Newbie need help with client-config.wsdd

2007-09-28 Thread Mike Krell
Ok, I may not understand completely what you are doing.  You say that you
are trying to call 2 different web services using one application and one
client-config.wsdd.  The transport doesn't do this.  The transport is how
the data moves across the wire.  I would look at the HTTP transport the same
way a browser communicates with a web server - it translates you app's
request into an HTTP request and sends it to the web server - in this case
an AxisServlet.  To get your app to call 2 different web services, you would
need to specify the endpoint url - something along the lines of this...

MyServiceOneLocator  locator1 = new MyServiceOneLocator  ();
URL wsURL = new URL(url to your web service);
MyWebService myWS = locator1.getMyWebservice(wsURL);

To call the second web service, the code is the same - just change the URL.

Hope this helps.

Mikek

On 9/28/07, Yolanda Ward [EMAIL PROTECTED] wrote:


 Yes, I'm trying to call 2 different webservices using one application and
 one
 client-config.wsdd file.

 Mike Krell-4 wrote:
 
  What is it that you are trying to accomplish by having 2 HTTP
 transports?
  Is it just a matter of calling 2 different webservices?  The reason why
 I
  ask is the solution may not be in the transport itself but in a handler.
 
  On 9/27/07, Yolanda Ward  [EMAIL PROTECTED] wrote:
 
 
  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#a1293
 
  Sent from the Axis - User mailing list archive at Nabble.com.
 
 
  -
  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#a12939568
 Sent from the Axis - User mailing list archive at Nabble.com.


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




Re: Newbie need help with client-config.wsdd

2007-09-28 Thread Mike Krell
I could be wrong but I don't think that it works the way you are intending.
In the line transport name=http pivot=java:
org.apache.axis.transport.http.HTTPSender/ you are basically setting up a
variable called http which references the class 
org.apache.axis.transport.http.HTTPSender.  This variable can then be used
as shorthand for other configurations in the same config file.  For
example...

handler name=LocalResponder type=java:
org.apache.axis.transport.local.LocalResponder /
.
.
.
transport name=local
responseFlow
handler type=LocalResponder /
/responseFlow
/transport

Here a handler called LocalResponder is being defined and later being
referenced in the local transport.

In your configuration, it looks like you are trying to override the variable
setting to  myownHandler.  It's the same as saying

int x = 1;
x = 2;

What http actually gets set to will probably depend on the parser.

You can try to create a new transport and call it http2.  Not sure how
this will work but I believe the Axis will only use one transport handler.
(You could try to set the transports up in a chain).

Looking back at in this chain, I think that the solution for you may be to
write your own transport which then would call the 2 webservices.

On 9/28/07, Yolanda Ward [EMAIL PROTECTED] wrote:


 I'm sure I'm probably confusing you because I'm still not sure I have the
 correct terminology down.
 Doesn't the pivot attribute associate a handler with the http protocol?  I
 want to use 2 different handlers for an http request.

 So in reality I want to do this however, I don't know how to do it
 programmatically.
 transport name=http pivot=java:
 org.apache.axis.transport.http.HTTPSender/
 transport name=http pivot=java:myownHandler/


 Mike Krell-4 wrote:
 
  Ok, I may not understand completely what you are doing.  You say that
 you
  are trying to call 2 different web services using one application and
 one
  client-config.wsdd.  The transport doesn't do this.  The transport is
 how
  the data moves across the wire.  I would look at the HTTP transport the
  same
  way a browser communicates with a web server - it translates you app's
  request into an HTTP request and sends it to the web server - in this
 case
  an AxisServlet.  To get your app to call 2 different web services, you
  would
  need to specify the endpoint url - something along the lines of this...
 
  MyServiceOneLocator  locator1 = new MyServiceOneLocator  ();
  URL wsURL = new URL(url to your web service);
  MyWebService myWS = locator1.getMyWebservice(wsURL);
 
  To call the second web service, the code is the same - just change the
  URL.
 
  Hope this helps.
 
  Mikek
 
  On 9/28/07, Yolanda Ward [EMAIL PROTECTED] wrote:
 
 
  Yes, I'm trying to call 2 different webservices using one application
 and
  one
  client-config.wsdd file.
 
  Mike Krell-4 wrote:
  
   What is it that you are trying to accomplish by having 2 HTTP
  transports?
   Is it just a matter of calling 2 different webservices?  The reason
 why
  I
   ask is the solution may not be in the transport itself but in a
  handler.
  
   On 9/27/07, Yolanda Ward  [EMAIL PROTECTED] wrote:
  
  
   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/
 

RE: Newbie need help with client-config.wsdd

2007-09-27 Thread Walker, Jeff
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]



RE: Newbie need help with client-config.wsdd

2007-09-27 Thread Yolanda Ward

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#a1293
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: Newbie need help with client-config.wsdd

2007-09-27 Thread Walker, Jeff
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#a1293
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]



Re: Newbie need help with client-config.wsdd

2007-09-27 Thread Mike Krell
What is it that you are trying to accomplish by having 2 HTTP transports?
Is it just a matter of calling 2 different webservices?  The reason why I
ask is the solution may not be in the transport itself but in a handler.

On 9/27/07, Yolanda Ward  [EMAIL PROTECTED] wrote:


 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#a1293

 Sent from the Axis - User mailing list archive at Nabble.com.


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