Forum Discussion

markp's avatar
markp
New Contributor
13 years ago

web service for iphone using wsdl

Hi all, Am new to this SoapUI.

I have an wsdl link which is generated by magento application. Also I have an iPhone application in which this web service to be integrated. Now am trying to generate the objective C files for the web services between the magento and the iPhone. i Tried using of Google project wsdl2Objc http://code.google.com/p/wsdl2objc/ and sudzc.com http://www.sudzc.com for the conversion but still can't achieve it. From the link http://stackoverflow.com/questions/7446229/how-to-call-wsdl-webservices-from-iphone-application i came to know about the using of soapui for this purpose, but having a wage idea of it. Can anyone tell me how to use the wsdl link to convert the wsdl to objective c file using this soapUI. your help is highly appreciated.


Regards,
Mark

3 Replies

  • tjdurden's avatar
    tjdurden
    Frequent Contributor
    Hi Mark,

    I'm sure someone will correct me if I'm wrong, but SoapUI is not built for converting WSDLs to Objective C (code). By importing the WSDL into SoapUI, you are able to access the various operations contained within it, and SoapUI will automatically generate sample requests for each of these operations. You could then use the generated request as part of your Obj-C code.

    Kind regards,
    Tim
  • markp's avatar
    markp
    New Contributor
    Thanks for your reply tjdurden, I just installed the soapui and created a new project file with providing the wsdl link but it shown an error like this


    ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:138)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:535)
    at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:226)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
    at java.lang.Thread.run(Thread.java:680)


    am using magento link as it contains php file. will soapUI supports php