arishanapalli / wsdl2objc

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

Soap and Soap 1.2 operation parameter generation fails. #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

   1. Point at this URL: http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL
   2. Generate the code.
   3. Soap 1.x and Soap 1.2 operation parameter generation fails...

What is the expected output?

    Prolly should be the not present or have the input param

What do you see instead?

Something like this for Soap and Soap 1.2 operations. Http Get/Set look fine 
thus far....

@interface WeatherSoap12_GetWeatherInformation : NSOperation {
    WeatherSoap12 *binding;
    WeatherSoap12Response *response;

    %«part.element.type.classNameWithPtr» *** ERROR: undefined key ***  parameters;
}
@property (retain) WeatherSoap12 *binding;
@property (readonly) WeatherSoap12Response *response;
@property (retain) %«part.element.type.classNameWithPtr» *** ERROR: undefined 
key ***  parameters;
- (id)initWithBinding:(WeatherSoap12 *)aBinding
    parameters:(%«part.element.type.classNameWithPtr» *** ERROR: undefined key *** )aParameters
;
@end

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

    Mac OS X 10.5.5, Xcode 3.1.1, iPhone SDK 2.1

Please provide any additional information below.

    Just found this codebase and it aligns well with some features I need for some projects. I started playing with the 0.3 release but using 
MGTemplateEngine (because of commerical friendly license) and an expansion of 
the GDataXMLNode classes from the GData ObjC APIs, which I 
prefer over TouchXML at this point. I build the the XML elements for envelopes 
and body content on the fly in my current SOAP serialization code.  
I have .NET 3.5 WCF based services (and WSSE eventually) to work with and it 
annoys me that the WinMobile dude can do stuff quickly while I need 
to read WSDLs and XSDs and an ever expanding namespace and type flow control in 
my current Soap encoding code. ;)

  I develop native  apps for iPhone and have been doing Cocoa/CF/OS X development full time for the past 5 years. I'd be happy to help with 
iPhone SDK support and/or alternate template engine support. Let me know and 
great work so far...

Original issue reported on code.google.com by davidmorford on 23 Oct 2008 at 11:13

GoogleCodeExporter commented 9 years ago
The STLTemplateEngine is the only one I knew existed in a Cocoa codebase.  I 
would love some help on 
moving it to something that's being developed and actually has been designed 
with more than config files in 
mind.  I've had to add a lot to the current engine to get it to work with this 
kind of data.  Replacing it 
entirely is not something I worry about.

I actually moved away from TouchXML before release 0.1 even.  It wasn't 
anywhere near ready for this kind 
of xml processing.  The generated code will use libxml2 directly.

For the actual issue described, I'm beginning to take a look at it now.

Original comment by madcow...@gmail.com on 24 Oct 2008 at 7:14

GoogleCodeExporter commented 9 years ago
This should be fixed in 0.4.  Please let me know your results

Original comment by madcow...@gmail.com on 24 Oct 2008 at 8:25

GoogleCodeExporter commented 9 years ago
Great! Will give a try this afternoon and let you know what I find...

Original comment by davidmorford on 24 Oct 2008 at 9:20

GoogleCodeExporter commented 9 years ago
I ran 0.5 on Amazon.com's AWSE WSDL, and I get tons of lines like the ones 
described
in this post (%«part.element.type.classNameWithPtr» *** ERROR: undefined key 
***).

The WSDL is at:
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

Original comment by bhs2...@gmail.com on 27 Mar 2009 at 3:54