Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 24218 invoked from network); 10 Mar 2008 10:31:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 10:31:30 -0000 Received: (qmail 49803 invoked by uid 500); 10 Mar 2008 10:31:18 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 49780 invoked by uid 500); 10 Mar 2008 10:31:18 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 49769 invoked by uid 99); 10 Mar 2008 10:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 03:31:18 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nuria.rg1@gmail.com designates 72.14.204.234 as permitted sender) Received: from [72.14.204.234] (HELO qb-out-0506.google.com) (72.14.204.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 10:30:38 +0000 Received: by qb-out-0506.google.com with SMTP id e34so1727837qbe.6 for ; Mon, 10 Mar 2008 03:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=3QiWMyori8TJgu0SuEshfp7AzKaTSxBmo11cBmexrxk=; b=RNBPCRu7GgXF0sRAN+WlEb9fRA8O8ZDok3uIQI/Tk5/tmeOPuDUqpXqj4ZV6tkpjkHo3pzR/VD14IKoUHOHKNIeY4bf4W6nAxmlnXKj0qiBZqKxAuRdFDdpL95lnGhBafVa8DOYyxb4O4VpF+9wzKnbIvklRIfbJhCAC+zQNTnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=S6vQ4dcnLlb9TEKImkbA6iKPThaUn2jOW7mDoAKDqiboDtYZ0dH5d9QvqIwSRzY4P8RmFDlvLc8ZOqU2Tz3p0oyHsQNTGoTlHjSMuOejBW+JpjxDa5kNinAynnQmtEo/OCwHRhP1Og2L0JMPw3mEq0hOyuv+fJsHMk0Da9e5Mu0= Received: by 10.142.203.13 with SMTP id a13mr1513128wfg.66.1205145048030; Mon, 10 Mar 2008 03:30:48 -0700 (PDT) Received: by 10.143.9.2 with HTTP; Mon, 10 Mar 2008 03:30:48 -0700 (PDT) Message-ID: Date: Mon, 10 Mar 2008 11:30:48 +0100 From: "=?ISO-8859-1?Q?Nuria_Rodr=EDguez_Garc=EDa?=" To: axis-user@ws.apache.org Subject: Re: Problem with SOAPHeader In-Reply-To: <559c463d0803070613s2adaf53ckbb87b034831debb6@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17544_724310.1205145048042" References: <559c463d0803062251l20901f6dgb29a84cbf906bccf@mail.gmail.com> <559c463d0803070613s2adaf53ckbb87b034831debb6@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_17544_724310.1205145048042 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Ruchith, Thank you very much for your help. I used the new jar and I included the source code too but I'm having the same problem. Is it necessary to change something in my client side? Thanks, Nuria 2008/3/7, Ruchith Fernando : > > I believe there will be another release of Axiom close to the release > of Axis2... maybe you will be able to try the latest > axiom-dom-SNAPSHOT.jar with your project. > > Please try the jar file available here : > > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/common= s/axiom/axiom-dom/SNAPSHOT/axiom-dom-20080307.033922-64.jar > > Thanks, > Ruchith > > On Fri, Mar 7, 2008 at 6:48 PM, Nuria Rodr=EDguez Garc=EDa > wrote: > > Hi, > > > > Thank you very much. But how could I use this class in my project? > > Are you going to publish a new release of the axiom api? > > > > Regards, > > Nuria > > > > > > > > > > 2008/3/7, Ruchith Fernando : > > > > > > > > > > > > Hi Nuria, > > > > > > This is a bug in DOOM, the AXIOM DOM implementation. > > > > > > I just fixed this and checked it in. [1] > > > > > > Thanks, > > > Ruchith > > > > > > 1. http://svn.apache.org/viewvc?rev=3D634561&view=3Drev > > > > > > On Thu, Mar 6, 2008 at 5:59 PM, Nuria Rodr=EDguez Garc=EDa > > > wrote: > > > > Hi, > > > > I can't add information in SOAPHeader when I engage rampart and > > addressing > > > > module. > > > > > > > > My header is the following: > > > > > > > > > > > > > > > > > xmlns:wsse=3D" > http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext= -1.0.xsd > " > > > > soapenv:mustUnderstand=3D"1"> > > > > > > > > > xmlns:wsu=3D" > http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit= y-1.0.xsd > " > > > > wsu:Id=3D"Timestamp-32653965"> > > > > 2008-03-06T11:37:41.497Z > > > > 2008-03-06T11:42:41.497Z > > > > > > > > > > > > > xmlns:wsu=3D" > http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit= y-1.0.xsd > " > > > > wsu:Id=3D"UsernameToken-11737724"> > > > > alice > > > > > > > > > Type=3D" > http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-pr= ofile-1.0#PasswordText > ">bobPW > > > > > > > > > > > > > > > > > > > nameAttachFile=3D"FileTestA.txt"/> > > > > > > > nameAttachFile=3D"FileTestA.txt"/> > > > > > > > > http://localhost:8081/axis2/services/SWASampleService > > > > > > urn:uuid:E23726932EDEB77EB81204803460112 > > > > process > > > > > > > > > > > > I receive the following exception in server side: > > > > java.lang.NullPointerException > > > > at > > > > > org.apache.axiom.soap.impl.dom.SOAPHeaderImpl.getHeaderBlocksWithNSUR > > > > I(SOAPHeaderImpl.java:244) > > > > at > > org.apache.rampart.RampartEngine.process(RampartEngine.java:96) > > > > at > > > > org.apache.rampart.handler.RampartReceiver.invoke( > RampartReceiver.jav > > > > a:85) > > > > at org.apache.axis2.engine.Phase.invoke(Phase.java:292) > > > > at > > org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:235) > > > > at > > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135) > > > > at > > > > > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq > > > > uest(HTTPTransportUtils.java:275) > > > > at > > > > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java > :1 > > > > 21) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java > :709) > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java > :802) > > > > at > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (Appl > > > > icationFilterChain.java:237) > > > > > > > > > > > > I don't know if it is possible and I would need to know if there is > a > > way to > > > > do it. > > > > If I engage only addressing module this works. > > > > > > > > Thanks, Nuria > > > > > > > > > > > > -- > > > http://blog.ruchith.org > > > http://wso2.org > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > > > -- > http://blog.ruchith.org > http://wso2.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > ------=_Part_17544_724310.1205145048042 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi Ruchith,

 

Tha= nk you very much for your help.

&nb= sp;

I u= sed the new jar and I included the source code too but I'm having the same = problem.

Is = it necessary to change something in my client side?

&nb= sp;

Tha= nks,

Nur= ia

&nb= sp;



2008/3/7, Ruchith Fernando <ruchith.fernando@gmail.com>:
I believe there will be another = release of Axiom close to the release
of Axis2... maybe you will be able= to try the latest
axiom-dom-SNAPSHOT.jar with your project.

Please try the jar file av= ailable here :

http://people.apache.org/repo/m2-snapshot-repository/org/a= pache/ws/commons/axiom/axiom-dom/SNAPSHOT/axiom-dom-20080307.033922-64.jar<= /a>

Thanks,
Ruchith

On Fri, Mar 7, 2008 at 6:48 PM, Nuria Rodr=ED= guez Garc=EDa
<
nuria.rg1@gmail= .com> wrote:
> Hi,
>
> Thank you very much. But ho= w could I use this class in my project?
> Are you going to publish a new release of the axiom api?
>
&g= t; Regards,
> Nuria
>
>
>
>
> 2008/3/7,= Ruchith Fernando <ruchith= .fernando@gmail.com>:
> >
> >
> >
> > Hi Nuria,
> >
= > > This is a bug in DOOM, the AXIOM DOM implementation.
> >=
> > I just fixed this and checked it in. [1]
> >
> > Thanks,
> > Ruchith
> >
> > 1. http://svn.ap= ache.org/viewvc?rev=3D634561&view=3Drev
> >
> > O= n Thu, Mar 6, 2008 at 5:59 PM, Nuria Rodr=EDguez Garc=EDa
> > <nuria.rg1@gmail.com> wrote:
> > > Hi,
> > > I can't add inform= ation in SOAPHeader when I engage rampart and
> addressing
> &g= t; > module.
> > >
> > > My header is the following:
> > &= gt;
> > > <soapenv:Header>
> > > <wsse:Sec= urity
> > >
> xmlns:wsse=3D"
http:= //docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xs= d"
> > > soapenv:mustUnderstand=3D"1">
> > >=   <wsu:Timestamp
> > >
> xmlns:wsu=3D"<= a href=3D"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit= y-utility-1.0.xsd">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-= wssecurity-utility-1.0.xsd"
> > > wsu:Id=3D"Timestamp-32653965">
> > >= ;  <wsu:Created>2008-03-06T11:37:41.497Z</wsu:Created>= ;
> > > <wsu:Expires>2008-03-06T11:42:41.497Z</wsu:Exp= ires>
> > > </wsu:Timestamp>
> > > <wsse:UsernameTo= ken
> > >
> xmlns:wsu=3D"http://= docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd= "
> > > wsu:Id=3D"UsernameToken-11737724">
> >= >  <wsse:Username>alice</wsse:Username>
> &= gt; > <wsse:Password
> > >
> Type=3D"http://docs.oasis-open.org/wss/2004/01/oasis-2004= 01-wss-username-token-profile-1.0#PasswordText">bobPW</wsse:= Password>
> > >  </wsse:UsernameToken>
> > > <= ;/wsse:Security>
> > > <content>
> > > <= ;Attachment idAttachFile=3D"$FILE{FileTestA.txt}"
> > &g= t; nameAttachFile=3D"FileTestA.txt"/>
> > > <Attachment idAttachFile=3D"$FILE{FileTestB.txt}&quo= t;
> > > nameAttachFile=3D"FileTestA.txt"/>
>= ; > >  </content>
> > > <wsa:To>http://local= host:8081/axis2/services/SWASampleService</wsa:To>
> > > <wsa:MessageID>urn:uuid:E23726932EDEB77EB8120480346011= 2</wsa:MessageID>
> > >  <wsa:Action>proc= ess</wsa:Action>
> > > </soapenv:Header>
> &g= t; >
> > > I receive the following exception in server side:
> &g= t; > java.lang.NullPointerException
> > >   &= nbsp;     at
> > > org.apache.axiom.soap.im= pl.dom.SOAPHeaderImpl.getHeaderBlocksWithNSUR
> > > I(SOAPHeaderImpl.java:244)
> > >  &nbs= p;      at
> org.apache.rampart.RampartEngin= e.process(RampartEngine.java:96)
> > >    &= nbsp;     at
> > > org.apache.rampart.= handler.RampartReceiver.invoke(RampartReceiver.jav
> > > a:85)
> > >      &= nbsp;  at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
>= > >         at
> org.a= pache.axis2.engine.AxisEngine.invoke(AxisEngine.java:235)
> > >=           at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135)
>= ; > >         at
> >= > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq=
> > > uest(HTTPTransportUtils.java:275)
> > >         at
> &= gt; > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.jav= a:1
> > >  21)
> > >   &nb= sp;     at javax.servlet.http.HttpServlet.service(HttpS= ervlet.java:709)
> > >         at javax.ser= vlet.http.HttpServlet.service(HttpServlet.java:802)
> > > =         at
> > > org.apache.= catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> > >= ;  icationFilterChain.java:237)
> > >
> > >
> > > I don't know if it i= s possible and I would need to know if there is a
> way to
> &g= t; > do it.
> > > If I engage only addressing module this wo= rks.
> > >
> > > Thanks, Nuria
> >
> >> >
> > --
> > http://blog.ruchith.org
> > http:= //wso2.org
> >
> > ----------------------------------------------------= -----------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org<= br> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> ><= br>>
>



--
ht= tp://blog.ruchith.org
http://wso2.org

--------------------= -------------------------------------------------
To unsubscribe, e-mail= : axis-user-unsubscr= ibe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


------=_Part_17544_724310.1205145048042--