You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "José Ferreiro (JIRA)" <ji...@apache.org> on 2008/05/29 19:59:45 UTC

[jira] Created: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
-----------------------------------------------------------------------------------------------------------

                 Key: WSS-120
                 URL: https://issues.apache.org/jira/browse/WSS-120
             Project: WSS4J
          Issue Type: Bug
    Affects Versions: 1.5.3
         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
            Reporter: José Ferreiro
            Assignee: Ruchith Udayanga Fernando
            Priority: Blocker
             Fix For: 1.5.3


Hello,

I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
I try to send an object and I receive the same object into an array serveral times.
This is working fine with Axis 1.4. The wsdl file follows below.
When I apply the handlers from WSS4J. then the problem arises.
I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
When I try to send the the response as an array I got the following error.

I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html

I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.

May you please help me?
I may collaborate in sending you the files or whatever information is necessary!
Thank you in advance.


ERROR.

Error I get at the client (whenever I receive an array of object)
- Verification successful for URI "#id-9135999"
- Verification successful for URI "#SigConf-7859095"
- Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
; nested exception is: 
	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.


WSDL file:



<?xml version="1.0" encoding="utf-8"?>
<!--

  
    Version: 1.0
    Author: Jose Ferreiro
    Last Updated: 01/02/2007
  -->
<wsdl:definitions name="TIR secure Web Services"
   targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
   xmlns:apachesoap="http://xml.apache.org/xml-soap" 
   xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
   xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   
  
   <wsdl:types>
      <schema 
         elementFormDefault="qualified" 
         targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
         xmlns="http://www.w3.org/2001/XMLSchema">
            
           

            <complexType name="ComplexTypeRequest">
            <annotation>
               <documentation>
                    operation request element 
               </documentation>
            </annotation>            
               <sequence>
                  <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
               </sequence>
            </complexType>
 

            
            <!--complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="stringType"  type="xsd:string"    /> 
                  <element name="integerType" type="xsd:int"       /> 
                  <element name="doubleType"  type="xsd:double"    /> 
                  <element name="booleanType" type="xsd:boolean"   /> 
                  <element name="dataTimeType" type="xsd:dateTime" />  
               </sequence>
            </complexType-->
        
            
            <complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
                  </element>  
               </sequence>
            </complexType>
           
           <complexType name="resultItem">
                        <sequence>
                  	       <element name="stringType"  type="xsd:string"    /> 
                  	       <element name="integerType" type="xsd:int"       /> 
                  	       <element name="doubleType"  type="xsd:double"    /> 
                  	       <element name="booleanType" type="xsd:boolean"   /> 
                  	       <element name="dataTimeType" type="xsd:dateTime" />
                  	    </sequence>
           </complexType>
           
        
        
         
           <complexType name="ComplexTypeRequestFault">
               <annotation>
                 <documentation>
                    fault element
                 </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    /> 
                  <element name="errorDescription"  type="xsd:string" /> 
               </sequence>
            </complexType>
            
          
            <complexType name="ComplexTypeRequestFault2">
               <annotation>
                  <documentation>
                    fault element
                  </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
               </sequence>
            </complexType>
            
             <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
                <annotation>
                   <documentation>
                      Container for the categorical subject and natural language subject classifications.
                   </documentation> 
                </annotation>
             </element>
              
             <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
             <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
             <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
      </schema>
   </wsdl:types>


 <wsdl:message name="BasicComplexTypeRequest">
    <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
 </wsdl:message>

 <wsdl:message name="BasicComplexTypeResponse">
    <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
 </wsdl:message>
 
 <wsdl:message name="ComplexTypeRequestFaultMessage">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
 </wsdl:message>
 
  <wsdl:message name="ComplexTypeRequestFaultMessage2">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
 </wsdl:message>
 
 
 
 <wsdl:portType name="BasicComplexPort">
     <wsdl:documentation>
       SERVICE "METHODS"  -  The actual set of operations the 
       service is capable of supporting.  For each we can have a 
       message that goes in and a message that comes out (though
       not always both; see for instance the background search 
       submission / notification operations).
       The "portType" section combines messages into operations.
	   This will be like the "methods". Our operations are all
	   query-response, so each operation has an input message
	   and an output message. 
      </wsdl:documentation>
 
    <wsdl:operation name="getBasicComplexType">
       <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
       <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
       <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
    </wsdl:operation>
    
    
 </wsdl:portType>
 
 <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
 
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
    <wsdl:operation name="getBasicComplexType">
       <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
       
        <wsdl:input name="BasicComplexTypeRequest">
           <wsdlsoap:body use="literal" /> 
        </wsdl:input>
       
        <wsdl:output name="BasicComplexTypeResponse">
          <wsdlsoap:body use="literal" /> 
        </wsdl:output>
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage2">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
  
     </wsdl:operation>
     
    
     
 </wsdl:binding>
 
 <wsdl:service name="BasicComplexTypeExampleService">
    <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
       <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
    </wsdl:port>
 </wsdl:service>
 </wsdl:definitions>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Opensaml2 compatibility

Posted by "Wang, Shengke" <Sh...@trizetto.com>.
We have an application written using WSS4J. Recently we had to convert
our old opensaml1 code to opensaml2 code in other parts of the
application, thus introducing the opensaml2 jar. This, however, has
caused failures in the parts of the application that use wss4j. Does
anyone know the best approach to solve this problem since support for
wss4j is not coming soon? Thanks. BTW, one of the exceptions is as
follows:
***************************************************************
ERROR crypto.CryptoFactory - Unable to instantiate (1):
org.apache.ws.security.components.crypto.Merlin
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
	at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoF
actory.java:117)
	at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Crypt
oFactory.java:101)
	at
org.apache.ws.security.saml.SAMLIssuerImpl.<init>(SAMLIssuerImpl.java:89
)
	......
****************************************************************
Any help is greatly appreciated.

Shengke Wang @
Trizetto

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603668#action_12603668 ] 

Fred Dushin commented on WSS-120:
---------------------------------

I don't think so -- I just moved the "Fix For" version to 1.5.5, on the expectation that it would get scheduled for a fix.

> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651611#action_12651611 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Thank you for the feedback.
It is highly apreciated.

Rgds,




-- 
José Ferreiro
MSc in Communication Systems, EPFL.

"Think little goals and expect little achievements. Think big goals and win
big success."  David Joseph Schwartz


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658851#action_12658851 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Hello,

I strong believe it is a bug with WSS4J...
José Ferreiro

On Tue, Dec 23, 2008 at 3:39 PM, Colm O hEigeartaigh (JIRA) <jira@apache.org



-- 
José Ferreiro
Systems Analysis and Design Specialist
MSc in Communication Systems, EPFL.

"Think little goals and expect little achievements. Think big goals and win
big success."  David Joseph Schwartz


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Updated: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

José Ferreiro updated WSS-120:
------------------------------

    Description: 
Hello,

I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
I try to send an object and I receive the same object into an array serveral times.
This is working fine with Axis 1.4. The wsdl file follows below.
When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
When I try to send the the response as an array I got the following error.

I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html

I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.

May you please help me?
I may collaborate in sending you the files or whatever information is necessary!
Thank you in advance.


ERROR.

Error I get at the client (whenever I receive an array of object)
- Verification successful for URI "#id-9135999"
- Verification successful for URI "#SigConf-7859095"
- Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
; nested exception is: 
	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.


WSDL file:



<?xml version="1.0" encoding="utf-8"?>
<!--

  
    Version: 1.0
    Author: Jose Ferreiro
    Last Updated: 01/02/2007
  -->
<wsdl:definitions name="TIR secure Web Services"
   targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
   xmlns:apachesoap="http://xml.apache.org/xml-soap" 
   xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
   xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   
  
   <wsdl:types>
      <schema 
         elementFormDefault="qualified" 
         targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
         xmlns="http://www.w3.org/2001/XMLSchema">
            
           

            <complexType name="ComplexTypeRequest">
            <annotation>
               <documentation>
                    operation request element 
               </documentation>
            </annotation>            
               <sequence>
                  <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
               </sequence>
            </complexType>
 

            
            <!--complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="stringType"  type="xsd:string"    /> 
                  <element name="integerType" type="xsd:int"       /> 
                  <element name="doubleType"  type="xsd:double"    /> 
                  <element name="booleanType" type="xsd:boolean"   /> 
                  <element name="dataTimeType" type="xsd:dateTime" />  
               </sequence>
            </complexType-->
        
            
            <complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
                  </element>  
               </sequence>
            </complexType>
           
           <complexType name="resultItem">
                        <sequence>
                  	       <element name="stringType"  type="xsd:string"    /> 
                  	       <element name="integerType" type="xsd:int"       /> 
                  	       <element name="doubleType"  type="xsd:double"    /> 
                  	       <element name="booleanType" type="xsd:boolean"   /> 
                  	       <element name="dataTimeType" type="xsd:dateTime" />
                  	    </sequence>
           </complexType>
           
        
        
         
           <complexType name="ComplexTypeRequestFault">
               <annotation>
                 <documentation>
                    fault element
                 </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    /> 
                  <element name="errorDescription"  type="xsd:string" /> 
               </sequence>
            </complexType>
            
          
            <complexType name="ComplexTypeRequestFault2">
               <annotation>
                  <documentation>
                    fault element
                  </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
               </sequence>
            </complexType>
            
             <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
                <annotation>
                   <documentation>
                      Container for the categorical subject and natural language subject classifications.
                   </documentation> 
                </annotation>
             </element>
              
             <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
             <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
             <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
      </schema>
   </wsdl:types>


 <wsdl:message name="BasicComplexTypeRequest">
    <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
 </wsdl:message>

 <wsdl:message name="BasicComplexTypeResponse">
    <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
 </wsdl:message>
 
 <wsdl:message name="ComplexTypeRequestFaultMessage">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
 </wsdl:message>
 
  <wsdl:message name="ComplexTypeRequestFaultMessage2">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
 </wsdl:message>
 
 
 
 <wsdl:portType name="BasicComplexPort">
     <wsdl:documentation>
       SERVICE "METHODS"  -  The actual set of operations the 
       service is capable of supporting.  For each we can have a 
       message that goes in and a message that comes out (though
       not always both; see for instance the background search 
       submission / notification operations).
       The "portType" section combines messages into operations.
	   This will be like the "methods". Our operations are all
	   query-response, so each operation has an input message
	   and an output message. 
      </wsdl:documentation>
 
    <wsdl:operation name="getBasicComplexType">
       <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
       <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
       <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
    </wsdl:operation>
    
    
 </wsdl:portType>
 
 <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
 
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
    <wsdl:operation name="getBasicComplexType">
       <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
       
        <wsdl:input name="BasicComplexTypeRequest">
           <wsdlsoap:body use="literal" /> 
        </wsdl:input>
       
        <wsdl:output name="BasicComplexTypeResponse">
          <wsdlsoap:body use="literal" /> 
        </wsdl:output>
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage2">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
  
     </wsdl:operation>
     
    
     
 </wsdl:binding>
 
 <wsdl:service name="BasicComplexTypeExampleService">
    <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
       <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
    </wsdl:port>
 </wsdl:service>
 </wsdl:definitions>


Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)

IN (request)

POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.4
Host: 127.0.0.1:1234
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
Content-Length: 615


<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
            <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
            <integerType>1975</integerType>
            <doubleType>1975.1975</doubleType>
            <booleanType>true</booleanType>
            <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
         </ComplexTypeRequest>
      </soapenv:Body>
   </soapenv:Envelope>

OUT (RESPONSE)

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Date: Thu, 29 May 2008 17:13:13 GMT
Server: Apache Coyote/1.0
Connection: close

<?xml version="1.0" encoding="utf-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
            <resultItem>
               <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
               <integerType>1975</integerType>
               <doubleType>1975.1975</doubleType>
               <booleanType>true</booleanType>
               <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
            </resultItem>
            <resultItem>
               <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
               <integerType>1975</integerType>
               <doubleType>1975.1975</doubleType>
               <booleanType>true</booleanType>
               <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
            </resultItem>
         </ComplexTypeResponse>
      </soapenv:Body>
   </soapenv:Envelope>


IN Encrypted (Signature Encrypt Timestamp )

POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.4
Host: 127.0.0.1:1234
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
Content-Length: 6039

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Header>
         <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
            <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
               <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
               <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
            </wsu:Timestamp>
            <xenc:EncryptedKey Id="EncKeyId-24054760">
               <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
               <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                  <wsse:SecurityTokenReference>
                     <ds:X509Data>
                        <ds:X509IssuerSerial>
                           <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
                           <ds:X509SerialNumber>3</ds:X509SerialNumber>
                        </ds:X509IssuerSerial>
                     </ds:X509Data>
                  </wsse:SecurityTokenReference>
               </ds:KeyInfo>
               <xenc:CipherData>
                  <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
               </xenc:CipherData>
               <xenc:ReferenceList>
                  <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
               </xenc:ReferenceList>
            </xenc:EncryptedKey>
            <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
            <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
               <ds:SignedInfo>
                  <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
                  <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
                  <ds:Reference URI="#id-27667505">
                     <ds:Transforms>
                        <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
                     </ds:Transforms>
                     <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
                     <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
                  </ds:Reference>
               </ds:SignedInfo>
               <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
               <ds:KeyInfo Id="KeyId-6603598">
                  <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
                     <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
                  </wsse:SecurityTokenReference>
               </ds:KeyInfo>
            </ds:Signature>
         </wsse:Security>
      </soapenv:Header>
      <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
         <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
            <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
            <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
               <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                  <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
               </wsse:SecurityTokenReference>
            </ds:KeyInfo>
            <xenc:CipherData>
               <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
            </xenc:CipherData>
         </xenc:EncryptedData>
      </soapenv:Body>
   </soapenv:Envelope>

OUT (RESPONSE) problem in with this packet at the client side!!!! 

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Date: Thu, 29 May 2008 17:15:57 GMT
Server: Apache Coyote/1.0
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Header>
         <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
            <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
               <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
               <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
            </wsu:Timestamp>
            <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
            <xenc:EncryptedKey Id="EncKeyId-16949413">
               <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
               <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                  <wsse:SecurityTokenReference>
                     <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
                  </wsse:SecurityTokenReference>
               </ds:KeyInfo>
               <xenc:CipherData>
                  <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
               </xenc:CipherData>
               <xenc:ReferenceList>
                  <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
               </xenc:ReferenceList>
            </xenc:EncryptedKey>
            <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
            <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
               <ds:SignedInfo>
                  <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
                  <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
                  <ds:Reference URI="#id-9135999">
                     <ds:Transforms>
                        <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
                     </ds:Transforms>
                     <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
                     <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
                  </ds:Reference>
                  <ds:Reference URI="#SigConf-7859095">
                     <ds:Transforms>
                        <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
                     </ds:Transforms>
                     <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
                     <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
                  </ds:Reference>
               </ds:SignedInfo>
               <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
               <ds:KeyInfo Id="KeyId-30949593">
                  <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
                     <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
                  </wsse:SecurityTokenReference>
               </ds:KeyInfo>
            </ds:Signature>
            <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
         </wsse:Security>
      </soapenv:Header>
      <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
         <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
            <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
            <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
               <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                  <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
               </wsse:SecurityTokenReference>
            </ds:KeyInfo>
            <xenc:CipherData>
               <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
            </xenc:CipherData>
         </xenc:EncryptedData>
      </soapenv:Body>
   </soapenv:Envelope>

  was:
Hello,

I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
I try to send an object and I receive the same object into an array serveral times.
This is working fine with Axis 1.4. The wsdl file follows below.
When I apply the handlers from WSS4J. then the problem arises.
I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
When I try to send the the response as an array I got the following error.

I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html

I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.

May you please help me?
I may collaborate in sending you the files or whatever information is necessary!
Thank you in advance.


ERROR.

Error I get at the client (whenever I receive an array of object)
- Verification successful for URI "#id-9135999"
- Verification successful for URI "#SigConf-7859095"
- Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
; nested exception is: 
	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.


WSDL file:



<?xml version="1.0" encoding="utf-8"?>
<!--

  
    Version: 1.0
    Author: Jose Ferreiro
    Last Updated: 01/02/2007
  -->
