请大侠指点两个add.h文件的不同
1 add.h
#ifndef __ADD_H__
#define __ADD_H__
#include<iostream>
//gsoap ns service name: add
//gsoap ns service namespace: http://localhost/add.wsdl
//gsoap ns service location: http://localhost
//gsoap ns service executable: add.cgi
//gsoap ns service encoding: encoded
//gsoap ns schema namespace: urn:add
int ns__add( int num1, int num2, int* sum );
#endif
2 add.h
#ifndef __ADD_H__
#define __ADD_H__
#include<iostream>
//gsoap ns service name: Jupiter_Service
//gsoap ns service style: rpc
//gsoap ns service encoding: encoded
//gsoap ns service namespace: Web_Service.wsdl
//gsoap ns service location: http://10.13.196.115:8082
//gsoap ns schema namespace: urn:ns
int ns__add( int num1, int num2, int* sum );
#endif
第一个用soapcpp2 -C add.h 的时候可以生成.nsmap .wsdl .xml等文件,但是第二个只能生成.h .c,没有.nsmap .wsdl .xml
什么原因呢
[解决办法]
没别人回答的时候,你可以删帖,能够收回所发分数.