Re: [Axis2] Namespaces with and without security turned on

2006-06-19 Thread Marcus Ludvigson

Hi,

Solution for JIRA issue AXIS2-771 tested OK.

Great work!

Regards
Marcus Ludvigson

On 5/27/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote:

Sure ... will take a look at it.

Thanks,
Ruchith

On 5/26/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
> Seems like a bug in ns handling of DOOM. Can you please create a JIRA
> issue (http://issues.apache.org/jira/browse/AXIS2).
>
> Ruchith, you wanna try this ?
>
>
>
> Marcus Ludvigson wrote:
> > Hi,
> >
> > I am executing a webservice with and without security turned on. The
> > result when executing the WS with security turned on is that I get
> > excessive amount of namespaces ( axis2ns23, axis2ns24, axis2ns25, etc)
> > compared to executing without security. I also get a
> > ArrayIndexOutOfBoundsException the first time running with security but
> > it works if I run it again.
> >
> > Who is generating all of these namespaces, and can I do something to
> > avoid it?
> >
> > See info below.
> >
> > Regards,
> > Marcus Ludvigson
> >
> >
> > Result when executing without security:
> >
> >  > xmlns="http://corp.net/ConfigManager/listAllServices";>
> >   
> >   
> >   
> >   
> > 
> >
> >
> > Result when executing with security:
> >
> >  > xmlns:axis2ns21="http://corp.net/ConfigManager/listAllServices";
> > xmlns:xenc=" http://www.w3.org/2001/04/xmlenc#";
> > xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns:wsu="
> > 
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> > xmlns="http://corp.net/ConfigManager/listAllServices"; xmlns:soapenv="
> > http://schemas.xmlsoap.org/soap/envelope/";>
> >   http://corp.net/ConfigManager/listAllServices"/
> > >
> >> xmlns:axis2ns23="http://corp.net/ConfigManager/listAllServices"/
> > >
> >> xmlns:axis2ns24="http://corp.net/ConfigManager/listAllServices"/
> > >
> > 
> >
> >
> > Relevant part from the WSDL:
> >
> >  > targetNamespace="http://corp.net/ConfigManager/listAllServices";
> > elementFormDefault="qualified">
> >
> > 
> >  
> >   
> >
> > 
> > 
> >
> >   
> >  
> > 
> >
> >  
> >
> >
> > ArrayIndexOutOfBounds:
> >
> > SymbMap.index(Object) line: not available
> > SymbMap.get(String) line: not available
> > NameSpaceSymbTable.addMapping(String, String, Attr) line: not available
> > 
Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).handleAttributesSubtree(Element,
> > NameSpaceSymbTable) line: not available
> > 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).canonicalizeSubTree(Node,
> > NameSpaceSymbTable, Node) line: not available
> > 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalizeSubTree(Node,
> > Node) line: not available
> > 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalize(XMLSignatureInput)
> > line: not available
> > 
Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).engineCanonicalize(XMLSignatureInput,
> > String) line: not available
> > TransformC14NExclusive.enginePerformTransform(XMLSignatureInput,
> > OutputStream) line: not available
> > Transform.performTransform(XMLSignatureInput, OutputStream) line: not
> > available
> > Transforms.performTransforms(XMLSignatureInput, OutputStream) line: not
> > available
> > Reference.getContentsAfterTransformation(XMLSignatureInput,
> > OutputStream) line: not available
> > Reference.dereferenceURIandPerformTransforms(OutputStream) line: not
> > available
> > Reference.calculateDigest() line: not available
> > Reference.verify() line: not available
> > SignedInfo(Manifest).verifyReferences(boolean) line: not available
> > SignedInfo.verify(boolean) line: not available
> > XMLSignature.checkSignatureValue(Key) line: not available
> > XMLSignature.checkSignatureValue(X509Certificate) line: not available
> > SignatureProcessor.verifyXMLSignature(Element, Crypto,
> > X509Certificate[], Set, byte[][]) line: 264
> > SignatureProcessor.handleToken(Element, Crypto, Crypto, CallbackHandler,
> > WSDocInfo, Vector, WSSConfig) line: 79
> > WSSecurityEngine.processSecurityHeader(Element, CallbackHandler, Crypto,
> > Crypto) line: 269
> > WSSecurityEngine.processSecurityHeader(Document, String,
> > CallbackHandler, Crypto, Crypto) line: 191
> > WSDoAllReceiver.processMessage (MessageContext) line: 180
> > WSDoAllReceiver(WSDoAllHandler).invoke(MessageContext) line: 82
> >
> >
>
>
>
>
>

