Can a WSDL indicate the SOAP version (1.1 or 1.2) of the web service?

SOAP 1.1 uses namespace http://schemas.xmlsoap.org/wsdl/soap/ SOAP 1.2 uses namespace http://schemas.xmlsoap.org/wsdl/soap12/ The wsdl is able to define operations under soap 1.1 and soap 1.2 at the same time in the same wsdl. Thats useful if you need to evolve your wsdl to support new functionality that requires soap 1.2 (eg. MTOM), in this case you dont … Read more

Load data from Webservice (asmx) to jqgrid. Please help me

You example have a lot of problems. For example If you use [WebMethod, ScriptMethod(ResponseFormat = ResponseFormat.Json)] attribute on the web method and [ScriptService] on the the web service class, then the output parameter will be automatically converted to JSON. (see asmx web service, json, javascript/jquery? for example). Then you will not need implementthe functions like … Read more

Spring, Jackson and Customization (e.g. CustomDeserializer)

You don’t say how you’re using Jackson in Spring, so I’ll assume you’re using it through <mvc:annotation-driven/> and the @RequestBody and/or @ResponseBody annotations. One of the things that <mvc:annotation-driven/> does is to register a AnnotationMethodHandlerAdapter bean which comes with a number of pre-configured HttpMessageConverter beans, including MappingJacksonHttpMessageConverter, which handles marshalling to and from Jackson-annotated model … Read more

WSDL vs REST Pros and Cons

The two protocols have very different uses in the real world. SOAP(using WSDL) is a heavy-weight XML standard that is centered around document passing. The advantage with this is that your requests and responses can be very well structured, and can even use a DTD. The downside is it is XML, and is very verbose. … Read more