Forum Discussion

Naman_65674's avatar
Naman_65674
Icon for Nimbostratus rankNimbostratus
Jul 17, 2008

iControl + SOAP

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

 

 

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

 

=Content-Type=text/xml

 

 

Name: admin

 

 

Password: ******

 

 

Method: POST

 

 

 

 

 

 

 

I also tried the URL: https://admin:***@172.20.178.130/iControl/iControlPortal.cgi but no luck.

 

 

Am I missing something fundamental?

 

 

Cheers,

 

Naman
  • 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
  • Don_MacVittie_1's avatar
    Don_MacVittie_1
    Historic F5 Account
    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.
  • 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.
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    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