Heim  >  Fragen und Antworten  >  Hauptteil

c++ - gosap自己写.h文件 里面的两个namespace是随便定义的吗?

//gsoap ns service name: calc Simple calculator service
//gsoap ns service protocol: SOAP
//gsoap ns service style: rpc
//gsoap ns service encoding: encoded
//gsoap ns service namespace: http://websrv.cs.fsu.edu/~engelen/calc.wsdl
//gsoap ns service location: http://websrv.cs.fsu.edu/~engelen/calcserver.cgi

//gsoap ns schema namespace: urn:calc

这是gsoap官方自带的例子里面的.h文件里面的内容 这个service namespace 和 schema namespace 的内容是随便定义的吗?(写服务端的话)。 比如我的service namespace定义为 http://127.0.0.1:8888/ schema namespace 定义为urn:123456789 这样可以吗? 还有这两个命名空间有什么用? 一头雾水。。。

阿神阿神2714 Tage vor549

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort