sanshelly / wsdl2objc

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

Generated code cannot compile for the iPhone (SDK 2.1.1) #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce the problem:
1. Download https://demo.docusign.net/api/3.0/Credential.asmx?WSDL and save the 
file with 
.xml extension.
2. Launch WSDL2ObjC, browse to the saved file, browse to an empty folder for 
output directory.
3. Click "Parse WSDL"

The expected output is a valid objC file, but I see some errors like this in 
the generated code: %«element.type.className» *** ERROR: undefined key ***
The compilation fails with error: syntax error before '%' token.

Using wsdl2objc version 0.5, Xcode 3.12, Mac OS X 10.5.7

Original issue reported on code.google.com by dobromir...@gmail.com on 16 May 2009 at 5:03

GoogleCodeExporter commented 8 years ago
I have fixed this, but cannot find out how to contact the project owner to join 
the project to upload the fixes.  If 
you know how, let me know...

Original comment by goo...@faupel.org on 15 Jun 2009 at 3:29

GoogleCodeExporter commented 8 years ago
Matthew, I greatly appreciate all the changes you made to this project to 
support the 
iPhone and everything else. I had used the project before but ended up 
rewriting so 
much of the generated code to get it run in my application. Now after a few 
small 
tweaks of my own my generated code builds on the first try.

One of the things I changed was in USAttribute.m, line 64. You have a method 
called 
setAttributeName and I believe it is supposed to be a property setter method 
called 
setName. Without that change all of my attributes had empty wsdlnames. I also 
added 
in support for unsignedBytes because the webservices I use have lots of them. 
But 
other than that your changes have made this project so much better. Thank you 
for 
sharing your work.

Original comment by thaddeus...@gmail.com on 2 Jul 2009 at 2:24

GoogleCodeExporter commented 8 years ago
@thaddeusbort, I committed your change in USAttribute.m to the iphone branch.
Thanks.

Original comment by hasse...@gmail.com on 3 Sep 2009 at 8:54

GoogleCodeExporter commented 8 years ago

Original comment by hasse...@gmail.com on 5 Sep 2009 at 5:02

GoogleCodeExporter commented 8 years ago
https://demo.docusign.net/api/3.0/Credential.asmx?WSDL
now compiles properly (revision 104 on iPhone branch).

Original comment by hasse...@gmail.com on 5 Sep 2009 at 6:17