-
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: [Axis2] Namespaces with and without security turned on

2006-05-27 Thread Ruchith Fernando

Sure ... will take a look at it.

Thanks,
Ruchith

On 5/26/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:

Seems like a bug in ns handling of DOOM. Can you please create a JIRA
issue (http://issues.apache.org/jira/browse/AXIS2).

Ruchith, you wanna try this ?



Marcus Ludvigson wrote:
> Hi,
>
> I am executing a webservice with and without security turned on. The
> result when executing the WS with security turned on is that I get
> excessive amount of namespaces ( axis2ns23, axis2ns24, axis2ns25, etc)
> compared to executing without security. I also get a
> ArrayIndexOutOfBoundsException the first time running with security but
> it works if I run it again.
>
> Who is generating all of these namespaces, and can I do something to
> avoid it?
>
> See info below.
>
> Regards,
> Marcus Ludvigson
>
>
> Result when executing without security:
>
>  xmlns="http://corp.net/ConfigManager/listAllServices";>
>   
>   
>   
>   
> 
>
>
> Result when executing with security:
>
>  xmlns:axis2ns21="http://corp.net/ConfigManager/listAllServices";
> xmlns:xenc=" http://www.w3.org/2001/04/xmlenc#";
> xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns:wsu="
> 
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> xmlns="http://corp.net/ConfigManager/listAllServices"; xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";>
>   http://corp.net/ConfigManager/listAllServices"/
> >
>xmlns:axis2ns23="http://corp.net/ConfigManager/listAllServices"/
> >
>xmlns:axis2ns24="http://corp.net/ConfigManager/listAllServices"/
> >
> 
>
>
> Relevant part from the WSDL:
>
>  targetNamespace="http://corp.net/ConfigManager/listAllServices";
> elementFormDefault="qualified">
>
> 
>  
>   
>
> 
> 
>
>   
>  
> 
>
>  
>
>
> ArrayIndexOutOfBounds:
>
> SymbMap.index(Object) line: not available
> SymbMap.get(String) line: not available
> NameSpaceSymbTable.addMapping(String, String, Attr) line: not available
> 
Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).handleAttributesSubtree(Element,
> NameSpaceSymbTable) line: not available
> 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).canonicalizeSubTree(Node,
> NameSpaceSymbTable, Node) line: not available
> 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalizeSubTree(Node,
> Node) line: not available
> 
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalize(XMLSignatureInput)
> line: not available
> 
Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).engineCanonicalize(XMLSignatureInput,
> String) line: not available
> TransformC14NExclusive.enginePerformTransform(XMLSignatureInput,
> OutputStream) line: not available
> Transform.performTransform(XMLSignatureInput, OutputStream) line: not
> available
> Transforms.performTransforms(XMLSignatureInput, OutputStream) line: not
> available
> Reference.getContentsAfterTransformation(XMLSignatureInput,
> OutputStream) line: not available
> Reference.dereferenceURIandPerformTransforms(OutputStream) line: not
> available
> Reference.calculateDigest() line: not available
> Reference.verify() line: not available
> SignedInfo(Manifest).verifyReferences(boolean) line: not available
> SignedInfo.verify(boolean) line: not available
> XMLSignature.checkSignatureValue(Key) line: not available
> XMLSignature.checkSignatureValue(X509Certificate) line: not available
> SignatureProcessor.verifyXMLSignature(Element, Crypto,
> X509Certificate[], Set, byte[][]) line: 264
> SignatureProcessor.handleToken(Element, Crypto, Crypto, CallbackHandler,
> WSDocInfo, Vector, WSSConfig) line: 79
> WSSecurityEngine.processSecurityHeader(Element, CallbackHandler, Crypto,
> Crypto) line: 269
> WSSecurityEngine.processSecurityHeader(Document, String,
> CallbackHandler, Crypto, Crypto) line: 191
> WSDoAllReceiver.processMessage (MessageContext) line: 180
> WSDoAllReceiver(WSDoAllHandler).invoke(MessageContext) line: 82
>
>







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



