Is SOAP webservices not supported in servoy ?
I saw some posts which tell about kydome plugin, but that plugin looks to have been become obsolete.
Thanks.
myRequest.execute().getAddress().getCity().getValue()
sean wrote:If the xml that you are consuming has complex types / lots of nested elements, you could consider using the WSDL2Java tool from Apache.
We've taken this approach for complex corporate services, like UPS/FedEx, etc.
It will generate Java classes that map to the service. You can compile them and and place them in your classpath (i.e. plugins dir)
Then all the HTTP and XML parsing and error handling is done for you and you get method calls, like:
- Code: Select all
myRequest.execute().getAddress().getCity().getValue()
You don't need to know java, but you would need to install the JDK so you can compile the stubs.
Starting from scratch it should take no more than a few hours, but it's probably not worth doing for simpler SOAP services.
Return to Programming with Servoy
Users browsing this forum: No registered users and 11 guests