<wsdl:definitions name="TIR secure Web Services"
   targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
   xmlns:apachesoap="http://xml.apache.org/xml-soap" 
   xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
   xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   
  
   <wsdl:types>
      <schema 
         elementFormDefault="qualified" 
         targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
         xmlns="http://www.w3.org/2001/XMLSchema">
            
           

            <complexType name="ComplexTypeRequest">
            <annotation>
               <documentation>
                    operation request element 
               </documentation>
            </annotation>            
               <sequence>
                  <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
               </sequence>
            </complexType>
 

            
            <!--complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="stringType"  type="xsd:string"    /> 
                  <element name="integerType" type="xsd:int"       /> 
                  <element name="doubleType"  type="xsd:double"    /> 
                  <element name="booleanType" type="xsd:boolean"   /> 
                  <element name="dataTimeType" type="xsd:dateTime" />  
               </sequence>
            </complexType-->
        
            
            <complexType name="ComplexTypeResponse">
               <annotation>
                  <documentation>
                    operation response element
                  </documentation>
                </annotation>
               <sequence>
                  <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
                  </element>  
               </sequence>
            </complexType>
           
           <complexType name="resultItem">
                        <sequence>
                  	       <element name="stringType"  type="xsd:string"    /> 
                  	       <element name="integerType" type="xsd:int"       /> 
                  	       <element name="doubleType"  type="xsd:double"    /> 
                  	       <element name="booleanType" type="xsd:boolean"   /> 
                  	       <element name="dataTimeType" type="xsd:dateTime" />
                  	    </sequence>
           </complexType>
           
        
        
         
           <complexType name="ComplexTypeRequestFault">
               <annotation>
                 <documentation>
                    fault element
                 </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    /> 
                  <element name="errorDescription"  type="xsd:string" /> 
               </sequence>
            </complexType>
            
          
            <complexType name="ComplexTypeRequestFault2">
               <annotation>
                  <documentation>
                    fault element
                  </documentation>
               </annotation>
               <sequence>
                  <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
                  <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
               </sequence>
            </complexType>
            
             <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
                <annotation>
                   <documentation>
                      Container for the categorical subject and natural language subject classifications.
                   </documentation> 
                </annotation>
             </element>
              
             <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
             <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
             <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
      </schema>
   </wsdl:types>


 <wsdl:message name="BasicComplexTypeRequest">
    <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
 </wsdl:message>

 <wsdl:message name="BasicComplexTypeResponse">
    <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
 </wsdl:message>
 
 <wsdl:message name="ComplexTypeRequestFaultMessage">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
 </wsdl:message>
 
  <wsdl:message name="ComplexTypeRequestFaultMessage2">
    <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
    <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
 </wsdl:message>
 
 
 
 <wsdl:portType name="BasicComplexPort">
     <wsdl:documentation>
       SERVICE "METHODS"  -  The actual set of operations the 
       service is capable of supporting.  For each we can have a 
       message that goes in and a message that comes out (though
       not always both; see for instance the background search 
       submission / notification operations).
       The "portType" section combines messages into operations.
	   This will be like the "methods". Our operations are all
	   query-response, so each operation has an input message
	   and an output message. 
      </wsdl:documentation>
 
    <wsdl:operation name="getBasicComplexType">
       <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
       <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
       <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
       <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
    </wsdl:operation>
    
    
 </wsdl:portType>
 
 <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
 
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
    <wsdl:operation name="getBasicComplexType">
       <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
       
        <wsdl:input name="BasicComplexTypeRequest">
           <wsdlsoap:body use="literal" /> 
        </wsdl:input>
       
        <wsdl:output name="BasicComplexTypeResponse">
          <wsdlsoap:body use="literal" /> 
        </wsdl:output>
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
        
        <wsdl:fault name="ComplexTypeRequestFaultMessage2">
           <wsdlsoap:fault use="literal" />
        </wsdl:fault>  
  
     </wsdl:operation>
     
    
     
 </wsdl:binding>
 
 <wsdl:service name="BasicComplexTypeExampleService">
    <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
       <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
    </wsdl:port>
 </wsdl:service>
 </wsdl:definitions>



> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>             Fix For: 1.5.3
>
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658855#action_12658855 ] 

Colm O hEigeartaigh commented on WSS-120:
-----------------------------------------


> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object. 

Can you narrow the scope of the problem down a bit? e.g. does it fail when you only sign the SOAP message body?


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Updated: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Dushin updated WSS-120:
----------------------------

    Fix Version/s:     (was: 1.5.3)

> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658848#action_12658848 ] 

Colm O hEigeartaigh commented on WSS-120:
-----------------------------------------

Is this a bug with WSS4J or with Axis? Can this issue be closed or is it still open?

> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603672#action_12603672 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Many Thanks!


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658872#action_12658872 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Hello,
I will try to reproduce the problem as I am now in a more advanced solution.




On Tue, Dec 23, 2008 at 4:47 PM, Colm O hEigeartaigh (JIRA) <jira@apache.org



> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603632#action_12603632 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Hello Fred,

Does this means the problem is solved ?
Thank you for your answer.

José




-- 
José Ferreiro
EPFL Communication Systems engineer
ing.sys.com.dipl.EPFL

"Think little goals and expect little achievements. Think big goals and win
big success."  David Joseph Schwartz


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682291#action_12682291 ] 

Colm O hEigeartaigh commented on WSS-120:
-----------------------------------------


Any update on this issue?

> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "Sebastian Plaul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651596#action_12651596 ] 

Sebastian Plaul commented on WSS-120:
-------------------------------------

Hello Fred and José,

we also found this issue.

In our corporate group a company is consuming a webservice that is provided via axis 1.4.
The guys programming that stuff just mentioned what José stated above. The communication
works fine when using Axis on client and server side.

Now we got the task to consume the same webservice but since our application is running on
.NET we use another framework for SOAP - the integrated one.

What we tracked down is, that in arrays the response does not match the WSDL.

So as told us by the WSDL we should receive an element "errors" (the array) that contains elements
"item" (the error information). What we get is an element "errors" that contains elements of type "errors".

Due to this behaviour we are not able to consume the webservice. The "easy" way would be to
edit the WSDL in a way so that the result/responses match that WSDL.

So maybe this input is helpful for solving the problem.

Best regards,

Sebastian

> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-120) Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note:

Posted by "José Ferreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682486#action_12682486 ] 

José Ferreiro commented on WSS-120:
-----------------------------------

Hi there,
unfortunately I am quite busy now.
I found a way around to avoid this...

If I have time in the near future I will provide you with a showcase.
José

On Mon, Mar 16, 2009 at 12:52 PM, Colm O hEigeartaigh (JIRA) <



-- 
José Ferreiro
Systems Analysis and Design Specialist
MSc in Communication Systems, EPFL.

"Think little goals and expect little achievements. Think big goals and win
big success."  David Joseph Schwartz


