wcf: server does not give senseful answer

  • Thread starter Thread starter sebastian.the.mueller
  • Start date Start date
S

sebastian.the.mueller

Hey there,

I hope you can help me with this problem I have with Reliable Sessions
in my wsHttpBinding.
Because I got a MessageSecurityException in my Service I wanted to add
a ReliableSession-Tag in my BindingConfiguration in order to adjust
the inactivityTimeout-property. After I have done this by adding this

<bindings>
<wsHttpBinding>
<binding name="NewBinding0">
<reliableSession inactivityTimeout="00:01:00"
enabled="true" />
</binding>
</wsHttpBinding>
</bindings>

I got another Exception (a CommunicationException) I am not able to
understand as it is really unclear for me, maybe you can help me with
that. I try to translate it from german

The server did not correspond sensefully. This could be affected by a
not consistent contract, premature shutdown of the session or an
internal server error.

I hope you can understand this ExceptionMessage, the InnerException is
null. Thanks for all answers.

Greets

Sebastian
 
Check the server's event log. Also - did you apply the change at both
client and server?

Personally, I avoid all of these extensions - they don't make for an
easily scalable service if you want to host it on a farm... I just use
the raw basic http binding.

Marc
 
ok,

I really forgot to apply the changes at both ends, but now I have
another "problem" It all works great, after 30 minutes of inactivity
the Service did not end but as I used a bindingConfiguration with this
reliable session configuration

<reliableSession ordered="true" inactivityTimeout="00:01:00"
enabled="true" />

If I am right, this should mean one minute (I looked it up in
"Programming WCF Services" from O'Reilly)

Perhaps you can correct me. Could it be that another configuration
makes the reliable session react in this way? If so, I could also
paste the other Configuration code here.

Greets

Basti
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top