Re: [Axis2] Namespaces with and without security turned on

2006-05-26 Thread Marcus Ludvigson
Of course,
 
JIRA: http://issues.apache.org/jira/browse/AXIS2-771
 
Regards, 
Marcus Ludvigson 
On 5/26/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
Seems like a bug in ns handling of DOOM. Can you please create a JIRAissue (
http://issues.apache.org/jira/browse/AXIS2).Ruchith, you wanna try this ?Marcus Ludvigson wrote:> Hi,>> I am executing a webservice with and without security turned on. The
> result when executing the WS with security turned on is that I get> excessive amount of namespaces ( axis2ns23, axis2ns24, axis2ns25, etc)> compared to executing without security. I also get a> ArrayIndexOutOfBoundsException the first time running with security but
> it works if I run it again.>> Who is generating all of these namespaces, and can I do something to> avoid it?>> See info below.>> Regards,> Marcus Ludvigson
>>> Result when executing without security:>> > xmlns="http://corp.net/ConfigManager/listAllServices
">>   >   >   
>   > >>> Result when executing with security:>> > xmlns:axis2ns21="http://corp.net/ConfigManager/listAllServices"> xmlns:xenc=" http://www.w3.org/2001/04/xmlenc#
"> xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="> 
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> xmlns="http://corp.net/ConfigManager/listAllServices" xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/">>   http://corp.net/ConfigManager/listAllServices"/> >>   > xmlns:axis2ns23="http://corp.net/ConfigManager/listAllServices
"/> >>   > xmlns:axis2ns24="http://corp.net/ConfigManager/listAllServices"/> >> >>> Relevant part from the WSDL:>> > targetNamespace="
http://corp.net/ConfigManager/listAllServices"> elementFormDefault="qualified">>> >  
>   >> 
> >>   >  > 
>>  >>> ArrayIndexOutOfBounds:>> SymbMap.index(Object) line: not available> SymbMap.get(String) line: not available> 
NameSpaceSymbTable.addMapping(String, String, Attr) line: not available> Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).handleAttributesSubtree(Element,> NameSpaceSymbTable) line: not available
> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).canonicalizeSubTree(Node,> NameSpaceSymbTable, Node) line: not available> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalizeSubTree(Node,
> Node) line: not available> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalize(XMLSignatureInput)> line: not available> Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).engineCanonicalize(XMLSignatureInput,
> String) line: not available> TransformC14NExclusive.enginePerformTransform(XMLSignatureInput,> OutputStream) line: not available> Transform.performTransform(XMLSignatureInput, OutputStream) line: not
> available> Transforms.performTransforms(XMLSignatureInput, OutputStream) line: not> available> Reference.getContentsAfterTransformation(XMLSignatureInput,> OutputStream) line: not available
> Reference.dereferenceURIandPerformTransforms(OutputStream) line: not> available> Reference.calculateDigest() line: not available> Reference.verify() line: not available> SignedInfo(Manifest).verifyReferences(boolean) line: not available
> SignedInfo.verify(boolean) line: not available> XMLSignature.checkSignatureValue(Key) line: not available> XMLSignature.checkSignatureValue(X509Certificate) line: not available> SignatureProcessor.verifyXMLSignature
(Element, Crypto,> X509Certificate[], Set, byte[][]) line: 264> SignatureProcessor.handleToken(Element, Crypto, Crypto, CallbackHandler,> WSDocInfo, Vector, WSSConfig) line: 79> WSSecurityEngine.processSecurityHeader
(Element, CallbackHandler, Crypto,> Crypto) line: 269> WSSecurityEngine.processSecurityHeader(Document, String,> CallbackHandler, Crypto, Crypto) line: 191> WSDoAllReceiver.processMessage (MessageContext) line: 180
> WSDoAllReceiver(WSDoAllHandler).invoke(MessageContext) line: 82>>


