dungyi / wsdl2objc

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

Generated code without elements and attributes. #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate code from: https://www.smoneybox.com/service/service.wsdl
2. The code is without attributes and elements in sMoneyboxServiceSvc.h\.m

What is the expected output?
I expected list of attributes and elements generated from wsdl file.
e.x. 
In type ServiceUser from this wsdl there are two attributes:
default_account_id and currency_symbol

What do you see instead?
empty definition only comment:
@interface sMoneyboxServiceSvc_ServiceUser : NSObject {

/* elements */
/* attributes */
}

What version of the product are you using? On what operating system?
0.6 on MAC 10.5.8

Please provide any additional information below.
wsdl from https://www.smoneybox.com/service/service.wsdl and
Generated .h file is attached

Original issue reported on code.google.com by vaclav.d...@gmail.com on 2 Oct 2009 at 1:05

Attachments:

GoogleCodeExporter commented 8 years ago
It's because xsd:all isn't supported.
In the wsdl, replace xsd:all with xsd:any as a temporary workaround, and rerun 
the code generation.

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

GoogleCodeExporter commented 8 years ago
Thanks, with "xsd:any"  all is ok.

Original comment by vaclav.d...@gmail.com on 2 Oct 2009 at 2:20

GoogleCodeExporter commented 8 years ago
Another problem with this wsdl:

Generated message in objc has not good syntax:
- (void)UserAsyncUsing 
delegate:(id<sMoneyboxServiceBindingResponseDelegate>)responseDelegate;
Code in sMoneyBoxServiceSvc.h file in interface sMoneyboxServiceBinding.

Error:
/Users/radecare/Documents/iPhone/Code/ClientMoneyBox/Classes/sMoneyboxService.h:
169: error: 
expected ';' before 'delegate'

My temporary workaround is comment this out, because now I doesn't need async 
connection, but I'm 
planning it in the future.

Please can you help me with this.
Thanks a lot. (And thanks a lot for this generator)

Original comment by vaclav.d...@gmail.com on 2 Oct 2009 at 6:19

GoogleCodeExporter commented 8 years ago
I am also getting the error :

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:42:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:42: error: expected 
';' before 'delegate'

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:44:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:44: error: expected 
';' before 'delegate'

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:46:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.h:46: error: expected 
';' before 'delegate'

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:102:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:102: error: expected 
'{' before 'delegate'

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:112:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:112: error: expected 
'{' before 'delegate'

/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:122:0 
/Users/nakulkundra/Documents/Nakulz3D/RenderServer3DSvc.m:122: error: expected 
'{' before 'delegate'

-----

Please Guide Further

Original comment by kundra.n...@gmail.com on 4 Apr 2011 at 11:15

Attachments:

GoogleCodeExporter commented 8 years ago
Issue 72 has been merged into this issue.

Original comment by pmilosev on 4 Oct 2011 at 12:21