Forum Discussion
Jalal_Haider_Ma
Mar 03, 2014Nimbostratus
nodejs with iControl SDK - assertion error while consuming SOAP
Actually I am going to consume iControl SDK using nodejs, but unfortunately I am stuck with a problem, I am new to iControl and nodejs using SOAP. I asked a question on stackoverflow(http://stackoverflow.com/questions/22155880/nodejs-assertion-error-while-consuming-soap) for seeking help, but I thought it would be better to ask on relevant place.
Please help me with this what is making things wrong? Thanks!
- I haven't accessed the iControl SOAP web services from Node.js. What package are you using to do the SOAP serialization?
- Doh, should have read the link you provided. Our implementation of iControl is built using a RPC-Encoded format. We designed the API back in the 2001 timeframe. Since then, the Doc-Literal format has become the recommended standard but many of the client toolkits continue to support RPC-ENC (.net, Apache Axis-v1, SOAP::Lite, etc). The error you are seeing is most likely due to the fact that the soap package you are using does not support RPC based encoding.
- Jalal_Haider_MaNimbostratusThanks Joe for your quick response. Well I verified with the soap package what I am using is supporting RPC (https://github.com/vpulim/node-soap) encoding style. It basically able to get the list of available methods by client.describe() method. but when I try to get the list of virtual servers using client.get_list(args, callback) it gives me assertion error. I looked in the API reference we don't require any args to be passed. Do we need to set some SOAP headers for it to make it work?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects