Forum Discussion
Tom_Thunem_9204
Nimbostratus
Jan 26, 2011Capturing SOAP envelope
I am trying to capture all or part of a SOAP envelope and I am not sure how to reference the fields therein. I want to capture the contents if it contains the web service with the root element in soap body: resetLdapPassword. The attached sample is an envelope I would like to capture because they are using the resetLdapPassword element.
Thanks
10 Replies
- Chris_Miller
Altostratus
Edit: Nevermind, looks like XML::soap is deprecated. I'll dig something up. - Chris_Miller
Altostratus
This might be the way to go:
http://devcentral.f5.com/wiki/default.aspx/iRules/XMLFieldLoggerUsingHTTPCommands.html
You'll be capturing all the data, but do you simply want to log those envelopes? - Tom_Thunem_9204
Nimbostratus
i only want the envelopes when they contain "resetLdapPassword". just like this one...
customer10@avnetexpress.eu
Christmas10
reset - Tom_Thunem_9204
Nimbostratus
my last reply appeared to paste correctly, but i see that it didn't. the envelope i am trying to capture is one as shown in my original attachment to this post. - Chris_Miller
Altostratus
Understood Tom, but how do you want to capture it? Log it to your local traffic manager logs? - Tom_Thunem_9204
Nimbostratus
yes, log local0 is what i had in mind. - Chris_Miller
Altostratus
Jason Rahm was kind enough to send me this.
http://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm_implementation/sol_xml_cbr.html1031571
If I get time today, I'll try and write something. - Tom_Thunem_9204
Nimbostratus
Thanks Chris,
I will tinker with it as well. - Tom_Thunem_9204
Nimbostratus
Chris,
I neglected to mention i am running 9.4.8. is the article that Jason provided version 10? I don't see the option to create an XML profile in the services section in profile creation. - Chris_Miller
Altostratus
Yep...v10. Would have to upgrade if that was the only option.
Since you're on 9.x, you can use XML::soap but that goes away in v10 so I can't advise that. Might just have to use tcp::collect or HTTP::collect. You can read about both on the iRules commands page.
https://devcentral.f5.com/wiki/default.aspx/iRules.Commands
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
