senojsitruc / wsdl2objc

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

Error parsing wsdl. Due to embedded element, schema and any? #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start with a wsdl file containing an element like:

      <s:element name="QueryDBResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="QueryDBResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>

2.  Execute WSDL2ObjC with first field pointing to above wsdl file.
3.  Attempt to compile resultant Objective-C files

What is the expected output?

Compile with no errors.

What do you see instead?

@interface WebServiceSvc_QueryDBResult : NSObject {

/* elements */
    %«element.type.classNameWithPtr» *** ERROR: undefined key ***  %«element.name» *** 
ERROR: undefined key *** ;
/* attributes */
}

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

WSDL2ObjC compiled from r161 on Mac OS 10.6.3

Please provide any additional information below.

Original issue reported on code.google.com by gershon....@gmail.com on 2 May 2010 at 12:38

GoogleCodeExporter commented 8 years ago
Hi,
I've encountered the same thing with the ASP alliance tutorial web service 
DataService here:
http://authors.aspalliance.com/quickstart/aspplus/samples/services/DataService/V
B/DataService.asmx
this also seems to be related to issue #61 I think (at least in my case, I'm 
getting similar symptoms)
Since issue #61 was opened on Nov 2009, was this already fixed in wsdl2objc 0.7 
pre-release? or is there an ETA as to which version should contain the fix?

thanks.

Original comment by sagim...@gmail.com on 11 Jul 2010 at 2:26