2 Replies Latest reply on Feb 17, 2006 6:51 PM by Sandeep Maurya

    Securing web service with JbossWS.sar, jboss-4.0.4RC1

    Balaji R Newbie

      Hi,
      I am trying to secure a web service.
      I have jboss-4.0.4RC1.

      I wrote my interface and its implementation, generated the wsdl and other supporting classes from these, included hand coded files(web,webservices,jaxrpc-mapping,web-jboss).

      I beleive to enable security for the web service we add an 'jboss-wsse-server.xml' to the deployment. So i did that too.


      Is this the right way to go about securing a web service or am i missing something?

      When i do this, the service gets deployed but behaves as though no security is configured for it..


      I then put in the jbossws.sar into the deploy folder of the server. (Is this how you are supposed to install JBossWS?) hoping that security would kick in..but it does not seem to be working.

      A glimpse of the message i get when i run the server. This message i get, irrespective of whether i include the security descriptor- jboss-wsse-server.xml.
      *************************************************
      org.jboss.ws.WSException: Cannot obtain endpoint for: TheHopefulWebService.war#MyService/MyServicePort
      at org.jboss.ws.server.ServiceEndpointServlet.init(ServiceEndpointServlet.java:76)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
      *********************************************



      Please correct me if i am on the wrong path. I just wish to secure my web service.

      Thanks!

        • 1. Re: Securing web service with JbossWS.sar, jboss-4.0.4RC1
          Manuel Valladares Newbie

          I think you are missing the schema information in the port part of the webservices.xml file.

          Take a look at:
          http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76499

          It worked for me.
          Manuel

          • 2. Re: Securing web service with JbossWS.sar, jboss-4.0.4RC1
            Sandeep Maurya Newbie

            Hi,

            I'm also facing the same issue. Despite setting up my security deployment descriptor (jboss-wsse-server.xml), I do not see my messages being signed.

            I've followed the steps to manually install JBossWS described at
            http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDeployJBossWS,
            built my HiWS.war with the security descriptor in WEB-INF directory and finally deployed it on jboss-4.0.4RC1.

            Do we need anything other than just jboss-wsse-server.xml to kick in security?

            I'm attaching here the descriptor file and the server log. The inbound message is generated using WSE3.0. Please let me know if I need to attach any more information.

            Regards,
            Sandeep Maurya


            jboss-wsse-server.xml:

            <?xml version="1.0" encoding="UTF-8"?>
            <jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.jboss.com/ws-security/config
             http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
             <key-store-file>WEB-INF/server-keystore.jks</key-store-file>
             <key-store-password>changeit</key-store-password>
             <trust-store-file>WEB-INF/server-truststore.jks</trust-store-file>
             <trust-store-password>changeit</trust-store-password>
             <config>
             <sign type="x509v3" alias="s1as"/>
             <requires>
             <signature/>
             </requires>
             </config>
            </jboss-ws-security>



            Server Log:

            2006-02-18 04:50:57,220 DEBUG [org.jboss.ws.server.ServiceEndpointServlet] doPost: /HiWS/HiWS
            2006-02-18 04:50:57,220 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@134d246
            2006-02-18 04:50:57,220 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: HiWS.war#HiWS/HiWSSEIPort
            2006-02-18 04:50:57,220 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers
            2006-02-18 04:50:57,236 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
            2006-02-18 04:50:57,236 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null]
            2006-02-18 04:50:57,283 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
            2006-02-18 04:50:57,345 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <wsa:Action wsu:Id='Id-fa5bb8fb-c1d8-405e-9367-809e999b9017'/>
            2006-02-18 04:50:57,345 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <wsa:MessageID wsu:Id='Id-e0227549-21b9-4d60-ba1b-d65f71ea4cef'>urn:uuid:1b91b21c-b08b-4e9b-a7c6-572a900d0e1e</wsa:MessageID>
            2006-02-18 04:50:57,345 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <wsa:ReplyTo wsu:Id='Id-0006d02d-6a5a-4ea3-bac1-e9b4fdd86c44'><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
            2006-02-18 04:50:57,345 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <wsa:To wsu:Id='Id-66e84845-30de-4b14-b39d-1aa386b2d62f'>http://ps0820:8080/HiWS/HiWS</wsa:To>
            2006-02-18 04:50:57,361 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <wsse:Security soap:mustUnderstand='1'><wsu:Timestamp wsu:Id='Timestamp-66eeef61-715a-4637-9ab7-e32da81bce5a'><wsu:Created>2006-02-17T23:20:57Z</wsu:Created><wsu:Expires>2006-02-17T23:25:57Z</wsu:Expires></wsu:Timestamp><wsse:BinarySecurityToken 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='SecurityToken-56780f4a-27c4-4514-9b56-aeedfc9071c4' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>MIIBxDCCAW6gAwIBAgIQxUSXFzWJYYtOZnmmuOMKkjANBgkqhkiG9w0BAQQFADAWMRQwEgYDVQQDEwtSb290IEFnZW5jeTAeFw0wMzA3MDgxODQ3NTlaFw0zOTEyMzEyMzU5NTlaMB8xHTAbBgNVBAMTFFdTRTJRdWlja1N0YXJ0Q2xpZW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+L6aB9x928noY4+0QBsXnxkQE4quJl7c3PUPdVu7k9A02hRG481XIfWhrDY5i7OEB7KGW7qFJotLLeMec/UkKUwCgv3VvJrs2nE9xO3SSWIdNzADukYh+Cxt+FUU6tUkDeqg7dqwivOXhuOTRyOI3HqbWTbumaLdc8jufz2LhaQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwDQYJKoZIhvcNAQEEBQADQQAfIbnMPVYkNNfX1tG1F+qfLhHwJdfDUZuPyRPucWF5qkh6sSdWVBY5sT/txBnVJGziyO8DPYdu2fPMER8ajJfl</wsse:BinarySecurityToken><xenc:EncryptedKey Id='SecurityToken-92e286ab-9b92-4495-bacd-e29235b5f0fa' xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'><xenc:EncryptionMethod Algorithm='http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'><ds:DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/></xenc:EncryptionMethod><KeyInfo xmlns='http://www.w3.org/2000/09/xmldsig#'><wsse:SecurityTokenReference><wsse:KeyIdentifier 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#X509SubjectKeyIdentifier'>Jfgil9/fZ8aps6VDst/GQxv8bI4=</wsse:KeyIdentifier></wsse:SecurityTokenReference></KeyInfo><xenc:CipherData><xenc:CipherValue>ix9MYX1FAWWXvy+KfJh8bbAd0oCyMYtfr7mXFEKg3GpEMmh7m8qN1fbsu/3rpwbIwAc6bG013GsekAmAAsqK7Q0WygAjRY0LUj/7fhINGem3LyzXkSOWHjlXMlBKMS5CyUZd7QIMHQsCbD3KgZhPhsrNkFDxmxv2EVzj8PkI7lY=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey><wssc:DerivedKeyToken Algorithm='http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1' wsu:Id='SecurityToken-8d4b2d62-8563-4811-b8e7-44ec14c5f6bf' xmlns:wssc='http://schemas.xmlsoap.org/ws/2005/02/sc'><wsse:SecurityTokenReference><wsse:Reference URI='#SecurityToken-92e286ab-9b92-4495-bacd-e29235b5f0fa' ValueType='http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey'/></wsse:SecurityTokenReference><wssc:Generation>0</wssc:Generation><wssc:Length>24</wssc:Length><wssc:Label>WS-SecureConversationWS-SecureConversation</wssc:Label><wssc:Nonce>+7w2CRbvIJFNhF18r8sXgw==</wssc:Nonce></wssc:DerivedKeyToken><Signature Id='Sig-b5812c34-790e-4aa6-adce-013f49c8d440' xmlns='http://www.w3.org/2000/09/xmldsig#'><SignedInfo><ds:CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/><SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#hmac-sha1'/><Reference URI='#Id-fa5bb8fb-c1d8-405e-9367-809e999b9017'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>rQaMXVx2BiVBRf0oq9Sxxu3slTs=</DigestValue></Reference><Reference URI='#Id-e0227549-21b9-4d60-ba1b-d65f71ea4cef'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>6p2UD7ND0U9iiTcS9BxfHNt+D44=</DigestValue></Reference><Reference URI='#Id-0006d02d-6a5a-4ea3-bac1-e9b4fdd86c44'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>MpSaOzFF6nHm3r+PSw2BTlHb1uI=</DigestValue></Reference><Reference URI='#Id-66e84845-30de-4b14-b39d-1aa386b2d62f'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>Iu5iYIgn0Jd9MHUdwKZNyQlPMt8=</DigestValue></Reference><Reference URI='#Timestamp-66eeef61-715a-4637-9ab7-e32da81bce5a'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>S02N7nPi+YAsQkuCjhNAg6eFfI4=</DigestValue></Reference><Reference URI='#Id-c0215e35-0008-4228-8348-11a072c20919'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>isXyrqYJpTrjEtZAUmldCxgvlIs=</DigestValue></Reference></SignedInfo><SignatureValue>K8YN/FvrnyBnYxKwBeMB7i99T7c=</SignatureValue><KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI='#SecurityToken-8d4b2d62-8563-4811-b8e7-44ec14c5f6bf' ValueType='http://schemas.xmlsoap.org/ws/2005/02/sc/dk'/></wsse:SecurityTokenReference></KeyInfo></Signature><Signature xmlns='http://www.w3.org/2000/09/xmldsig#'><SignedInfo><ds:CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/><SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha1'/><Reference URI='#Sig-b5812c34-790e-4aa6-adce-013f49c8d440'><Transforms><Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/></Transforms><DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/><DigestValue>sz+g1+taYae52dqVeX8MwIJKIJc=</DigestValue></Reference></SignedInfo><SignatureValue>cHejqR0oxjyb0TIN2PtjkQDgmnyE6GeaLDfA2SuV8ETPjXEGzDuYxeDuEH6zntxBnW75L/dyWO6ka+2Y1d3HakHDI6HYaHur/Zd4P3DnZpfmUJOc+dL8Yxv1aB1cjDMO8N6OW6QTJjVqXYyo9KXLQXjqGxBSS4nkKyVaWjwbz+M=</SignatureValue><KeyInfo><wsse:SecurityTokenReference><wsse:Reference URI='#SecurityToken-56780f4a-27c4-4514-9b56-aeedfc9071c4' ValueType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3'/></wsse:SecurityTokenReference></KeyInfo></Signature></wsse:Security>
            2006-02-18 04:50:57,361 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <String_1 xmlns=''>maurya</String_1>
            2006-02-18 04:50:57,392 DEBUG [org.jboss.ws.server.ServiceEndpoint] Incomming SOAPMessage
            <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
             <soap:Header>
             <wsa:Action wsu:Id='Id-fa5bb8fb-c1d8-405e-9367-809e999b9017'/>
             <wsa:MessageID wsu:Id='Id-e0227549-21b9-4d60-ba1b-d65f71ea4cef'>urn:uuid:1b91b21c-b08b-4e9b-a7c6-572a900d0e1e</wsa:MessageID>
             <wsa:ReplyTo wsu:Id='Id-0006d02d-6a5a-4ea3-bac1-e9b4fdd86c44'>
             <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
             </wsa:ReplyTo>
             <wsa:To wsu:Id='Id-66e84845-30de-4b14-b39d-1aa386b2d62f'>http://ps0820:8080/HiWS/HiWS</wsa:To>
             <wsse:Security soap:mustUnderstand='1'>
             <wsu:Timestamp wsu:Id='Timestamp-66eeef61-715a-4637-9ab7-e32da81bce5a'>
             <wsu:Created xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>2006-02-17T23:20:57Z</wsu:Created>
             <wsu:Expires xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>2006-02-17T23:25:57Z</wsu:Expires>
             </wsu:Timestamp>
             <wsse:BinarySecurityToken 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='SecurityToken-56780f4a-27c4-4514-9b56-aeedfc9071c4' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>MIIBxDCCAW6gAwIBAgIQxUSXFzWJYYtOZnmmuOMKkjANBgkqhkiG9w0BAQQFADAWMRQwEgYDVQQDEwtSb290IEFnZW5jeTAeFw0wMzA3MDgxODQ3NTlaFw0zOTEyMzEyMzU5NTlaMB8xHTAbBgNVBAMTFFdTRTJRdWlja1N0YXJ0Q2xpZW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+L6aB9x928noY4+0QBsXnxkQE4quJl7c3PUPdVu7k9A02hRG481XIfWhrDY5i7OEB7KGW7qFJotLLeMec/UkKUwCgv3VvJrs2nE9xO3SSWIdNzADukYh+Cxt+FUU6tUkDeqg7dqwivOXhuOTRyOI3HqbWTbumaLdc8jufz2LhaQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwDQYJKoZIhvcNAQEEBQADQQAfIbnMPVYkNNfX1tG1F+qfLhHwJdfDUZuPyRPucWF5qkh6sSdWVBY5sT/txBnVJGziyO8DPYdu2fPMER8ajJfl</wsse:BinarySecurityToken>
             <xenc:EncryptedKey Id='SecurityToken-92e286ab-9b92-4495-bacd-e29235b5f0fa' xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'>
             <xenc:EncryptionMethod Algorithm='http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'>
             <ds:DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/>
             </xenc:EncryptionMethod>
             <KeyInfo xmlns='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:KeyIdentifier 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#X509SubjectKeyIdentifier' xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'>Jfgil9/fZ8aps6VDst/GQxv8bI4=</wsse:KeyIdentifier>
             </wsse:SecurityTokenReference>
             </KeyInfo>
             <xenc:CipherData>
             <xenc:CipherValue xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'>ix9MYX1FAWWXvy+KfJh8bbAd0oCyMYtfr7mXFEKg3GpEMmh7m8qN1fbsu/3rpwbIwAc6bG013GsekAmAAsqK7Q0WygAjRY0LUj/7fhINGem3LyzXkSOWHjlXMlBKMS5CyUZd7QIMHQsCbD3KgZhPhsrNkFDxmxv2EVzj8PkI7lY=</xenc:CipherValue>
             </xenc:CipherData>
             </xenc:EncryptedKey>
             <wssc:DerivedKeyToken Algorithm='http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1' wsu:Id='SecurityToken-8d4b2d62-8563-4811-b8e7-44ec14c5f6bf' xmlns:wssc='http://schemas.xmlsoap.org/ws/2005/02/sc'>
             <wsse:SecurityTokenReference xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'>
             <wsse:Reference URI='#SecurityToken-92e286ab-9b92-4495-bacd-e29235b5f0fa' ValueType='http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#EncryptedKey' xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'/>
             </wsse:SecurityTokenReference>
             <wssc:Generation>0</wssc:Generation>
             <wssc:Length>24</wssc:Length>
             <wssc:Label>WS-SecureConversationWS-SecureConversation</wssc:Label>
             <wssc:Nonce>+7w2CRbvIJFNhF18r8sXgw==</wssc:Nonce>
             </wssc:DerivedKeyToken>
             <Signature Id='Sig-b5812c34-790e-4aa6-adce-013f49c8d440' xmlns='http://www.w3.org/2000/09/xmldsig#'>
             <SignedInfo>
             <ds:CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/>
             <SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#hmac-sha1'/>
             <Reference URI='#Id-fa5bb8fb-c1d8-405e-9367-809e999b9017'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>rQaMXVx2BiVBRf0oq9Sxxu3slTs=</DigestValue>
             </Reference>
             <Reference URI='#Id-e0227549-21b9-4d60-ba1b-d65f71ea4cef'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>6p2UD7ND0U9iiTcS9BxfHNt+D44=</DigestValue>
             </Reference>
             <Reference URI='#Id-0006d02d-6a5a-4ea3-bac1-e9b4fdd86c44'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>MpSaOzFF6nHm3r+PSw2BTlHb1uI=</DigestValue>
             </Reference>
             <Reference URI='#Id-66e84845-30de-4b14-b39d-1aa386b2d62f'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>Iu5iYIgn0Jd9MHUdwKZNyQlPMt8=</DigestValue>
             </Reference>
             <Reference URI='#Timestamp-66eeef61-715a-4637-9ab7-e32da81bce5a'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>S02N7nPi+YAsQkuCjhNAg6eFfI4=</DigestValue>
             </Reference>
             <Reference URI='#Id-c0215e35-0008-4228-8348-11a072c20919'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>isXyrqYJpTrjEtZAUmldCxgvlIs=</DigestValue>
             </Reference>
             </SignedInfo>
             <SignatureValue>K8YN/FvrnyBnYxKwBeMB7i99T7c=</SignatureValue>
             <KeyInfo>
             <wsse:SecurityTokenReference xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'>
             <wsse:Reference URI='#SecurityToken-8d4b2d62-8563-4811-b8e7-44ec14c5f6bf' ValueType='http://schemas.xmlsoap.org/ws/2005/02/sc/dk' xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'/>
             </wsse:SecurityTokenReference>
             </KeyInfo>
             </Signature>
             <Signature xmlns='http://www.w3.org/2000/09/xmldsig#'>
             <SignedInfo>
             <ds:CanonicalizationMethod Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#' xmlns:ds='http://www.w3.org/2000/09/xmldsig#'/>
             <SignatureMethod Algorithm='http://www.w3.org/2000/09/xmldsig#rsa-sha1'/>
             <Reference URI='#Sig-b5812c34-790e-4aa6-adce-013f49c8d440'>
             <Transforms>
             <Transform Algorithm='http://www.w3.org/2001/10/xml-exc-c14n#'/>
             </Transforms>
             <DigestMethod Algorithm='http://www.w3.org/2000/09/xmldsig#sha1'/>
             <DigestValue>sz+g1+taYae52dqVeX8MwIJKIJc=</DigestValue>
             </Reference>
             </SignedInfo>
             <SignatureValue>cHejqR0oxjyb0TIN2PtjkQDgmnyE6GeaLDfA2SuV8ETPjXEGzDuYxeDuEH6zntxBnW75L/dyWO6ka+2Y1d3HakHDI6HYaHur/Zd4P3DnZpfmUJOc+dL8Yxv1aB1cjDMO8N6OW6QTJjVqXYyo9KXLQXjqGxBSS4nkKyVaWjwbz+M=</SignatureValue>
             <KeyInfo>
             <wsse:SecurityTokenReference xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'>
             <wsse:Reference URI='#SecurityToken-56780f4a-27c4-4514-9b56-aeedfc9071c4' ValueType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3' xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'/>
             </wsse:SecurityTokenReference>
             </KeyInfo>
             </Signature>
             </wsse:Security>
             </soap:Header>
             <soap:Body wsu:Id='Id-c0215e35-0008-4228-8348-11a072c20919'>
             <SayHi xmlns='urn:HiWS/wsdl'>
             <String_1 xmlns=''>maurya</String_1>
             </SayHi>
             </soap:Body>
            </soap:Envelope>
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(com.microsoft.samples.HiWSImpl, false)
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] Searching local repositories
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClass(com.microsoft.samples.HiWSImpl)
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(com.microsoft.samples.HiWSSEI, false)
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] Searching local repositories
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] findClass(com.microsoft.samples.HiWSSEI)
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.rmi.Remote, false)
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from local repository
            2006-02-18 04:50:57,392 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from local repository
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {urn:HiWS/wsdl}SayHi
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {urn:HiWS/wsdl}SayHi
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name=String_1,value=org.jboss.ws.soap.SOAPContentElement]
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(com.microsoft.samples.HiWSSEI, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.rmi.RemoteException, false)
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found java method: public abstract java.lang.String com.microsoft.samples.HiWSSEI.SayHi(java.lang.String) throws java.rmi.RemoteException
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.metadata.OperationMetaData] Compare method params by type name: true
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.metadata.OperationMetaData] Matched parameter: java.lang.String == java.lang.String
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found best matching java method: public abstract java.lang.String com.microsoft.samples.HiWSSEI.SayHi(java.lang.String) throws java.rmi.RemoteException
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerJSE] invokeServiceEndpoint: SayHi
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestPayload
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestParamValue: String_1
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,408 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.soap.SOAPContentElement] getXMLFragment from DOM
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: <String_1 xmlns=''>maurya</String_1>
            2006-02-18 04:50:57,408 DEBUG [org.jboss.ws.jaxrpc.encoding.SimpleDeserializer] deserialize: [xmlName=String_1,xmlType={http://www.w3.org/2001/XMLSchema}string]
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.soap.SOAPContentElement] objectValue: java.lang.String
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: org.jboss.ws.soap.SOAPContentElement -> java.lang.String
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] syncEndpointInputParam: java.lang.String -> java.lang.String
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.StringBuffer, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.System, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.io.PrintStream, false)
            2006-02-18 04:50:57,423 INFO [STDOUT] hi maurya
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: java.lang.String
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] bindResponseMessage: {urn:HiWS/wsdl}SayHi
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] getReturnValue
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: java.lang.String -> java.lang.String
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.soap.SOAPContentElement] setObjectValue: hi maurya
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: org.jboss.ws.soap.SOAPContentElement
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(java.lang.String, false)
            2006-02-18 04:50:57,423 DEBUG [org.apache.catalina.loader.WebappClassLoader] Returning class from cache
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.soap.SOAPContentElement] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.jaxrpc.encoding.SimpleSerializer] serialize: [xmlName=result,xmlType={http://www.w3.org/2001/XMLSchema}string]
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: <result>hi maurya</result>
            2006-02-18 04:50:57,423 DEBUG [org.jboss.ws.server.ServiceEndpoint] Outgoing SOAPMessage
            <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
             <env:Header/>
             <env:Body>
             <ns1:SayHiResponse xmlns:ns1='urn:HiWS/wsdl'>
             <result>hi maurya</result>
             </ns1:SayHiResponse>
             </env:Body>
            </env:Envelope>