axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuria Rodríguez García" <nuria....@gmail.com>
Subject Re: Problem with SOAPHeader
Date Mon, 10 Mar 2008 10:30:48 GMT
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 <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 available here :
>
>
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/axiom/axiom-dom/SNAPSHOT/axiom-dom-20080307.033922-64.jar
>
> Thanks,
> Ruchith
>
> On Fri, Mar 7, 2008 at 6:48 PM, Nuria Rodríguez García
> <nuria.rg1@gmail.com> 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 <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.apache.org/viewvc?rev=634561&view=rev
> > >
> > > On Thu, Mar 6, 2008 at 5:59 PM, Nuria Rodríguez García
> > > <nuria.rg1@gmail.com> wrote:
> > > > Hi,
> > > > I can't add information in SOAPHeader when I engage rampart and
> > addressing
> > > > module.
> > > >
> > > > My header is the following:
> > > >
> > > > <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-32653965">
> > > >  <wsu:Created>2008-03-06T11:37:41.497Z</wsu:Created>
> > > > <wsu:Expires>2008-03-06T11:42:41.497Z</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="UsernameToken-11737724">
> > > >  <wsse:Username>alice</wsse:Username>
> > > > <wsse:Password
> > > >
> > Type="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText
> ">bobPW</wsse:Password>
> > > >  </wsse:UsernameToken>
> > > > </wsse:Security>
> > > > <content>
> > > > <Attachment idAttachFile="$FILE{FileTestA.txt}"
> > > > nameAttachFile="FileTestA.txt"/>
> > > > <Attachment idAttachFile="$FILE{FileTestB.txt}"
> > > > nameAttachFile="FileTestA.txt"/>
> > > >  </content>
> > > > <wsa:To>http://localhost:8081/axis2/services/SWASampleService
> </wsa:To>
> > > >
> <wsa:MessageID>urn:uuid:E23726932EDEB77EB81204803460112</wsa:MessageID>
> > > >  <wsa:Action>process</wsa:Action>
> > > > </soapenv:Header>
> > > >
> > > > 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
>
>

Mime
View raw message