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 16:17:08 GMT
Hi Ruchith,

The exception has disappeared but when the client receives the response I
receive the following exception:

org.apache.axis2.AxisFault: Error in extracting message properties
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java
:481)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
OutInAxisOperation.java:360)
at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
OutInAxisOperation.java:219)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at com.gmv.teamengine.samples.client.Client.main(Client.java:90)


2008/3/10, Ruchith Fernando <ruchith.fernando@gmail.com>:
> Can you please try using this [1] jar ... instead of the one I sent
> earlier... My guess is that the earlier jar file was generated before
> that fix went in.
>
>
> Thanks,
> Ruchith
>
> 1.
http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/commons/axiom/axiom-dom/SNAPSHOT/axiom-dom-20080310.022829-66.jar
>
> On Mon, Mar 10, 2008 at 4:00 PM, Nuria Rodríguez García
> <nuria.rg1@gmail.com> wrote:
> >
> >
> > 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
> > >
> > >
> >
> >
>
>
>
> --
> 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