RWMostert / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

wsdl file and schema files all in the same local folder or directory #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
it will create something like this in ns1.h file:

#import <Foundation/Foundation.h>
#import "USAdditions.h"
#import <libxml/tree.h>
#import "USGlobals.h"
@class USBoolean ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSNumber ;
@class NSDate ;
@class NSDate ;
@class NSDate ;
@class NSDate ;
@class NSData ;
@class NSNumber ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class NSString ;
@class ns1_gYearMonth;
@class ns1_gYear;
@class ns1_gMonthDay;
@class ns1_gDay;
@class ns1_gMonth;
@class ns1_hexBinary;
@class ns1_NMTOKEN;
@class ns1_NMTOKENS;
@class ns1_IDREFS;
@class ns1_ENTITIES;
@class ns1_nonPositiveInteger;
@class ns1_negativeInteger;
@class ns1_byte;
@class ns1_unsignedByte;

But no implementation in ns1.m file like this

#import "ns1.h"
#import <libxml/xmlstring.h>
#if TARGET_OS_IPHONE
#import <CFNetwork/CFNetwork.h>
#endif

therefore, in other .h and .m files(like soapenc.h), when they reference ns1.h, 
it will get error
like this:

@interface soapenc_gYearMonth : ns1_gYearMonth {

can't find interface declaration for 'ns1_gYearMonth', superClass of 
'soapenc_gYearMonth'

Thanks!

Charlie

Original issue reported on code.google.com by wonton927@gmail.com on 16 Jul 2010 at 2:01

GoogleCodeExporter commented 9 years ago
None of these simple types (gYearMonth, gYear, etc...) have been mapped to 
Cocoa classes.
That's the reason for the failure.

Original comment by hasse...@gmail.com on 16 Jul 2010 at 3:08

GoogleCodeExporter commented 9 years ago
Hi Hasseily,

Has this problem got fixed?

Thanks!

Charlie

Original comment by wonton927@gmail.com on 19 Jul 2010 at 4:25