> Arrays of objects from axis 1.4 are not properly deseralized when applying WSS4J on top of Axis 1.4. Note: 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-120
>                 URL: https://issues.apache.org/jira/browse/WSS-120
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: JDK1.6.0_05, eclipse 3.3, axis 1.4, wss4j 1.5.3
>            Reporter: José Ferreiro
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Blocker
>
> Hello,
> I wrote this wsdl which is working fine when using Axis 1.4 for the server and the client.
> I try to send an object and I receive the same object into an array serveral times.
> This is working fine with Axis 1.4. The wsdl file follows below.
> When I apply the handlers from WSS4J. then the problem arises . I perform: Signature Encrypt Timestamp
> I alradey checked it is not a problem of encryption or decripton. the proof is that I may exchange the previous wsdl but only sending an object and receving an object.
> When I try to send the the response as an array I got the following error.
> I need to go to the production phase because I invest a lot of time in trying to interoperate with .net in a secure way. Thing that I succeed. 
> See blog http://magnot.blogspot.com/2008/04/secure-web-services-interoperability.html
> I though I did the more difficult achieving interoperability with the JKS and PKCS12 but now I am not able to receive the response of arrays whenever I use the wss4j.
> May you please help me?
> I may collaborate in sending you the files or whatever information is necessary!
> Thank you in advance.
> ERROR.
> Error I get at the client (whenever I receive an array of object)
> - Verification successful for URI "#id-9135999"
> - Verification successful for URI "#SigConf-7859095"
> - Exception:
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> 	at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2467)
> 	at org.apache.axis.client.Call.invoke(Call.java:2366)
> 	at org.apache.axis.client.Call.invoke(Call.java:1812)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.BasicComplexTypeSOAPSoapBindingStub.getBasicComplexType(BasicComplexTypeSOAPSoapBindingStub.java:201)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.singleArrayExchange(Tester.java:42)
> 	at org.unece.tir.wss.itdbonlineplus.testscomplex.client.Tester.main(Tester.java:13)
> ; nested exception is: 
> 	org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
> WSDL file:
> <?xml version="1.0" encoding="utf-8"?>
> <!--
>   
>     Version: 1.0
>     Author: Jose Ferreiro
>     Last Updated: 01/02/2007
>   -->
> <wsdl:definitions name="TIR secure Web Services"
>    targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
>    xmlns:apachesoap="http://xml.apache.org/xml-soap" 
>    xmlns:impl="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:intf="http://webservices.tir.unece.org/itdbonlineplus" 
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
>    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    
>   
>    <wsdl:types>
>       <schema 
>          elementFormDefault="qualified" 
>          targetNamespace="http://webservices.tir.unece.org/itdbonlineplus" 
>          xmlns="http://www.w3.org/2001/XMLSchema">
>             
>            
>             <complexType name="ComplexTypeRequest">
>             <annotation>
>                <documentation>
>                     operation request element 
>                </documentation>
>             </annotation>            
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="integerType" type="xsd:int"       nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="doubleType"  type="xsd:double"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="booleanType" type="xsd:boolean"   nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="dataTimeType" type="xsd:dateTime" nillable ="false" minOccurs="1" maxOccurs="1"/>  
>                </sequence>
>             </complexType>
>  
>             
>             <!--complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="stringType"  type="xsd:string"    /> 
>                   <element name="integerType" type="xsd:int"       /> 
>                   <element name="doubleType"  type="xsd:double"    /> 
>                   <element name="booleanType" type="xsd:boolean"   /> 
>                   <element name="dataTimeType" type="xsd:dateTime" />  
>                </sequence>
>             </complexType-->
>         
>             
>             <complexType name="ComplexTypeResponse">
>                <annotation>
>                   <documentation>
>                     operation response element
>                   </documentation>
>                 </annotation>
>                <sequence>
>                   <element name="resultItem" minOccurs="1" maxOccurs="unbounded" type="impl:resultItem">
>                   </element>  
>                </sequence>
>             </complexType>
>            
>            <complexType name="resultItem">
>                         <sequence>
>                   	       <element name="stringType"  type="xsd:string"    /> 
>                   	       <element name="integerType" type="xsd:int"       /> 
>                   	       <element name="doubleType"  type="xsd:double"    /> 
>                   	       <element name="booleanType" type="xsd:boolean"   /> 
>                   	       <element name="dataTimeType" type="xsd:dateTime" />
>                   	    </sequence>
>            </complexType>
>            
>         
>         
>          
>            <complexType name="ComplexTypeRequestFault">
>                <annotation>
>                  <documentation>
>                     fault element
>                  </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    /> 
>                   <element name="errorDescription"  type="xsd:string" /> 
>                </sequence>
>             </complexType>
>             
>           
>             <complexType name="ComplexTypeRequestFault2">
>                <annotation>
>                   <documentation>
>                     fault element
>                   </documentation>
>                </annotation>
>                <sequence>
>                   <element name="errorCode"         type="xsd:int"    nillable ="false" minOccurs="1" maxOccurs="1"/> 
>                   <element name="errorDescription"  type="xsd:string" nillable= "false" minOccurs="1" maxOccurs="1"/> 
>                </sequence>
>             </complexType>
>             
>              <element name="ComplexTypeRequest"                  type="impl:ComplexTypeRequest"    >
>                 <annotation>
>                    <documentation>
>                       Container for the categorical subject and natural language subject classifications.
>                    </documentation> 
>                 </annotation>
>              </element>
>               
>              <element name="ComplexTypeResponse"                 type="impl:ComplexTypeResponse"  /> 
>              <element name="ComplexTypeRequestFault"  type="impl:ComplexTypeRequestFault" /> 
>              <element name="ComplexTypeRequestFault2" type="impl:ComplexTypeRequestFault2" /> 
>       </schema>
>    </wsdl:types>
>  <wsdl:message name="BasicComplexTypeRequest">
>     <wsdl:documentation>No arguments; we just want the list</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequest" name="ComplexTypeRequest" /> 
>  </wsdl:message>
>  <wsdl:message name="BasicComplexTypeResponse">
>     <wsdl:part element="impl:ComplexTypeResponse" name="ComplexTypeResponse" /> 
>  </wsdl:message>
>  
>  <wsdl:message name="ComplexTypeRequestFaultMessage">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault" name="ComplexTypeRequestFault" /> 
>  </wsdl:message>
>  
>   <wsdl:message name="ComplexTypeRequestFaultMessage2">
>     <wsdl:documentation>Error message if the request has invalid parameters</wsdl:documentation>
>     <wsdl:part element="impl:ComplexTypeRequestFault2" name="ComplexTypeRequestFault2" /> 
>  </wsdl:message>
>  
>  
>  
>  <wsdl:portType name="BasicComplexPort">
>      <wsdl:documentation>
>        SERVICE "METHODS"  -  The actual set of operations the 
>        service is capable of supporting.  For each we can have a 
>        message that goes in and a message that comes out (though
>        not always both; see for instance the background search 
>        submission / notification operations).
>        The "portType" section combines messages into operations.
> 	   This will be like the "methods". Our operations are all
> 	   query-response, so each operation has an input message
> 	   and an output message. 
>       </wsdl:documentation>
>  
>     <wsdl:operation name="getBasicComplexType">
>        <wsdl:documentation>This wsdl is just an example to show how complex types may be used and nested.</wsdl:documentation> 
>        <wsdl:input  name="BasicComplexTypeRequest"          message="impl:BasicComplexTypeRequest"       /> 
>        <wsdl:output name="BasicComplexTypeResponse"         message="impl:BasicComplexTypeResponse"      /> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage"   message="impl:ComplexTypeRequestFaultMessage"/> 
>        <wsdl:fault  name="ComplexTypeRequestFaultMessage2"  message="impl:ComplexTypeRequestFaultMessage2"/> 
>     </wsdl:operation>
>     
>     
>  </wsdl:portType>
>  
>  <wsdl:binding name="BasicComplexTypeSOAPSoapBinding" type="impl:BasicComplexPort">
>  
>     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
>     <wsdl:operation name="getBasicComplexType">
>        <wsdlsoap:operation soapAction="http://BasicComplexType.wsdl.test/BasicComplexType" /> 
>        
>         <wsdl:input name="BasicComplexTypeRequest">
>            <wsdlsoap:body use="literal" /> 
>         </wsdl:input>
>        
>         <wsdl:output name="BasicComplexTypeResponse">
>           <wsdlsoap:body use="literal" /> 
>         </wsdl:output>
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>         
>         <wsdl:fault name="ComplexTypeRequestFaultMessage2">
>            <wsdlsoap:fault use="literal" />
>         </wsdl:fault>  
>   
>      </wsdl:operation>
>      
>     
>      
>  </wsdl:binding>
>  
>  <wsdl:service name="BasicComplexTypeExampleService">
>     <wsdl:port name="Associations1" binding="impl:BasicComplexTypeSOAPSoapBinding" >
>        <wsdlsoap:address location="http://ece-96242:8080/axis/services/Associations1" /> 
>     </wsdl:port>
>  </wsdl:service>
>  </wsdl:definitions>
> Exchanged messages using Axis 1.4 (able to deserialize properly at the client the out response)
> IN (request)
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 615
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeRequest xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <stringType>Client-29-May-Jos&#xE9; Ferreiro (request from the client's computer to the server)</stringType>
>             <integerType>1975</integerType>
>             <doubleType>1975.1975</doubleType>
>             <booleanType>true</booleanType>
>             <dataTimeType>2008-05-29T17:13:13.437Z</dataTimeType>
>          </ComplexTypeRequest>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE)
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:13:13 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="utf-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Body>
>          <ComplexTypeResponse xmlns="http://webservices.tir.unece.org/itdbonlineplus">
>             <resultItem>
>                <stringType>Vector 1-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>             <resultItem>
>                <stringType>Vector 2-29-May - Jos&#xE9; Ferreiro (response from Server to the client)</stringType>
>                <integerType>1975</integerType>
>                <doubleType>1975.1975</doubleType>
>                <booleanType>true</booleanType>
>                <dataTimeType>2008-05-29T17:13:13.921Z</dataTimeType>
>             </resultItem>
>          </ComplexTypeResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> IN Encrypted (Signature Encrypt Timestamp )
> POST http://ece-96242:8080/axis/services/Associations1 HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.4
> Host: 127.0.0.1:1234
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "http://BasicComplexType.wsdl.test/BasicComplexType"
> Content-Length: 6039
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-3902281">
>                <wsu:Created>2008-05-29T17:15:52.281Z</wsu:Created>
>                <wsu:Expires>2008-05-29T18:15:52.281Z</wsu:Expires>
>             </wsu:Timestamp>
>             <xenc:EncryptedKey Id="EncKeyId-24054760">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <ds:X509Data>
>                         <ds:X509IssuerSerial>
>                            <ds:X509IssuerName>EMAILADDRESS=itdbonlineplus@unece.org,CN=ca,OU=ca,O=ca,L=Geneva,ST=Geneva,C=CH</ds:X509IssuerName>
>                            <ds:X509SerialNumber>3</ds:X509SerialNumber>
>                         </ds:X509IssuerSerial>
>                      </ds:X509Data>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>LLc5swoTXjyKdIfuIARC7WdtfmxCSysUJEENaNneCrDQlVmxl04JcVDWG7j+JqqNGeZE/fzwd9ukCpQUesTpMKr1M2dp4qozQpduZVALxa/Pgw93JBs+E6mQ9pz/rnx9wCqaRfbxw8T4WXrYbsZoQLS2FjvTtgJqSsowlIb9Uj0=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-27667505"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-16471729">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-27667505">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>QDcTTH4WvGhyG5g/FlRfaVkQS0M=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-6603598">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-33414193">
>                      <wsse:Reference URI="#CertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-27667505">
>          <xenc:EncryptedData Id="EncDataId-27667505" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-24054760"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>gtXUqttW8BZb0gjNFhHETJsKKGtpuqVetLBfFaPPnATxiwocB9ulkHSiNbHWtK1WQItkGbD7cTX1z1uHLFLNQzLGOuquuXESjEyq8+oSYBd938YmUyokoxUJ3NZgdWbpGqpBv7M+mI1RnhIYzC5D+4MHGabG68ae7w5HHeE9Lx5y8iCh4BJVc+A9HMqWTmORnOZwo1m2/PXZMmfbZLC/CJovZox5PDWDFSf0W6yuzIamuHOYVVeGAPZNvPkzzjkSDlvpCDoPGegrSHNosuTRbfTLyC9waRIing7cvauTPBTmHbe/lIFdioUK0SMKZXVsDEQJDUQxzXXzE1XZad7OoQC42h7VUdF1xovdlCz/C/xIB0tr28fcibKPw/U3FAZKZKTcIc9azIvmWUSqcLkdeaTXj+PZ1Hm13dX7Xwtp5ERJdW7RHWuy0LifrwU+lXo2NTokBKQhAcHlt6HJp7G/BUyMIb3ySjFcnqkLNkkozzormZKIYHbjz1YkkFvcnKlIoAPJLNbzN+Yn1GXt1mvl3rjMUDUGTGZ0Zq/F67cRrn7iXtoaY6bM0GXV1Oq13UWxoErd78zBMt7pkgBoKjcD4D74v/1zZaKC/aZ8fDz5XI6D0Y3napajnm00tggX2c8bGjrjg41HqwYrSsQmzh9Fmv97jmUmg0JKUAi9cJ9CKJGTaMrNnWD7RRdHrt1ay5YCjNJDmVCJ5KbM6K9RLkpt+3vgUDD9KxjkTbZU7inSaD8MUMt5M9KOWx+biqre2T2eVtsbpZd6nfbQjw7ejAKYoar2T+5oSyLtFqMZVXDXg1gKIUq0XZLoCLrnuf0C6QEw3nDOkKxMYuxeqfjHZ4TFLg8k2VSlaUkJ7KuBgQg++5RKBZpKnPaxD6o01GpIa17bHLKk4YG78zmxM8fCyuPYcKyIKJURD+CSGKpFXqNIByjQe7Xtaxm274eNhmpbkDI3</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>
> OUT (RESPONSE) problem in with this packet at the client side!!!! 
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Date: Thu, 29 May 2008 17:15:57 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>       <soapenv:Header>
>          <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
>             <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-23220779">
>                <wsu:Created>2008-05-29T17:15:57.296Z</wsu:Created>
>                <wsu:Expires>2008-05-29T17:20:57.296Z</wsu:Expires>
>             </wsu:Timestamp>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="EncCertId-5528252">MIIDPjCCAqegAwIBAgIBBDANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU5MDNaFw0yODA0MjAxNDU5MDNaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGY2xpZW50MQ8wDQYDVQQLEwZjbGllbnQxDzANBgNVBAMTBmNsaWVudDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuRqcEmoZtHI5K17RK+DYA3xPIzUngUMCmMnui5Fa53tv9w+wp0H/EKWRs26W2r3sZJdkyLNuS++R87Yrri3eXnz4rDqyKqkBKwnTAyGmvYEcf/ArVAGby95fUflqxyYQFWjAIinRrabGbvYcSbPC+DoBUBjOrGoZwP7SiBiMoTUCAwEAAaOB5jCB4zAdBgNVHQ4EFgQUTKLAk6o9t0veG4D6lpk5sxoMWiIwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBABcPQ9zROxb+tXF5Xunk3gPt6X3492lUU34zJtfUnqQHmUBRAJ85zG2wQ15u7Sv73BmS9+w7QHeUQ649yMdsWHLlpQPHfI7pK2Ki5MqSbREsMOOh3nHxd1AzdO/gn4H6EQJM93V0SEc56mACEEX7ikD/PRCoRDWZaC4VsrGacnUC</wsse:BinarySecurityToken>
>             <xenc:EncryptedKey Id="EncKeyId-16949413">
>                <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"></xenc:EncryptionMethod>
>                <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                   <wsse:SecurityTokenReference>
>                      <wsse:Reference URI="#EncCertId-5528252" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>                <xenc:CipherData>
>                   <xenc:CipherValue>mPP1ofeb25GClWT8afn9k70op3CnXUKKHOcRe/QEELe4NuvQsAxBtbcPZNFrsChRfi8dRKokp/ql+KbLW208R2E7oX22+yHpWzbwf/CVhJF4vWN3k6doU/f8Gs2NjCuth9VQM/gFUuA+4oVYWY3A4huCJny6rhzRejDdMKtVdGE=</xenc:CipherValue>
>                </xenc:CipherData>
>                <xenc:ReferenceList>
>                   <xenc:DataReference URI="#EncDataId-9135999"></xenc:DataReference>
>                </xenc:ReferenceList>
>             </xenc:EncryptedKey>
>             <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-3403220">MIIDPjCCAqegAwIBAgIBAzANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJDSDEPMA0GA1UECBMGR2VuZXZhMQ8wDQYDVQQHEwZHZW5ldmExCzAJBgNVBAoTAmNhMQswCQYDVQQLEwJjYTELMAkGA1UEAxMCY2ExJzAlBgkqhkiG9w0BCQEWGGl0ZGJvbmxpbmVwbHVzQHVuZWNlLm9yZzAeFw0wODA0MjUxNDU4NDJaFw0yODA0MjAxNDU4NDJaMGIxCzAJBgNVBAYTAkNIMQ8wDQYDVQQIEwZHZW5ldmExDzANBgNVBAcTBkdlbmV2YTEPMA0GA1UEChMGc2VydmVyMQ8wDQYDVQQLEwZzZXJ2ZXIxDzANBgNVBAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAihGx4RUeU3+PRqP8jN7SKXKclQ8XJY7FHL8BpD7C1tzW5zYCmT2QQUth7qJXN/9vLpU/AYhwo32vK9h+4vV20HpH6F7WGkU3ANTW0s9Ilp6GbHbdxLkvpZECvEbvDcL+0AnAY7E5RNSVjFVUJgQbidzeRD7BbYE8CK+zOGRJnr8CAwEAAaOB5jCB4zAdBgNVHQ4EFgQUGwfVW9D2mGmG9oulRSqjjmTK5GMwgbMGA1UdIwSBqzCBqIAUu1FuqyKqhCuzYiq1iFPQ9vQS6ZqhgYSkgYEwfzELMAkGA1UEBhMCQ0gxDzANBgNVBAgTBkdlbmV2YTEPMA0GA1UEBxMGR2VuZXZhMQswCQYDVQQKEwJjYTELMAkGA1UECxMCY2ExCzAJBgNVBAMTAmNhMScwJQYJKoZIhvcNAQkBFhhpdGRib25saW5lcGx1c0B1bmVjZS5vcmeCCQC3WMb3kvFjjzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBADt0Ri+tJ8t9DascKYGdjW7LWeU5tdYiSqpcBonZ+wm3wpc9fuggtyAUmY1GhP61LtUkiK85Fnyt7NghItJiKTR9D4DYGEgA+mAg6p3LRU+Sbvqtv2R7d4W8Z1myGoLoumzCiIRduEx4a0qtHYG6XJO21YeRnLICuCvzgT8U85w7</wsse:BinarySecurityToken>
>             <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-9383078">
>                <ds:SignedInfo>
>                   <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod>
>                   <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod>
>                   <ds:Reference URI="#id-9135999">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>Y0Sm8T/zHl/g6gOEAibePh7+djs=</ds:DigestValue>
>                   </ds:Reference>
>                   <ds:Reference URI="#SigConf-7859095">
>                      <ds:Transforms>
>                         <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:Transform>
>                      </ds:Transforms>
>                      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
>                      <ds:DigestValue>CboJgDGEHxRZExUWQVptuNYaQqk=</ds:DigestValue>
>                   </ds:Reference>
>                </ds:SignedInfo>
>                <ds:SignatureValue>LphwR9tqivq9IMG109GGswKMhz1iaeYOwYeN2UGpWqyx6q7YRRrPEj8x+PAbzlNIo22hlUCHg70tEzvhDLU6CQoiBkMLGFCbuwL0uqvVdEb4uLL4p4NA0u/J2bh/u8NnS20B2SsyuFhILNCtukbjbFx+oj+GYLbaUfh4fwSjkQM=</ds:SignatureValue>
>                <ds:KeyInfo Id="KeyId-30949593">
>                   <wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-9012544">
>                      <wsse:Reference URI="#CertId-3403220" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"></wsse:Reference>
>                   </wsse:SecurityTokenReference>
>                </ds:KeyInfo>
>             </ds:Signature>
>             <wsse11:SignatureConfirmation xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" Value="aFr7oWN6FjHratE/pWq83x2JhSmV01JCYrXaAEdwEn3dFIVGYgySoGZIOuMJFZy5R9BIFZcBWb+c4Z3gOAQ8S6wg12uV7TIVFt3suR6F46JZrAbQaADjMa3T0lPyaX5itbZ7as/Du7YN61OeJYt0l+RwZaD343EqDQdW/yHcZKo=" wsu:Id="SigConf-7859095"></wsse11:SignatureConfirmation>
>          </wsse:Security>
>       </soapenv:Header>
>       <soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-9135999">
>          <xenc:EncryptedData Id="EncDataId-9135999" Type="http://www.w3.org/2001/04/xmlenc#Content">
>             <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></xenc:EncryptionMethod>
>             <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
>                <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>                   <wsse:Reference URI="#EncKeyId-16949413"></wsse:Reference>
>                </wsse:SecurityTokenReference>
>             </ds:KeyInfo>
>             <xenc:CipherData>
>                <xenc:CipherValue>dqrhc3U73nvB3s6e5GkVsjjFJ+DSbu8qzS9oBKBOWQ24CM4rKVqbTL3qUGAZ4W/yA9s2bxaOKwU89MHHoDQdF6oZoMPG+op32P2Y0ECpPhJ0OWV34QPV/U/sv0M6SZ+bMpMQI9OXa6iU45vZ2wd2bLOtc6+AssiQnCRhQ/0YuavHXQFawTb9wSGcCrShlu+HZFb5thMkmZE4cYBq+AoEWtPDnoZdL3mq9kjXGiOFg410EkOZqF0GbKE2YP2pxaZmWLxJTV0a2i44lN0Z/BC+IZKnFvDOraJJNnzn2LgN1O49wq1cJe2QPfa3ie84aV+MMyUioX70VVZODY2KSMqlk+j2XOyp/oOZnotQRk0iJ3DqcVZe1ZsUmDyVecRY1w4kBGXAtpn2Ro11FfrNzg/uM6w4OCgH5o8TvMO26mCDqHRYQN6uuCiYeCu8phUvA6HjlslidSdLaMu67O1/ENAvF7RvoVrJH6a7Zc2dYEbszTQP7ZGhY9kDr37AY9wwOlAJ1TiS//PdaY7jGQjpXinAPY6H6tGCcdXxOLjHaQWZteY6mVsKOpPNCdzFy3jEXVzy7+7ztlHyA4Jxa+BPKcxaO6SHMC3lNdVjQlQ5FCAa2cba5PL77EFgtZH907IWp/f1WUqzUCDHst++HXAfdXelzmAgZyesR+lGllGSWVrteA48ewCDpIicqdIniPdVHgLKsBdaXNm4wB0xVOsa/QF9nitSWiDaU7DKj+8s8eEE0RqROqF2dy2D0xq/e2d3kL/P1HzUphQCe0c7BFCiaOP2oxNJGC9wrgE4PKaafUJQTDXJk/uMIffK99BMtWauP4z6nOOyxtR1uXg4ZRyBSSJkgWAUdUoOlyLNjvrKAzOuogvKiaHCQuov1AJAMFjhkoge8xRv3k8QLPp9Fw97hRZR6S74JLT0Ecsb+4VyL3IuFe3SMTvK7SV5O9qxe8J6U+30FoOsYUOw1VbCgUmjSvwxZOQXC+6MFAc5P/Jcqh1a0ohfQU9FG5+xayQIRyNIrl/65pHlbSAWm7hT+hG0Kg62lp1XvGfOBPmwGgTeZQJv
> L4fQ1TQNNiN70W25eXCNEqtsLPiwo34ttZO3ou0ORtx88mQWYH6yO/v6envvwfon6Sx2bazlgV0s
> GTX+erNVFOWxGDH1dmvZ72TjEJrcB+NM+TYi1/1AYw9qqYrt50WMIcOY74awuF9hhdw1oUjJFVZt
> WHTSVVBFqwn/qOnx/U5oJtJ3ooREzROVgKqYxM0LXfcT4Ju4Icq1MvAJxe0e3lT1</xenc:CipherValue>
>             </xenc:CipherData>
>          </xenc:EncryptedData>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org