Hi All
         Iam new to webservice, iam using axis, wss4j and Tomcat server to 
accces the Dot Net Webservice.
             the service deployed in Dot Net Side with WSE 2.0, The service 
need soap body signing and username token
             signing(  please refer to following attachment 
SWS_WEB_SR_INVOKE_Request.xml  file and also wsdl  ). How can i     signing the 
soap messsage  in axis.  Please help me to solve this problem, Here they not 
using the x.509 signing.

Advance Thanks.....


regards
Babu J
[EMAIL PROTECTED]
919841151444 <<SWS_SWSGP_WS.wsdl>>  <<SWS_WEB_SR_INVOKE_Request.xml>>  
<<SWS_WEB_SR_INVOKE_Response.xml>>

   


DISCLAIMER:

Information transmitted by this e-mail may be proprietary to Ramco Systems 
Ltd., and / or the authors of the information and is intended for use only by 
the individual or entity to which it is addressed, and may contain confidential 
or legally privileged information. If you are not the intended recipient or it 
appears that this mail has been forwarded to you without proper authority, you 
are not authorised to access, read, disclose, copy, use or otherwise deal with 
it and any such actions are prohibited and may be unlawful.

Internet communications cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, arrive late or contain 
viruses. Ramco Systems Limited therefore does not accept liability for any 
errors, omissions, viruses or computer problems experienced as a result of this 
transmission.

If you have received this e-mail in error, please notify us immediately at mail 
to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby 
given that no representation, contract or other binding obligation shall be 
created by this e-mail.

