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 Brian Nielsen <br...@sweetxml.org> on 2005/04/17 22:03:20 UTC

Service specific configuration of Client-config.wsdd

I'm having a problem creating a 'client-config.wsdd' with service specific
handlers, that'll get executed. When I use the global
requestFlow/responseFlow there is no problem but when I want to move them
into the section under a specific service, they are not called. The one I'm
trying to use was created by first generating the server side stubs to get
the deploy.wsdd (even though I'm only generating a client). I then run the
...utils.Admin with the client flag to get the client-config.wsdd, where I
add my flows and handlers.

It's a problem that I've wasted time on before and always given up
(different versions of axis as well). I've earlier made a related posting
that unfortunately didn't get any response [1]. In fact I'm quite surprised
that there isn't more information on client side configuration: how to
create it and the differences between client-side and server-side. The only
wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
- cool that they have it but I think the axis site should have some more
information as well, and I for sure am not the one to enlighten others :-).
The best piece I've found is in the architecture guide [3]. 

I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
some of you has the answer or an answer! Maybe I'm missing something or else
the only reason I can think of, is the seldom usage of service specific
handlers for clients, since all the examples I can find typically is 'just'
with the usage of handlers on the global flows. I at least expect this to
change sooner or later as wss4j, addressing and all the other ws-* specs get
implemented. Any comments? 

