You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2007/09/03 07:49:19 UTC

[jira] Assigned: (TUSCANY-1591) Duplicate added to SOAP Header when using conversational interface

     [ https://issues.apache.org/jira/browse/TUSCANY-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-1591:
-------------------------------------

    Assignee: Raymond Feng  (was: Simon Nash)

> Duplicate <wsa:From>  added to SOAP Header when using conversational interface
> ------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1591
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1591
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: Lou Amodeo
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-1.0
>
>         Attachments: patch1591
>
>
> I just ran into this problem that appears to be a result of the changes to support callback.  I believe the problem occurs when there is a conversational interface and two <wsa:From> elements are being generated in Axis2BindingInvoker.java when   if (conversationId != null && conversationId.length() != 0)   is true in  createOperationClient(Object[] args, String conversationId).  Note,  There is no callback involved here.  It looks like changes added to support calbacks intorduced creating a 2nd <wsa:From> when conversational interface is used. 
> <?xml version="1.0" encoding="utf-8"?> 
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
>      <soapenv:Header> 
>          <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing"> 
>             <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> 
>             <wsa:ReferenceParameters></wsa:ReferenceParameters> 
>          </wsa:From> 
>          <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing"> 
>              <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> 
>               <wsa:ReferenceParameters> 
>                <axis2ns13:conversationID xmlns:axis2ns13="http://www.osoa.org/xmlns/sca/1.0"> 
>                    d96deb50-cf30-4c5c-a381-d0b0ab19bf74 
>                </axis2ns13:conversationID> 
>              </wsa:ReferenceParameters> 
>          </wsa:From> 
>      </soapenv:Header> 
> <soapenv:Body> 
>  <scaNS:add xmlns:scaNS="http://components.ws.bindings.sca.test"> 
>      <scaNS:param0>1</scaNS:param0></scaNS:add> 
> </soapenv:Body> 
>  
> </soapenv:Envelope> 
> org.apache.axis2.AxisFault: A header representing a Message Addressing Property is not valid and the message cannot be processed
> 	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:379)
> 	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerInvalidCardinalityFault(AddressingFaultsHelper.java:158)
> 	at org.apache.axis2.handlers.addressing.AddressingInHandler.extractAddressingInformation(AddressingInHandler.java:193)
> 	at org.apache.axis2.handlers.addressing.AddressingInHandler.invoke(AddressingInHandler.java:98)
> 	at org.apache.axis2.engine.Phase.invoke(Phase.java:379)
> 	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:287)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:204)
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:271)
> 	at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:907)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:995)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
> 	at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
> 	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
> 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
> 	at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
> 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
> 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
> 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
> 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
> 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
> 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org