Attachment: SWS_SWSGP_WS.wsdl
Description: SWS_SWSGP_WS.wsdl

  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/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";>
    <soap:Header>
      <wsa:Action>SWS_WEB_SR_INVOKE</wsa:Action>
      <wsa:MessageID>uuid:19aa9796-bbd2-4c04-b8a8-8b80aff39d45</wsa:MessageID>
      <wsa:ReplyTo>
        <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
      </wsa:ReplyTo>
      <wsa:To>http://s5404/vwwebsrv/SWS_SWSGP_WS.asmx</wsa:To>
      <wsse:Security soap:mustUnderstand="1">
        <wsu:Timestamp wsu:Id="Timestamp-b06383f5-6c94-4fb7-84fc-139be5cad963">
          <wsu:Created>2006-04-20T05:56:26Z</wsu:Created>
          <wsu:Expires>2006-04-20T06:01:26Z</wsu:Expires>
        </wsu:Timestamp>
        <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee">
          <wsse:Username>Adminuser</wsse:Username>
          <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>FRsCYNuaEn1CKxTcf53AzaxuMFc=</wsse:Password>
          <wsse:Nonce>uNMhCvK7IESUXBKr0a+dog==</wsse:Nonce>
          <wsu:Created>2006-04-20T05:56:26Z</wsu:Created>
        </wsse:UsernameToken>
        <xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
          <xenc:DataReference URI="#EncryptedContent-67f088b1-d575-437d-b9d1-cf3e06460688" />
        </xenc:ReferenceList>
        <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#hmac-sha1"; />
            <Reference URI="#Id-6b429841-ffc7-466c-ba59-114dec6d3479">
              <Transforms>
                <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"; />
              </Transforms>
              <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"; />
              <DigestValue>mtbJHdZSR2BjXVyyBQvQ3qIz0No=</DigestValue>
            </Reference>
          </SignedInfo>
          <SignatureValue>XCxGMu5aBbLf1cJWIEe0rMsi8Uo=</SignatureValue>
          <KeyInfo>
            <wsse:SecurityTokenReference>
              <wsse:Reference URI="#SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"; />
            </wsse:SecurityTokenReference>
          </KeyInfo>
        </Signature>
      </wsse:Security>
    </soap:Header>
    <soap:Body wsu:Id="Id-6b429841-ffc7-466c-ba59-114dec6d3479">
      <xenc:EncryptedData Id="EncryptedContent-67f088b1-d575-437d-b9d1-cf3e06460688" Type="http://www.w3.org/2001/04/xmlenc#Content"; xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
        <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"; />
        <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#";>
          <wsse:SecurityTokenReference>
            <wsse:Reference URI="#SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"; />
          </wsse:SecurityTokenReference>
        </KeyInfo>
        <xenc:CipherData>
          <xenc:CipherValue>5ZdYnbjxfYTJ+Vj/S+GLSrD1qYTFzsd/0ebdWnPNgmZrCTHomJpE0nIvkfIdKzbqMq61DZY+a9tgtonOxmcLfSWF4Wu3+V9+C8maGAJenscGD+XDpfA5QVPplmcnSgbmcqmYEVr7YLvz7a2wY+y9dAPIBcuGMO2nxZPdWDhC+6tCNqPVuT/TQ5dQXZShLPQhBHuksrwYBD9/uGoe30Ny7wNAhu8Bpq3QEUSqs6SwgoeSUYWJrimIOywXBK9oAcnjunsNhwVHvzZP1F5wRKb+zby2sSgJNJu2DCh2eWqNryHpi+4vHF4cWrrWZgY//ZhGE5O4T2pdKtUb/fwrD9qN4e+LH4jv6os+Tw8FWiMKUkQqhhTDVLAEJYsWVk/BTXVHVVZGiXPX/FY0iU08Zu7uSrc9KGqXWZmWgPhMga5Ziz1VRP5uyzTt1zZkuZs5HC151r/gAj0906ogosquwW6K7+A+UjenVmo6Bx//Y8PV2gf/EuysxUNUra8H5qUrF7g5LEb0+uApqof075/P8rbqW+9Sh89aWfICdAR9DHGl6i/SSGzeHxGY9T46W/hGv4Z5</xenc:CipherValue>
        </xenc:CipherData>
      </xenc:EncryptedData>
    </soap:Body>
  </soap:Envelope>
  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/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";>
    <soap:Header>
      <wsa:Action>SWS_WEB_SR_INVOKEResponse</wsa:Action>
      <wsa:MessageID>uuid:742589f0-7c75-467f-b677-71c007b1d731</wsa:MessageID>
      <wsa:RelatesTo>uuid:19aa9796-bbd2-4c04-b8a8-8b80aff39d45</wsa:RelatesTo>
      <wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
      <wsse:Security soap:mustUnderstand="1">
        <wsu:Timestamp wsu:Id="Timestamp-164164ed-9155-4d32-b055-ab3366342692">
          <wsu:Created>2006-04-20T05:56:32Z</wsu:Created>
          <wsu:Expires>2006-04-20T06:01:32Z</wsu:Expires>
        </wsu:Timestamp>
        <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; wsu:Id="SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee">
          <wsse:Username>Adminuser</wsse:Username>
          <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>obE0Rpuji0iRIiADbkka79dV7fw=</wsse:Password>
          <wsse:Nonce>3FM4XcDINy2ziBna41RBIw==</wsse:Nonce>
          <wsu:Created>2006-04-20T05:56:32Z</wsu:Created>
        </wsse:UsernameToken>
        <xenc:ReferenceList xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
          <xenc:DataReference URI="#EncryptedContent-53a711e0-ee5e-433d-9005-9682a2bd1ecc" />
        </xenc:ReferenceList>
        <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#hmac-sha1"; />
            <Reference URI="#Id-3c1def3e-8180-4365-a9da-2e6b5f8f98ba">
              <Transforms>
                <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"; />
              </Transforms>
              <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"; />
              <DigestValue>k7ZJxhN1zHBYBslQBQAo8m/1yaI=</DigestValue>
            </Reference>
          </SignedInfo>
          <SignatureValue>TWa3QgbXJoPHPrOQVvxKYGioYy0=</SignatureValue>
          <KeyInfo>
            <wsse:SecurityTokenReference>
              <wsse:Reference URI="#SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"; />
            </wsse:SecurityTokenReference>
          </KeyInfo>
        </Signature>
      </wsse:Security>
    </soap:Header>
    <soap:Body wsu:Id="Id-3c1def3e-8180-4365-a9da-2e6b5f8f98ba">
      <xenc:EncryptedData Id="EncryptedContent-53a711e0-ee5e-433d-9005-9682a2bd1ecc" Type="http://www.w3.org/2001/04/xmlenc#Content"; xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
        <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"; />
        <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#";>
          <wsse:SecurityTokenReference>
            <wsse:Reference URI="#SecurityToken-42db4e1b-c65e-466b-ba99-85c1448dd7ee" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"; />
          </wsse:SecurityTokenReference>
        </KeyInfo>
        <xenc:CipherData>
          <xenc:CipherValue>jAkN5pdS7RxiPcX5M4svAu7oQWnZmibPXqa+BAJUDc4XLPcOIDUyrgQZHn2nogW+FmZ481TqkqyF7uop6iFoEtKhZo97PN8oiXvpza40eGo6vm7O+3DuNh9pDZrARgPGd4THNA0urKu7g4Maij4r90fk/q9tqAB/3/ErwXRyYWjLTtRk503VoR7VckuxSM+y3NYqwOS5zAGsQSJzPN6HSftf9RJVjewd3fIHubL/TI/n0ypS41fzSyxIm6ABw2pCZeYPkimBVYnYR6aE6UtnXsckiG00+H1knALjOwzYwliKbktgDV3gwCLmzkgBh9393yH6UZWX2CQfH0MmTGjbGU2I1FxbNQjBhIx7/sI48chOeCb0wZmXRMpnCNwFTeca14zFn949o7h5DsBzoU39sQAVRy+ur56z4bjs2XsGYQvx5DuBY2Q20C7y7ltvLC1SEZExwY26pPlH8qs9aqLhI82Zyfy3vClz2uX2SwmcDmPCpGR9kAZw1dxqHJko1EdzpFzAK2V1TVzRgFqXtyFYeLO47R+a7E8B+o0h47fEehljLI1vWMa+YbtkEO1XHF252FDdOyzcZhl7ihprMRKiGDR+t1XG8dZLSXDfuPgW/ld9JGxCsAbDfxrfayDJBLOxMzIwToq93+9jtx3NIcBAmM8sISL3tmiAs6+e2J0cMxts7CI7gFIV9iLavPXxV0jWdzJMtuOWQj3LTnWCR20wFEMm1gUEWShXCz83oDdrYXDhv/xobvh/gcivw9PB0VYZG1I+OTGq0qtSVCoGWCBjuyjUHhhVpEgg6dkc3S7m/B+wZVXm0f1a6VCnQdqAo39ot/+Muw2Y9ijbI2XmErc4RPeXKpFMLy05+Cer+P3usMKbTwQWecWpLNAtjeRT4zsBu757Cxn/syyS3tYB+F8i/dvT23OXFVR7c5NwGbXS/f/NT9wxiigZurrv/MK9PcnbEBQaEPowPPLKhT1jh0Hbvk9wnUW1ccgrvHMUzovkr8SUQTEs4bs4+Anm+fRet9gtrVfkkRwyBvVIG8rhlg7ZPeimkIDybbgE5Uc8rwiHKdXV6foOfNmEBE0P5UXzy/Ol6GNqyzcEPE95thuVNoLZMM/AEwnyLwVzzM5q0yaCzY2TOmm5jySI/1qNlTUK/IIhqz8+wlBUNSTXGTyntG9+8ul7CAcAS+ghbuYRlC6UaGyzJKjlgwO/qFLBqbxFMqQaqF6SxVY0uQe0PKOra+oVoQlsxOo2kE+lYu+3AqHK+7ghyTeVnxLgNCd9GOWtH/zb8zRAWhxRX1TRrc0b1KIvaY0yVq/+4HeFznkzgsaEWF+uEcCuuPMkKusvEP0i/6+Ftk60vaavFxHSJItpCyVNjNG4GwoRfqVIYAZYFKD+h7tObtKUkxTjOYeqDQzju9bABIbz5GD52GOFzzo4s0+g0feg+Lzq3dixTnlP+7RmNcI=</xenc:CipherValue>
        </xenc:CipherData>
      </xenc:EncryptedData>
    </soap:Body>
  </soap:Envelope>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to