divyavamsee / wsdl2objc

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

Need to send xml to WebService. The code generated seems wrong. #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create the files from the web service: 
http://www.penapplications.com/TestApps/penApi.asmx
2. The web method "RunActionXml" expects an xml as an input parameter 
(XmlDocument in .Net)
3. The class penApi.m (generated by wsdl2objc) creates the class 
penAPI_parameters, where the xml is suppose to go, but I'm not sure how to 
build and send the xml. The generated class looks really strange

What is the expected output?

I expect a way to send my xml document like request.parameters = xmldocument 
(or something similar)

What do you see instead?

I see a class that I cannot work with

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

WSDL2Objc-0.7-pre1 on Mac OSX Version 10.7.4

Please provide any additional information below.

Inside the class penAPI.m a class penAPI_parameters has been generated, I 
should be able to assign my xml to myRequest.parameters, but I don't know how 
to work with the generated class.
Regards

Original issue reported on code.google.com by rafade...@gmail.com on 5 Nov 2012 at 4:58

Attachments: