You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Andy Cutright <An...@borland.com> on 2003/08/22 11:40:11 UTC

[juddi-Developers] bug in AxisProcessor?

hi all, 

i've just downloaded the latest code and am importing it into our build
systems. i believe there's a bug in AxisProcessor.java. when a publish
request arrives, the code wants to verify that the function can be cast
to -both- a datatype.request.SecurityPolicy and a
datatype.request.Publish. i believe we want to check that it can be cast
to one or the other. here's the diff:

Index: AxisProcessor.java
===================================================================
RCS file:
/cvsroot/juddi/juddi/src/java/org/juddi/transport/axis/AxisProcessor.jav
a,v
retrieving revision 1.7
diff -r1.7 AxisProcessor.java
149,151c149,151
< 			else if ((juddiServlet instanceof
PublishServlet) &&
< 							((!(uddiRequest
instanceof org.juddi.datatype.request.Publish)) ||
<                (!(uddiRequest instanceof
org.juddi.datatype.request.SecurityPolicy))))
---
> 			else if (juddiServlet instanceof PublishServlet
&&
> 							(!(uddiRequest
instanceof org.juddi.datatype.request.Publish) &&
>                                                          !(uddiRequest
instanceof org.juddi.datatype.request.SecurityPolicy)))


cheers,
andy