Click here to Skip to main content
13,057,084 members (43,596 online)
Rate this:
 
Please Sign up or sign in to vote.
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 27-Jun-11 20:56pm
Updated 29-Jul-16 11:13am
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170728.6 | Last Updated 29 Jul 2016
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100