[1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
00801c4ab1c$1df7ce70$7300000a@vatican%3e
[2]http://www.osmoticweb.com/axis-wsdd/
[3]http://ws.apache.org/axis/java/architecture-guide.html
[4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
[5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
[6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2


Best regards
Brian Nielsen



Re: Service specific configuration of Client-config.wsdd

Posted by Dan O'Neill <do...@gmail.com>.
Hi,

I'm also having this problem. (I didn't check the links to see if they
were my questions?). I have to say it was a huge problem for me as
handlers were the basis for my project. So what I had to do was add
code to every client... but this isn't always going to be appropriate
(using the call.setClientHandler(request,response)(or something like
that I cant quite remember) method). Even in the user-guide it has a
big hole where it says TO-DO. But as it was said in one of the
conversations I had with people on this list, they've never heard of
anyone wanting to add service-specific client side handlers. And to
tell you the truth your the first(apart from myself) that I've heard
trying to use it.

But changin client code is never going to be the way forward... but
having heard nothing back from the axis team(in all fairness their a
busy bunch of people, and I love axis at the moment anyway, so wont be
pushing it), I have no other choice.

Once a long time ago, I read an IBM article on using client side
handlers and the author seemed to ahev them working....(cant remember
whether it was an axis implementation...) but it was definitely a
.wsdd implementation. Here it is actually... Look at listing 15...
(http://www-106.ibm.com/developerworks/webservices/library/ws-devettk2.html)
Now I'm sorry If all this doesn't make sense.. I've been java-axis for
12 hours a day for the past four weeks.....

Sorry I couldn't be of more help... But thought I'd through in my two
cents on this subject!

Dan

Re: Service specific configuration of Client-config.wsdd

Posted by Dan O'Neill <do...@gmail.com>.
Hi,

Thanks for that link... but you seem to be doing it exactly as I
am.... here's what I was using(well part of it... Im pretty sure the
rest is complete):

<handler name="request" type="java:ClientHandler.RequestHandler1"/>
 <handler name="response" type="java:ClientHandler.ResponseHandler1"/>
 <service name="TestService1">
    <requestFlow>
      <handler type="request"/>
    </requestFlow>
    <responseFlow>
      <handler type="response"/>
    </responseFlow>
 </service>

Maybe its just something to do with 1.2RC1? :)
Thanks for getting back to me by the way. It is greatly appreciated!

Dan


On 4/17/05, Davanum Srinivas <da...@gmail.com> wrote:
> http://cvs.apache.org/viewcvs.cgi/ws-fx/wss4j/interop/org/apache/ws/axis/oasis/
> 
> On 4/17/05, Dan O'Neill <do...@gmail.com> wrote:
> > I'll post what I tried in the morning? Could ya give me some feedback thanks?
> >
> > On 4/17/05, Dan O'Neill <do...@gmail.com> wrote:
> > > Really sorry but could ya point me in the right direction for that
> > > link....? I googled it and read some archives about it but It seems to
> > > be what I was trying before...?
> > >
> > > On 4/17/05, Davanum Srinivas <da...@gmail.com> wrote:
> > > > See ws-fx\wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd.
> > > > It has samples for service specific configuration. see the
> > > > corresponding sample client code as well.
> > > >
> > > > -- dims
> > > >
> > > > On 4/17/05, Brian Nielsen <br...@sweetxml.org> wrote:
> > > > > I'm having a problem creating a 'client-config.wsdd' with service specific
> > > > > handlers, that'll get executed. When I use the global
> > > > > requestFlow/responseFlow there is no problem but when I want to move them
> > > > > into the section under a specific service, they are not called. The one I'm
> > > > > trying to use was created by first generating the server side stubs to get
> > > > > the deploy.wsdd (even though I'm only generating a client). I then run the
> > > > > ...utils.Admin with the client flag to get the client-config.wsdd, where I
> > > > > add my flows and handlers.
> > > > >
> > > > > It's a problem that I've wasted time on before and always given up
> > > > > (different versions of axis as well). I've earlier made a related posting
> > > > > that unfortunately didn't get any response [1]. In fact I'm quite surprised
> > > > > that there isn't more information on client side configuration: how to
> > > > > create it and the differences between client-side and server-side. The only
> > > > > wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
> > > > > - cool that they have it but I think the axis site should have some more
> > > > > information as well, and I for sure am not the one to enlighten others :-).
> > > > > The best piece I've found is in the architecture guide [3].
> > > > >
> > > > > I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
> > > > > some of you has the answer or an answer! Maybe I'm missing something or else
> > > > > the only reason I can think of, is the seldom usage of service specific
> > > > > handlers for clients, since all the examples I can find typically is 'just'
> > > > > with the usage of handlers on the global flows. I at least expect this to
> > > > > change sooner or later as wss4j, addressing and all the other ws-* specs get
> > > > > implemented. Any comments?
> > > > >
> > > > > [1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
> > > > > 00801c4ab1c$1df7ce70$7300000a@vatican%3e
> > > > > [2]http://www.osmoticweb.com/axis-wsdd/
> > > > > [3]http://ws.apache.org/axis/java/architecture-guide.html
> > > > > [4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
> > > > > [5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
> > > > > [6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2
> > > > >
> > > > > Best regards
> > > > > Brian Nielsen
> > > > >
> > > > >
> > > >
> > > > --
> > > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > > >
> > >
> > > --
> > > Classic Family Guy.....
> > >
> > > "Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
> > > "And Joe, I've had new neighbors before, but none of them were half
> > > the man you are. Since you're half a man already, that splits them
> > > into some kind of fraction I can't even measure." - Peter
> > > "Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
> > > "I got an idea, an idea so smart my head would explode if I even began
> > > to know what I was talking about." - Peter
> > >
> >
> > --
> > Classic Family Guy.....
> >
> > "Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
> > "And Joe, I've had new neighbors before, but none of them were half
> > the man you are. Since you're half a man already, that splits them
> > into some kind of fraction I can't even measure." - Peter
> > "Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
> > "I got an idea, an idea so smart my head would explode if I even began
> > to know what I was talking about." - Peter
> >
> 
> --
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 


-- 
Classic Family Guy.....

"Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
"And Joe, I've had new neighbors before, but none of them were half
the man you are. Since you're half a man already, that splits them
into some kind of fraction I can't even measure." - Peter
"Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
"I got an idea, an idea so smart my head would explode if I even began
to know what I was talking about." - Peter

Re: Service specific configuration of Client-config.wsdd

Posted by Davanum Srinivas <da...@gmail.com>.
http://cvs.apache.org/viewcvs.cgi/ws-fx/wss4j/interop/org/apache/ws/axis/oasis/

On 4/17/05, Dan O'Neill <do...@gmail.com> wrote:
> I'll post what I tried in the morning? Could ya give me some feedback thanks?
> 
> On 4/17/05, Dan O'Neill <do...@gmail.com> wrote:
> > Really sorry but could ya point me in the right direction for that
> > link....? I googled it and read some archives about it but It seems to
> > be what I was trying before...?
> >
> > On 4/17/05, Davanum Srinivas <da...@gmail.com> wrote:
> > > See ws-fx\wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd.
> > > It has samples for service specific configuration. see the
> > > corresponding sample client code as well.
> > >
> > > -- dims
> > >
> > > On 4/17/05, Brian Nielsen <br...@sweetxml.org> wrote:
> > > > I'm having a problem creating a 'client-config.wsdd' with service specific
> > > > handlers, that'll get executed. When I use the global
> > > > requestFlow/responseFlow there is no problem but when I want to move them
> > > > into the section under a specific service, they are not called. The one I'm
> > > > trying to use was created by first generating the server side stubs to get
> > > > the deploy.wsdd (even though I'm only generating a client). I then run the
> > > > ...utils.Admin with the client flag to get the client-config.wsdd, where I
> > > > add my flows and handlers.
> > > >
> > > > It's a problem that I've wasted time on before and always given up
> > > > (different versions of axis as well). I've earlier made a related posting
> > > > that unfortunately didn't get any response [1]. In fact I'm quite surprised
> > > > that there isn't more information on client side configuration: how to
> > > > create it and the differences between client-side and server-side. The only
> > > > wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
> > > > - cool that they have it but I think the axis site should have some more
> > > > information as well, and I for sure am not the one to enlighten others :-).
> > > > The best piece I've found is in the architecture guide [3].
> > > >
> > > > I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
> > > > some of you has the answer or an answer! Maybe I'm missing something or else
> > > > the only reason I can think of, is the seldom usage of service specific
> > > > handlers for clients, since all the examples I can find typically is 'just'
> > > > with the usage of handlers on the global flows. I at least expect this to
> > > > change sooner or later as wss4j, addressing and all the other ws-* specs get
> > > > implemented. Any comments?
> > > >
> > > > [1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
> > > > 00801c4ab1c$1df7ce70$7300000a@vatican%3e
> > > > [2]http://www.osmoticweb.com/axis-wsdd/
> > > > [3]http://ws.apache.org/axis/java/architecture-guide.html
> > > > [4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
> > > > [5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
> > > > [6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2
> > > >
> > > > Best regards
> > > > Brian Nielsen
> > > >
> > > >
> > >
> > > --
> > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > >
> >
> > --
> > Classic Family Guy.....
> >
> > "Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
> > "And Joe, I've had new neighbors before, but none of them were half
> > the man you are. Since you're half a man already, that splits them
> > into some kind of fraction I can't even measure." - Peter
> > "Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
> > "I got an idea, an idea so smart my head would explode if I even began
> > to know what I was talking about." - Peter
> >
> 
> --
> Classic Family Guy.....
> 
> "Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
> "And Joe, I've had new neighbors before, but none of them were half
> the man you are. Since you're half a man already, that splits them
> into some kind of fraction I can't even measure." - Peter
> "Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
> "I got an idea, an idea so smart my head would explode if I even began
> to know what I was talking about." - Peter
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Re: Service specific configuration of Client-config.wsdd

Posted by Dan O'Neill <do...@gmail.com>.
I'll post what I tried in the morning? Could ya give me some feedback thanks?

On 4/17/05, Dan O'Neill <do...@gmail.com> wrote:
> Really sorry but could ya point me in the right direction for that
> link....? I googled it and read some archives about it but It seems to
> be what I was trying before...?
> 
> On 4/17/05, Davanum Srinivas <da...@gmail.com> wrote:
> > See ws-fx\wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd.
> > It has samples for service specific configuration. see the
> > corresponding sample client code as well.
> >
> > -- dims
> >
> > On 4/17/05, Brian Nielsen <br...@sweetxml.org> wrote:
> > > I'm having a problem creating a 'client-config.wsdd' with service specific
> > > handlers, that'll get executed. When I use the global
> > > requestFlow/responseFlow there is no problem but when I want to move them
> > > into the section under a specific service, they are not called. The one I'm
> > > trying to use was created by first generating the server side stubs to get
> > > the deploy.wsdd (even though I'm only generating a client). I then run the
> > > ...utils.Admin with the client flag to get the client-config.wsdd, where I
> > > add my flows and handlers.
> > >
> > > It's a problem that I've wasted time on before and always given up
> > > (different versions of axis as well). I've earlier made a related posting
> > > that unfortunately didn't get any response [1]. In fact I'm quite surprised
> > > that there isn't more information on client side configuration: how to
> > > create it and the differences between client-side and server-side. The only
> > > wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
> > > - cool that they have it but I think the axis site should have some more
> > > information as well, and I for sure am not the one to enlighten others :-).
> > > The best piece I've found is in the architecture guide [3].
> > >
> > > I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
> > > some of you has the answer or an answer! Maybe I'm missing something or else
> > > the only reason I can think of, is the seldom usage of service specific
> > > handlers for clients, since all the examples I can find typically is 'just'
> > > with the usage of handlers on the global flows. I at least expect this to
> > > change sooner or later as wss4j, addressing and all the other ws-* specs get
> > > implemented. Any comments?
> > >
> > > [1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
> > > 00801c4ab1c$1df7ce70$7300000a@vatican%3e
> > > [2]http://www.osmoticweb.com/axis-wsdd/
> > > [3]http://ws.apache.org/axis/java/architecture-guide.html
> > > [4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
> > > [5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
> > > [6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2
> > >
> > > Best regards
> > > Brian Nielsen
> > >
> > >
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
> >
> 
> --
> Classic Family Guy.....
> 
> "Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
> "And Joe, I've had new neighbors before, but none of them were half
> the man you are. Since you're half a man already, that splits them
> into some kind of fraction I can't even measure." - Peter
> "Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
> "I got an idea, an idea so smart my head would explode if I even began
> to know what I was talking about." - Peter
> 


-- 
Classic Family Guy.....

"Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
"And Joe, I've had new neighbors before, but none of them were half
the man you are. Since you're half a man already, that splits them
into some kind of fraction I can't even measure." - Peter
"Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
"I got an idea, an idea so smart my head would explode if I even began
to know what I was talking about." - Peter

Re: Service specific configuration of Client-config.wsdd

Posted by Dan O'Neill <do...@gmail.com>.
Really sorry but could ya point me in the right direction for that
link....? I googled it and read some archives about it but It seems to
be what I was trying before...?

On 4/17/05, Davanum Srinivas <da...@gmail.com> wrote:
> See ws-fx\wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd.
> It has samples for service specific configuration. see the
> corresponding sample client code as well.
> 
> -- dims
> 
> On 4/17/05, Brian Nielsen <br...@sweetxml.org> wrote:
> > I'm having a problem creating a 'client-config.wsdd' with service specific
> > handlers, that'll get executed. When I use the global
> > requestFlow/responseFlow there is no problem but when I want to move them
> > into the section under a specific service, they are not called. The one I'm
> > trying to use was created by first generating the server side stubs to get
> > the deploy.wsdd (even though I'm only generating a client). I then run the
> > ...utils.Admin with the client flag to get the client-config.wsdd, where I
> > add my flows and handlers.
> >
> > It's a problem that I've wasted time on before and always given up
> > (different versions of axis as well). I've earlier made a related posting
> > that unfortunately didn't get any response [1]. In fact I'm quite surprised
> > that there isn't more information on client side configuration: how to
> > create it and the differences between client-side and server-side. The only
> > wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
> > - cool that they have it but I think the axis site should have some more
> > information as well, and I for sure am not the one to enlighten others :-).
> > The best piece I've found is in the architecture guide [3].
> >
> > I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
> > some of you has the answer or an answer! Maybe I'm missing something or else
> > the only reason I can think of, is the seldom usage of service specific
> > handlers for clients, since all the examples I can find typically is 'just'
> > with the usage of handlers on the global flows. I at least expect this to
> > change sooner or later as wss4j, addressing and all the other ws-* specs get
> > implemented. Any comments?
> >
> > [1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
> > 00801c4ab1c$1df7ce70$7300000a@vatican%3e
> > [2]http://www.osmoticweb.com/axis-wsdd/
> > [3]http://ws.apache.org/axis/java/architecture-guide.html
> > [4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
> > [5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
> > [6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2
> >
> > Best regards
> > Brian Nielsen
> >
> >
> 
> --
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 


-- 
Classic Family Guy.....

"Yes, but no sprinkles. For every sprinkle i find, i shall KILL you." - Stewie
"And Joe, I've had new neighbors before, but none of them were half
the man you are. Since you're half a man already, that splits them
into some kind of fraction I can't even measure." - Peter
"Hello, 911? It's Quagmire. Yeah, it's caught in the window this time." Quagmire
"I got an idea, an idea so smart my head would explode if I even began
to know what I was talking about." - Peter

Re: Service specific configuration of Client-config.wsdd

Posted by Davanum Srinivas <da...@gmail.com>.
See ws-fx\wss4j\interop\org\apache\ws\axis\oasis\Client_deploy.wsdd.
It has samples for service specific configuration. see the
corresponding sample client code as well.

-- dims

On 4/17/05, Brian Nielsen <br...@sweetxml.org> wrote:
> I'm having a problem creating a 'client-config.wsdd' with service specific
> handlers, that'll get executed. When I use the global
> requestFlow/responseFlow there is no problem but when I want to move them
> into the section under a specific service, they are not called. The one I'm
> trying to use was created by first generating the server side stubs to get
> the deploy.wsdd (even though I'm only generating a client). I then run the
> ...utils.Admin with the client flag to get the client-config.wsdd, where I
> add my flows and handlers.
> 
> It's a problem that I've wasted time on before and always given up
> (different versions of axis as well). I've earlier made a related posting
> that unfortunately didn't get any response [1]. In fact I'm quite surprised
> that there isn't more information on client side configuration: how to
> create it and the differences between client-side and server-side. The only
> wsdd reference I can find isn't at the apache site but at osmoticweb.com[2]
> - cool that they have it but I think the axis site should have some more
> information as well, and I for sure am not the one to enlighten others :-).
> The best piece I've found is in the architecture guide [3].
> 
> I can see that I'm not alone with this problem [4], [5] and [6]. I sure hope
> some of you has the answer or an answer! Maybe I'm missing something or else
> the only reason I can think of, is the seldom usage of service specific
> handlers for clients, since all the examples I can find typically is 'just'
> with the usage of handlers on the global flows. I at least expect this to
> change sooner or later as wss4j, addressing and all the other ws-* specs get
> implemented. Any comments?
> 
> [1]http://mail-archives.eu.apache.org/mod_mbox/ws-axis-user/200410.mbox/%3c0
> 00801c4ab1c$1df7ce70$7300000a@vatican%3e
> [2]http://www.osmoticweb.com/axis-wsdd/
> [3]http://ws.apache.org/axis/java/architecture-guide.html
> [4]http://marc.theaimsgroup.com/?l=axis-user&m=111140796624197&w=2
> [5]http://marc.theaimsgroup.com/?l=axis-user&m=110964777027353&w=2
> [6]http://marc.theaimsgroup.com/?l=axis-user&m=106943666318915&w=2
> 
> Best regards
> Brian Nielsen
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/