Forum Discussion
iControl + PhP ... Big IP LTM: Viprion
Hello,
Can anyone tell, what could be the problem with this?
Trying to execute this https://devcentral.f5.com/wiki/iControl.Getting-Started-with-iControl-and-PHP.ashx?NS=iControl
Getting this error: Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://192.168.1.201/iControl/iControlPortal.cgi?WSDL=LocalLB.Pool' : failed to load external entity "https://192.168.1.201/iControl/iControlPortal.cgi?WSDL=LocalLB.Pool"
17 Replies
- Santhosh_173474
Nimbostratus
Can anyone please help on this?
- just some basics, is your bigip reachable on that IP for management, is iControl allowed, is the username / password ok, did you use only the final last code block?
- Santhosh_173474
Nimbostratus
I am using bigip Viprion devices
- Yes bigip is reachable as I can connect to web based config utility
- iControl allowed, how to make sure ? I have downloaded icontrol SDK and put the web server (WAMP)
- Yes, I have changed appropriate IP, U/S name , PWD
- Ofcourse, I have taken whole code block
This error seems, some problem with SOAP requirements - I have uncommented the php_SOAP in php.init
I suspect on version of iControl SDK and SOAP that I have put in the server, Could you please provide the appropriete correct links to download.
ok, i gave it a try myself. don't have a viprion but not sure how much that should matter.
i only installed SOAP support for PHP and nothing else and for me it works.
to which IP do you perform this request, the management one or a self IP?
where do you get the error: " Error: SOAP-ERROR: Parsing WSDL ... " on your httpd log?
if you perform the following command from the server you are running php on: curl 'https://admin:admin@/iControl/iControlPortal.cgi?WSDL=LocalLB.Pool' -k
do you get any response?
- Santhosh_173474
Nimbostratus
Sorry for delay! Please help....
-
The management IP
-
"Error: SOAP-ERROR: Parsing WSDL ..."
I'm getting this error on apache error log and browser. -
Where should I run this curl 'https://admin:admin@/iControl/iControlPortal.cgi?WSDL=LocalLB.Pool' -k ?
-
I am m not sure whether this package is correctly installed:- PEAR::SOAP package 0.10.1
-
the curl you can execute from the server on which you also loaded the php page. im assuming that is a unix / linux box, if it is windows im your might try putting that URL in a browser. it is a test to see if your server can reach the big-ip fine and gets a reponse which contains data.
as for your apache / php config, can't really help with that, i would advise you to google and see what people advise to turn on. in principle usually the error from apache can provide enough hints to understand what to turn on.
- Santhosh_173474
Nimbostratus
When I ran https://192.168.98.5/iControl/iControl-11.1.0/iControlPortal.cgi?WSDL=LocalLB.PoolMember on a browser
Response was:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. Error 404 192.168.98.5 Mon Jan 12 13:53:37 2015
It seems I need to configure server side, Is it?
Below is article by F5: The Server Components:
The second part of the iControl communication channel is the server side web services. These are implemented in a "Portal" process that runs under that administrative management port on the F5 devices. This Portal, listens for incoming secure and encrypted iControl calls, parses the incoming XML-based SOAP Message into native code, performs the relevant internal operations, and then generates and returns a XML-based SOAP Response to the client application.
- why did you add iControl-11.1.0 to the url and used PoolMember? if you didn't add the admin:admin@ section i would expect an authentication error message. there should be no need to configure anything on the server side in principle. which TMOS version are you running? can't find anything about it but it might be something related to the viprion platform. do you have another bigip around to test against? oh and you might try to contact support about this.
- Santhosh_173474
Nimbostratus
Hello,
I added icontrol-11.1.0..... Because, that's where my wdsl files are there in wamp server.... As the soap error was: " unable load wdsl entity" so I tried to access that through a browser but its big IP I am triying to access... meaning server side(viprion box) need to be implented with those PORTAL PROCESS ( /iControl.CGI=?wdsl=localLB.pool)
TMOS 11.3.0
so please do what i asked, try with the following exact url:
https://admin:admin@192.168.98.5/iControl/iControlPortal.cgi?WSDL=LocalLB.Poolwhat is the response then?
- Santhosh_173474
Nimbostratus
Thank you for a very quick response, at the moment I'm out, I will soon check and respond you.thanks again.
- Santhosh_173474
Nimbostratus
It is executing the pool wdsl xml program
output:
-->SESSION_STATUS_ENABLED ............... ....
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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