senojsitruc / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request parameters not working

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1.

 InterogatorSoap *b = [[Interogator InterogatorSoap]initWithAddress:@"http://sw.ecofarmacia.ro:8882/Interogator.asmx"];
        b.logXMLInOut = YES;

        Interogator_bunaLume *bn = [[Interogator_bunaLume alloc]init];
        [bn setNume:@"Andrew"];


        InterogatorSoapResponse *resp = [b bunaLumeUsingParameters:bn];

        for (id mine in resp.bodyParts)
        {
            if ([mine isKindOfClass:[Interogator_bunaLumeResponse  class]])
                {
                    NSLog(@"%@", [mine bunaLumeResult]);
                }


What is the expected output?
ResponseBody:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><bunaLumeResponse 
xmlns="http://sw.infofarm.ro/"><bunaLumeResult>Buna 
Andrew!</bunaLumeResult></bunaLumeResponse></soap:Body></soap:Envelope>

What do you see instead?
ResponseBody:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><bunaLumeResponse 
xmlns="http://sw.infofarm.ro/"><bunaLumeResult>Buna 
!</bunaLumeResult></bunaLumeResponse></soap:Body></soap:Envelope>

What version of the product are you using? On what operating system?
WSDL2ObjC-0.6.zip

Please provide any additional information below.

The problem is that i set the property of Interogator_bunaLume.nume = 
@"Andrew", but it does not show in the result, it shows only "Buna !".

Original issue reported on code.google.com by andreida...@gmail.com on 9 Sep 2013 at 9:04