Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 56393 invoked from network); 25 Mar 2007 10:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2007 10:40:55 -0000 Received: (qmail 17331 invoked by uid 500); 25 Mar 2007 10:40:59 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 17267 invoked by uid 500); 25 Mar 2007 10:40:59 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 17253 invoked by uid 99); 25 Mar 2007 10:40:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 03:40:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ruchith.fernando@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 03:40:50 -0700 Received: by nf-out-0910.google.com with SMTP id o63so2358309nfa for ; Sun, 25 Mar 2007 03:40:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eYt76MXhIQnZcwCQSMXyaCbPiGbs9ARCNKqYeMS2SxJA4Za0Oj19ToVMdroabZAnNBqaPID0/KKEb5gnZfW+U2OCyd+gvZE1wVhRnJzdegNLSlCKfrlj1xT7yQxa5UQnrjRSma73FWRJDSzj24utoACULRVuPhyAFIk+HfHeRzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ICnED67OT85CQb/ldcIX7SNX4lpst9xtCbYlhrsiyVhwO3hzEGZZ3Y/mZl23hntB3C0fzEJJQV8o3oGO/bZeAa++fEJ6/Wa1GJgwC4OayA3PCsFo4wjT5nnIMV0v2yJkmeWgtPfFZWR5UNfJTh4mfvirWHPJf0Bwp4T2Z8TBAjs= Received: by 10.114.155.1 with SMTP id c1mr2097426wae.1174819228144; Sun, 25 Mar 2007 03:40:28 -0700 (PDT) Received: by 10.114.210.5 with HTTP; Sun, 25 Mar 2007 03:40:27 -0700 (PDT) Message-ID: <559c463d0703250340i11b153f4r2b70ed08ee366545@mail.gmail.com> Date: Sun, 25 Mar 2007 16:10:27 +0530 From: "Ruchith Fernando" To: axis-dev@ws.apache.org Subject: Re: [Axis2] Interop with dotNet (WCF) userrname token Cc: yasin@elm.com.sa In-Reply-To: <325AD467D3E15B40A135A6C140DD96A79C13AC@EXCHANGE.elm.com.sa> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <325AD467D3E15B40A135A6C140DD96A79C13AC@EXCHANGE.elm.com.sa> X-Virus-Checked: Checked by ClamAV on apache.org Hi, There are nonce and created elements in the request created by your java client. Are you using a plain text password? Also are you using Rampart or WSS4J to add the security header? Thanks, Ruchith On 3/17/07, Ayman Yasin wrote: > > > > > Hi all, > > > > I am trying to write a client to a dot net service written in WCF. Here is an example of a soup request generated by a working dot net client: > > > > > > > > GetResidentDetailsByIqamaNumber > > urn:uuid:91f458c9-b135-485b-91c0-d073baf87576 > > > > http://www.w3.org/2005/08/addressing/anonymous > > > > https://somemachine/MuqeemIDK.Host/Resident.svc > > > > > > 2007-03-12T14:09:03.319Z > > 2007-03-12T14:14:03.319Z > > > > > > blabla > > blabla > > > > > > > > > > > > 2554545445 > > > > > > > > > > The client I wrote with Axis2 gives AxisFault: An Error occurred when verifying security for the message. A sample soap request generated by my axis client follows: > > > > > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" > > soapenv:mustUnderstand="true"> > > 2007-03-17T08:29:21.890Z > > 2007-03-17T08:34:21.890Z > xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" > > wsu:Id="UsernameToken-31564808"> > > > > 2007-03-17T08:29:21.875Z > > https://somemachine/MuqeemIDK.Host/Resident.svc > > http://www.w3.org/2005/08/addressing/anonymous > > urn:uuid:EF475894BC15FFD4451174120161626 > > GetResidentDetailsByIqamaNumber > > > xmlns:ns2="http://MuqeemIDK.ServiceContracts/2006/12"> > xmlns="http://MuqeemIDK.ServiceContracts/2006/12">2041043791 > > > > > > I would appreciate it if somebody looked at those two requests and told me what is missing in the axis message. > > > > Thank you > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- www.ruchith.org www.wso2.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org