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 这样可以吗? 还有这两个命名空间有什么用? 一头雾水。。。

阅读 2.5k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题