jzhone / wsdl2objc

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

- [WSDLParser invokeStringWithAsync] creates bad operation.asyncInvokeString when no parameters #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. WSDL for operation with no input/output name
2. Can have an async call generated
3. Generate code

What is the expected output?
- 
(void)actionAsyncUsingDelegate:(id<SomeObjectResponseDelegate>)responseDelegate;

What do you see instead?
- (void)actionAsyncUsing 
delegate:(id<SomeObjectResponseDelegate>)responseDelegate;

Please use labels and text to provide additional information.

Binding_H.template needs some form of operation flag to declare whether 
operation.asyncInvokeString has an argument or not. 

Something to the effect of (making this up as I don't know the template syntax)

- (void)%«operation.asyncInvokeString»%(%IF operation.hasArg %THEN " d" %ELSE 
"D" %ENDIF)elegate:(id<%«className»ResponseDelegate>)responseDelegate;

Original issue reported on code.google.com by lordand...@gmail.com on 6 Jul 2011 at 10:56