Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Found this error while compiling my qt gsoap application
error: redefinition of 'Namespace namespaces []
error: 'Namespace namespaces [8]' previously defined here

don't know what this is???
can anybody help me out??? plz.
Posted
Updated 29-Jul-16 11:13am
v2

1 solution

You didn't say, but I'm guessing you are probably trying to use gsoap on multiple namespaces

I don't know how Qt handles things, but maybe this will help you find the solution.

On the command line, using gsoap direclty, this will give you the same error:
wdsl2h -o header1.h http://service1.com/service1
soapcpp2 header1.h

wdsl2h -o header2.h http://service2.com/service2
soapcpp2 header2.h


This won't work. GSOAP recommends that you call wsdl2h on all services at once:
wdsl2h -o header.h http://service1.com/service1 http://service2.com/service2
soapcpp2 header.h


GSOAP will assign namespaces to the separate services, or you can specify how to name things in typemap.dat or on the command line.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900