• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1284
  • Last Modified:

_namespaces not found in gSOAP file

I'm using gSOAP to generate a Web Service. When I build the project, I get an "unresolved external symbol" error on "_namespaces" in stdsoap2.obj. I'm obviously not linking/including some library or include file, but I don't know where _namespaces is defined.

Anyone know where this symbol is defined?
0
softechnics
Asked:
softechnics
1 Solution
 
jkrCommented:
Have you included the generated .nsmap file, e.g. "MyWebService.nsmap" in your code like

#include "MyWebService.nsmap"
#include "soapMyWebServiceProxy.h"

//..

int main(int argc, char **argv)
{
//...
}

?
0
 
softechnicsAuthor Commented:
That was it. Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now