Re: [Axis2] Namespaces with and without security turned on

2006-05-26 Thread Eran Chinthaka
Seems like a bug in ns handling of DOOM. Can you please create a JIRA
issue (http://issues.apache.org/jira/browse/AXIS2).

Ruchith, you wanna try this ?



Marcus Ludvigson wrote:
> Hi,
>  
> I am executing a webservice with and without security turned on. The
> result when executing the WS with security turned on is that I get
> excessive amount of namespaces ( axis2ns23, axis2ns24, axis2ns25, etc)
> compared to executing without security. I also get a
> ArrayIndexOutOfBoundsException the first time running with security but
> it works if I run it again.
>  
> Who is generating all of these namespaces, and can I do something to
> avoid it?
>  
> See info below.
>  
> Regards,
> Marcus Ludvigson
>  
>  
> Result when executing without security: 
>  
>  xmlns="http://corp.net/ConfigManager/listAllServices";>
>   
>   
>   
>   
> 
>  
>  
> Result when executing with security:
>  
>  xmlns:axis2ns21="http://corp.net/ConfigManager/listAllServices";
> xmlns:xenc=" http://www.w3.org/2001/04/xmlenc#";
> xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns:wsu="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> xmlns="http://corp.net/ConfigManager/listAllServices"; xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";>
>   http://corp.net/ConfigManager/listAllServices"/
> >
>xmlns:axis2ns23="http://corp.net/ConfigManager/listAllServices"/
> >
>xmlns:axis2ns24="http://corp.net/ConfigManager/listAllServices"/
> >
> 
>  
>  
> Relevant part from the WSDL:
>  
>  targetNamespace="http://corp.net/ConfigManager/listAllServices";
> elementFormDefault="qualified">
>
> 
>  
>   
>
> 
> 
>
>   
>  
> 
>
>  
>  
>  
> ArrayIndexOutOfBounds:
>  
> SymbMap.index(Object) line: not available
> SymbMap.get(String) line: not available
> NameSpaceSymbTable.addMapping(String, String, Attr) line: not available
> Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).handleAttributesSubtree(Element,
> NameSpaceSymbTable) line: not available
> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).canonicalizeSubTree(Node,
> NameSpaceSymbTable, Node) line: not available
> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalizeSubTree(Node,
> Node) line: not available
> Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalize(XMLSignatureInput)
> line: not available
> Canonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).engineCanonicalize(XMLSignatureInput,
> String) line: not available
> TransformC14NExclusive.enginePerformTransform(XMLSignatureInput,
> OutputStream) line: not available
> Transform.performTransform(XMLSignatureInput, OutputStream) line: not
> available
> Transforms.performTransforms(XMLSignatureInput, OutputStream) line: not
> available
> Reference.getContentsAfterTransformation(XMLSignatureInput,
> OutputStream) line: not available
> Reference.dereferenceURIandPerformTransforms(OutputStream) line: not
> available
> Reference.calculateDigest() line: not available
> Reference.verify() line: not available
> SignedInfo(Manifest).verifyReferences(boolean) line: not available
> SignedInfo.verify(boolean) line: not available
> XMLSignature.checkSignatureValue(Key) line: not available
> XMLSignature.checkSignatureValue(X509Certificate) line: not available
> SignatureProcessor.verifyXMLSignature(Element, Crypto,
> X509Certificate[], Set, byte[][]) line: 264
> SignatureProcessor.handleToken(Element, Crypto, Crypto, CallbackHandler,
> WSDocInfo, Vector, WSSConfig) line: 79
> WSSecurityEngine.processSecurityHeader(Element, CallbackHandler, Crypto,
> Crypto) line: 269
> WSSecurityEngine.processSecurityHeader(Document, String,
> CallbackHandler, Crypto, Crypto) line: 191
> WSDoAllReceiver.processMessage (MessageContext) line: 180
> WSDoAllReceiver(WSDoAllHandler).invoke(MessageContext) line: 82
>  
>  




signature.asc
Description: OpenPGP digital signature


[Axis2] Namespaces with and without security turned on

2006-05-26 Thread Marcus Ludvigson
Hi, 
 
I am executing a webservice with and without security turned on. The result when executing the WS with security turned on is that I get excessive amount of namespaces ( axis2ns23, axis2ns24, axis2ns25, etc) compared to executing without security. I also get a ArrayIndexOutOfBoundsException the first time running with security but it works if I run it again.

 
Who is generating all of these namespaces, and can I do something to avoid it?
 
See info below.
 
Regards, 
Marcus Ludvigson
 
 
Result when executing without security: 
 
http://corp.net/ConfigManager/listAllServices">  
      

 
 

Result when executing with security:
 
http://corp.net/ConfigManager/listAllServices" xmlns:xenc="
http://www.w3.org/2001/04/xmlenc#" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns="http://corp.net/ConfigManager/listAllServices" xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">  
http://corp.net/ConfigManager/listAllServices"/>  http://corp.net/ConfigManager/listAllServices"/
>  http://corp.net/ConfigManager/listAllServices"/
>
 
 
Relevant part from the WSDL:
 
http://corp.net/ConfigManager/listAllServices" elementFormDefault="qualified">   
  
 
 
 
 
ArrayIndexOutOfBounds:
 
SymbMap.index(Object) line: not availableSymbMap.get(String) line: not availableNameSpaceSymbTable.addMapping(String, String, Attr) line: not availableCanonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).handleAttributesSubtree(Element, NameSpaceSymbTable) line: not available
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).canonicalizeSubTree(Node, NameSpaceSymbTable, Node) line: not availableCanonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalizeSubTree(Node, Node) line: not available
Canonicalizer20010315ExclOmitComments(CanonicalizerBase).engineCanonicalize(XMLSignatureInput) line: not availableCanonicalizer20010315ExclOmitComments(Canonicalizer20010315Excl).engineCanonicalize(XMLSignatureInput, String) line: not available
TransformC14NExclusive.enginePerformTransform(XMLSignatureInput, OutputStream) line: not availableTransform.performTransform(XMLSignatureInput, OutputStream) line: not availableTransforms.performTransforms(XMLSignatureInput, OutputStream) line: not available
Reference.getContentsAfterTransformation(XMLSignatureInput, OutputStream) line: not availableReference.dereferenceURIandPerformTransforms(OutputStream) line: not availableReference.calculateDigest() line: not available
Reference.verify() line: not availableSignedInfo(Manifest).verifyReferences(boolean) line: not availableSignedInfo.verify(boolean) line: not availableXMLSignature.checkSignatureValue(Key) line: not available
XMLSignature.checkSignatureValue(X509Certificate) line: not availableSignatureProcessor.verifyXMLSignature(Element, Crypto, X509Certificate[], Set, byte[][]) line: 264SignatureProcessor.handleToken(Element, Crypto, Crypto, CallbackHandler, WSDocInfo, Vector, WSSConfig) line: 79
WSSecurityEngine.processSecurityHeader(Element, CallbackHandler, Crypto, Crypto) line: 269WSSecurityEngine.processSecurityHeader(Document, String, CallbackHandler, Crypto, Crypto) line: 191WSDoAllReceiver.processMessage
(MessageContext) line: 180WSDoAllReceiver(WSDoAllHandler).invoke(MessageContext) line: 82