somsin / wsdl2objc

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

unsignedInt unsignedLong seem not to be supported #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Try to generate
http://publicbetawebservices.hotel.de/V2_7/FreeHotelSearchWebService.asmx?WSDL

What is the expected output?
I would expect an compilable output for my iphone app.

What do you see instead?
Errors, that "unsignedInt" is not available
I tried to fix everything to make it compilable with adding the Object:
@interface unsignedInt : NSNumber {}
@end
@implementation unsignedInt {} 
@end

@interface unsignedLong : NSNumber {}
@end
@implementation unsignedLong {} 
@end

Then i had to change additionally at some places "unsigned int" to Object
with Pointer "unsignedInt *".
Then it was compilable, but still then i had errors with the Linker, that
he did not find the Objects:
  ".objc_class_name_xsd_unsignedLong", referenced from:

I searched with spotlight and google, but did not find where this is. It's
just declared in xsd.h but dont know where to find it as implementation.

I added for Linking and Header Search the libxml-Path and also added
CFNetwork Framework to the Project. 

I assume, that unsignedInt/Long was not tested before, so i opened an
issue. If i did misconfgure something, sorry, i'm new to objective c
development. Thanks to this very needed tool!!

Thanks & bye
Lars

Original issue reported on code.google.com by lars.lae...@gmail.com on 27 Sep 2009 at 5:43

GoogleCodeExporter commented 9 years ago
The latest trunk revision compiles your wsdl properly, except that it doesn't 
support simpletypes as lists of other 
simpletypes. You have 2 occurrences of this that are relatively easily fixable 
in the code itself.

Original comment by hasse...@gmail.com on 27 Sep 2009 at 9:04

GoogleCodeExporter commented 9 years ago
As stated above, unsignedInt and unsignedLong are now supported.
lists of simpletypes are not.

Original comment by hasse...@gmail.com on 2 Oct 2009 at 8:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I just ran the program, and had the exact same problem, except the issue is with
unsignedByte as opposed to unsignedInt or unsignedLong,
which appears to still be unsupported. The website I am trying to generate for 
is:

https://www1.rxnt.com/rxntwebservice/RxntWebService.asmx?WSDL

Original comment by jcreech...@gmail.com on 7 Jan 2010 at 5:08

GoogleCodeExporter commented 9 years ago
I also get compile errors when using r161 and having unsignedByte in the wsdl 
as in:
<s:element minOccurs="1" maxOccurs="1" name="Status" type="s:unsignedByte"/>

The compile error I get in the Objective-C code is:
    unsignedByte Status;
Expected specifier-qualifier-list before 'unsignedByte' 

Original comment by gershon....@gmail.com on 29 Apr 2010 at 5:01