Hi,
I sent the exception of .NET as attachment of this message. It is the
exception, the inner exception and the stack trace.
Greetings
Christian
----- original Nachricht --------
Betreff: Re: Differences in Security between SOAP 1.1 and SOAP 1.2???
Gesendet: Mo, 03. Mär 2008
Von: Ruchith Fernando<[EMAIL PROTECTED]>
> Hi,
>
> Can you please send details of the exception you get at the .NET client
> as well?
>
> Thanks,
> Ruchith
>
> Christian Mielke wrote:
> > Hi Nandana!
> >
> > I sent you two responses. One is the SOAP 1.1 response which doesn't fail.
> The other is the SOAP 1.2 response which causes the problem. The two
> reponses are attached as files to this mail.
> >
> > Greetings
> > Christian
> >
> > ----- original Nachricht --------
> >
> > Betreff: Re: Differences in Security between SOAP 1.1 and SOAP 1.2???
> > Gesendet: Mo, 03. Mär 2008
> > Von: Nandana Mihindukulasooriya<[EMAIL PROTECTED]>
> >
> >> Hi Christian,
> >> will you be able to post the SOAP response that causes the
> problem
> >> ?
> >>
> >> On Mon, Mar 3, 2008 at 6:16 PM, Christian Mielke <[EMAIL PROTECTED]> wrote:
> >>> Hi,
> >>> I am using the policy attached to this mail for my AXIS 2 web-service.
> >> When I call this service with a .NET WCF SOAP 1.1 client everything
> works
> >> fine. If I call the service again with the .NET WCF client but with
> SOAP
> >> 1.2 I get an exception on thew client side after recieving the response
> from
> >> the service. Are there differences in WS-Security btewen SOAP 1.1 and
> SOAP
> >> 1.2 ?
> >>> Greetings
> >>> Christian
> >>>
> >> thanks,
> >> /nandana
> >>
> >> --
> >> Nandana Mihindukulasooriya
> >> Software Engineer
> >> WSO2 inc.
> >>
> >> http://nandana83.blogspot.com/
> >> http://nandanasm.wordpress.com/
> >>
> >
> > --- original Nachricht Ende ----
> >
> >
>
>
>
--- original Nachricht Ende ----
The message of the exception:
-------------------------------
{"SOAP security negotiation with
'http://localhost:8080/axis2/services/SecurityToken' for target
'http://localhost:8080/axis2/services/SecurityToken' failed. See inner
exception for more details."}
System.Exception {System.ServiceModel.Security.SecurityNegotiationException}
The inner exception:
-------------------------------
InnerException {"Die Länge darf nicht kleiner als 0 (null)
sein.\r\nParametername: length"}
System.Exception {System.ArgumentOutOfRangeException}
Means in english: The length may not be less than 0
Stacktrace:
--------------------------------
"\r\nServer stack trace: \r\n bei
System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan
timeout)\r\n
bei
System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetTokenCore(TimeSpan
timeout)\r\n
bei System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan
timeout)\r\n
bei
System.ServiceModel.Security.Tokens.IssuedSecurityTokenProvider.GetTokenCore(TimeSpan
timeout)\r\n
bei System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan
timeout)\r\n
bei
System.ServiceModel.Security.SecurityProtocol.TryGetSupportingTokens(SecurityProtocolFactory
factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout,
Boolean isBlockingCall, IList`1& supportingTokens)\r\n
bei
System.ServiceModel.Security.SymmetricSecurityProtocol.TryGetTokenSynchronouslyForOutgoingSecurity(Message
message, SecurityProtocolCorrelationState correlationState, Boolean
isBlockingCall, TimeSpan timeout, SecurityToken& token,
SecurityTokenParameters& tokenParameters, SecurityToken&
prerequisiteWrappingToken, IList`1& supportingTokens,
SecurityProtocolCorrelationState& newCorrelationState)\r\n
bei
System.ServiceModel.Security.SymmetricSecurityProtocol.SecureOutgoingMessageCore(Message&
message, TimeSpan timeout, SecurityProtocolCorrelationState
correlationState)\r\n
bei
System.ServiceModel.Security.MessageSecurityProtocol.SecureOutgoingMessage(Message&
message, TimeSpan timeout, SecurityProtocolCorrelationState
correlationState)\r\n
bei
System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message
message, TimeSpan timeout)\r\n
bei System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message
message, TimeSpan timeout)\r\n
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
timeout)\r\n
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)\r\n
bei
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation)\r\n
bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
message)\r\n\r\nException rethrown at [0]: \r\n
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)\r\n
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)\r\n bei TestPortType.echo(echoRequest request)\r\n
bei LanguageDataNETClient.TestClientWindow.callBtn_Click(Object sender,
EventArgs e) in
D:\\TestProjekteNET\\LanguageDataClient\\LanguageDataNETClient\\LanguageDataNETClient\\Form1.cs:Zeile
157." string
The german word "bei" means "at"!!!!