Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET Framework » SW-Architecture   (RSS)

Web Services Quiz: Issue 7 - the Answer

The answer to Issue 7 is the following: < wsdl:binding name ="CalculatorSoap" type ="tns:CalculatorPortType"> < soap:binding style ="rpc" transport ="http://schemas.xmlsoap.org/soap/http"/> < wsdl:operation name ="Add"> < soap:operation

How to make it better

This post is part of Issue 5’s answer The previous post demonstrated that we have to care about the messages we pass around. At the end, it’s always about the process of defining contracts. Let’s think about the way we’re defining

How to improve the messaging experience

This post is part of Issue 5’s answer Messaging means that you really care about messages. But looking at our example, do we really care about them? You might say yes, because we define a CLR message that acts as the argument type for our [WebMethod].

How to define the XPath expression

This post is part of Issue 5’s answer As a result of step 1 (How to define a <MessagePredicate>) we go the following template for our <MessagePredicate> < wsp:MessagePredicate wsp : Usage ="wsp:Required"> wsp:GetBody(.)/ here/goes/my/path

How to define a MessagePredicate

This post is part of Issue 5’s answer I’ve highlighted the relevant artifacts in the following excerpt of the WS-PolicyAssertions spec: The contents of the <MessagePredicate> element is an XPath 1.0 expression. The XPath expression is

Web Services Quiz: Issue 5 - the Answer

The answer to Issue 5 is the following: < wsp:MessagePredicate wsp : Usage ="wsp:Required" xmlns : it ="uri:isssue5/types" xmlns : iw ="uri:isssue5/wsdl"> wsp:GetBody(.)/ iw:reqMsg/it:something > 4 </ wsp:MessagePredicate > Since this quiz

Web Services Quiz: Issue 2 - the Answer Part 1

There are several problems with the described Web Service implementation . Let’s start with an architectural issue: DeletePerson represents a oneway operation and therefore, we have no possibility to be sure that the request has been successfully
 
Page view tracker