rsjudge17 / wsdl2objc

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

Generated code incorrect #199

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate the code

What is the expected output?

xmlNodePtr bodyNode;
for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) {
if(/*cur*/ bodyNode->type == XML_ELEMENT_NODE) { // <- Correct
if(xmlStrEqual(bodyNode->name, (const xmlChar *) "xxxxxx")) {

What do you see instead?

xmlNodePtr bodyNode;
for(bodyNode=cur->children ; bodyNode != NULL ; bodyNode = bodyNode->next) {
if(cur->type == XML_ELEMENT_NODE) { // <----- Wrong
if(xmlStrEqual(bodyNode->name, (const xmlChar *) "xxxxxx")) {

What version of the product are you using? On what operating system?

WSDL2ObjC-0.6

Please provide any additional information below.

Soap faults are not handled correctly. The code crashes.

Original issue reported on code.google.com by pe...@epona.nl on 4 Jun 2013 at 3:25