On Wed, May 26, 2010 at 9:27 AM, Gregor Kiddie
<[email protected]> wrote:
>
>
> -----Original Message-----
> From: Simon Laws [mailto:[email protected]]
> Sent: 26 May 2010 09:10
> To: [email protected]
> Subject: Re: Exception with security (again)
>
> On Tue, May 25, 2010 at 7:01 PM, Gregor Kiddie
> <[email protected]> wrote:
>>
>>
>> -----Original Message-----
>> From: Simon Laws [mailto:[email protected]]
>> Sent: 25 May 2010 13:38
>> To: [email protected]
>> Subject: Re: Exception with security (again)
>>
>>>
>>> Looks like it can't find the SoapAction without it.
>>>
>>>
>>> org.apache.axis2.AxisFault: Server did not recognize the value of HTTP 
>>> Header SOAPAction: .
>>>        at 
>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
>>>        at 
>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
>>>        at 
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
>>>        at 
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
>>>        at 
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>>>        at 
>>> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axis2BindingInvoker.java:172)
>>>        at java.security.AccessController.doPrivileged(Native Method)
>>>        at 
>>> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:170)
>>>        at 
>>> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:124)
>>>        at 
>>> org.apache.tuscany.sca.policy.authentication.basic.BasicAuthenticationReferencePolicyInterceptor.invoke(BasicAuthenticationReferencePolicyInterceptor.java:85)
>>>        at 
>>> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:67)
>>>
>>
>> Hmm, so that's another difference I didn't spot. Looking back at the
>> messages on the wire the binding without wsdl element scenario
>> gives...
>>
>> SOAPAction: ""
>>
>> Simon
>>
>>
>> --
>> Apache Tuscany committer: tuscany.apache.org
>> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>>
>> Taking a long hard look at this, it appears that it's Axis2 that's the 
>> issue. It can't deal with older WSDL styles. The recommendation is to try 
>> Axis 1.4, so I'm going to see if the 1.4 libraries work with Tuscany!
>>
>
> We are on Axis 1.4.1 in the 1.x code base. I raised TUSCANY-3571 to
> track this. I'll look also to see if I can work out precisely what
> causing it to produce different results
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>
> The libs in Tuscany 1.6 is Axis2 version 1.4.1
> The library required is Axis version 1.4
> They are different libraries, rather than different versions! Axis was 
> superseded by Axis2 a couple of years ago. It's just unfortunate the version 
> numbers currently match ;)
>

Aaaaaaaaaaaaaah, apologies, I missed the fact that you'd dropped the 2
off of Axis.

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to