WSDL rules and examples (1)

xiaoxiao2021-03-06  49

First look at a simple Java code, we use it as a WSDL service code: public class test {public string echo (string u) {return "Hello u;}} then use the WSDL used to export: < XML version = "1.0" encoding = "uTF-8"?> // We have no custom type

//

// request message

// A porttype can look at a class

// an Operation is a method

// below specifies message package

// Binds the WSDL description with the specific implementation, here the SOAP mode

// The following will be associated with the previous SOAP binding

转载请注明原文地址:https://www.9cbs.com/read-116438.html

New Post(0)