sanshelly / wsdl2objc

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

Incorrect wsdl parse #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. I downloaded wsdl2objc version 0.5.
2. I tryed to parse wsdl from http://www.freebiesms.co.uk/sendsms.asmx?WSDL
3. I receive sendSmsSvc.h and see that sendSmsSvc_SendSmc have no attributes 
and elements.
@interface sendSmsSvc_SendSms : NSObject {

/* elements */
/* attributes */
}

Original issue reported on code.google.com by Igor.Tar...@gmail.com on 16 Mar 2009 at 7:05

GoogleCodeExporter commented 8 years ago
Here is my small workaround. Chechkout a wsdl2objc and apply the patch 
attached. The result is useful for me 
and helps with your WSDL. The change has been made for WSDL logic used in MSVS 
2008 Web Services

Original comment by vodes...@gmail.com on 25 Mar 2009 at 2:11

Attachments:

GoogleCodeExporter commented 8 years ago
thanks, i'll try your small workaround

Original comment by Igor.Tar...@gmail.com on 14 May 2009 at 7:29

GoogleCodeExporter commented 8 years ago
Thanks for this patch, it works for me...
However, I still have WSDL parsing bugs when I try to parse attached WSDL 
definition.

@interface QueryServiceSvc_QueryResult : NSObject {

/* elements */
    USBoolean * noMoreItems;
    NSNumber * nTransports;
    %«element.type.classNameWithPtr» *** ERROR: undefined key ***  transports;
/* attributes */
}
- (NSString *)nsPrefix;
- (NSString *)serializedFormUsingElementName:(NSString *)elName;
- (NSString *)serializedAttributeString;
- (NSString *)serializedElementString;
+ (QueryServiceSvc_QueryResult *)deserializeNode:(xmlNodePtr)cur;
- (void)deserializeAttributesFromNode:(xmlNodePtr)cur;
- (void)deserializeElementsFromNode:(xmlNodePtr)cur;
/* elements */
@property (retain) USBoolean * noMoreItems;
@property (retain) NSNumber * nTransports;
@property (%«element.type.assignOrRetain» *** ERROR: undefined key *** )
%«element.type.classNameWithPtr» *** ERROR: undefined key ***  transports;
/* attributes */
- (NSDictionary *)attributes;
@end

Original comment by boivin.jerome@gmail.com on 9 Jun 2009 at 9:56

Attachments:

GoogleCodeExporter commented 8 years ago
Same bug as #16

Original comment by hasse...@gmail.com on 31 Aug 2009 at 8:24

GoogleCodeExporter commented 8 years ago
Try the version in the iPhone branch.
I've successfully parsed your QueryService.wsdl file.

Original comment by hasse...@gmail.com on 4 Sep 2009 at 1:17