# iControl + SOAP

**URL:** <https://community.f5.com/t/icontrol-soap/24485>\
**Category:** Technical Forums\
**Tags:** icontrol, dev, devops\
**Created:** [July 17, 2008, 7:11am UTC](https://community.f5.com/t/icontrol-soap/24485 "2008-07-17T07:11:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naman\_65674](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@Naman\_65674](https://community.f5.com/u/Naman_65674)\
**Post date:** [July 17, 2008, 7:11am UTC](https://community.f5.com/t/icontrol-soap/24485/1 "2008-07-17T07:11:26Z")

</div>

Hey all,

Ive written a few iControl java applications and I am now a little familiar with the potential of it all. I want to now explore the webservices part, specially how to call the webservice with a simple client sending a SOAP message. I am using a web application tool called TIBCO to mock up something and hit a brick wall.

Im trying to call get\_all\_statistics in LocalLB:VirtualServer. The test uses:

URL: [https://172.20.178.130/iControl/iControlPortal.cgi](https://172.20.178.130/iControl/iControlPortal.cgi)

HTTP Headers: =SOAPAction=urn:iControl:LocalLB/VirtualServer

=Content-Type=text/xml

Name: admin

Password: \*\*\*\*\*\*

Method: POST

I also tried the URL: [https://admin](https://admin):\*\*\*@172.20.178.130/iControl/iControlPortal.cgi but no luck.

Am I missing something fundamental?

Cheers,

Naman

---

<div class="post-metadata">

**Author:** ![Joe\_Pruitt](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/joe_pruitt/32/8438_2.png) [@Joe\_Pruitt](https://community.f5.com/u/Joe_Pruitt)\
**Post date:** [July 17, 2008, 8:19am UTC](https://community.f5.com/t/icontrol-soap/24485/2 "2008-07-17T08:19:12Z")

</div>

At first glance that looks good to me. Are you getting an error returned? Is the result empty? What specifically is the problem you are seeing?

-Joe

---

<div class="post-metadata">

**Author:** ![Don\_MacVittie\_1](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@Don\_MacVittie\_1](https://community.f5.com/u/Don_MacVittie_1)\
**Post date:** [July 17, 2008, 6:55pm UTC](https://community.f5.com/t/icontrol-soap/24485/3 "2008-07-17T18:55:55Z")

</div>

Agreed with Joe, the SOAP that you’re showing looks like the request, what are you getting back?

Which TIBCO tool are you using for the mock-up? It won’t modify our answers, I’m just curious because I’ve used TIBCO and their tools are some nice stuff.

Don.

---

<div class="post-metadata">

**Author:** ![Naman\_65674](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@Naman\_65674](https://community.f5.com/u/Naman_65674)\
**Post date:** [July 18, 2008, 5:40am UTC](https://community.f5.com/t/icontrol-soap/24485/4 "2008-07-18T05:40:44Z")

</div>

Im using tibco 3.6.0. These are the steps im following

1. I create a new mapping rule and load C:\dev\iControl-9.4.0/sdk/wsdl/LocalLB.VirtualServer.wsdl file

2. Then i select get\_all\_statistics and click test (attached picture: pic1)

3. I select “test” and it looks like it sends the request but I get a “Service Error”. Im not sure if this is from the F5 or tibco though (pic2)

I dont believe there are any log files for me to lookup. A bit stumped.

---

<div class="post-metadata">

**Author:** ![Hamish](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hamish](https://community.f5.com/u/Hamish)\
**Post date:** [July 21, 2008, 9:46am UTC](https://community.f5.com/t/icontrol-soap/24485/5 "2008-07-21T09:46:22Z")

</div>

If you have a test F5, you can enable http on the iControl http server and then tcpdump the traffic between the client and the F5… You can then see the query & response & work out who’s giving what error (Perls SOAP::Lite has a nice debug facility that shows you all this without needing to snoop, but I don’t know if Tibco does… never used it).

H
