diff --git a/tests/dump-output/soap b/tests/dump-output/soap new file mode 100644 index 0000000..e1e31a2 --- /dev/null +++ b/tests/dump-output/soap @@ -0,0 +1,16 @@ +SimpleXML object (1 item) +[ + Element { + Namespace: 'http://schemas.xmlsoap.org/soap/envelope/' + Namespace Alias: 'soap' + Name: 'Envelope' + String Content: ' + + +' + Content in Namespace soap + Namespace URI: 'http://schemas.xmlsoap.org/soap/envelope/' + Children: 2 - 1 'Body', 1 'Header' + Attributes: 0 + } +] diff --git a/tests/input/soap.xml b/tests/input/soap.xml new file mode 100644 index 0000000..cf210f0 --- /dev/null +++ b/tests/input/soap.xml @@ -0,0 +1,15 @@ + + + + + test + letmein + + + + + A + B + + + diff --git a/tests/tree-output/soap b/tests/tree-output/soap new file mode 100644 index 0000000..d212f00 --- /dev/null +++ b/tests/tree-output/soap @@ -0,0 +1,15 @@ +SimpleXML object (1 item) +[0] // + ->children('soap', true) + ->Header[0] + ->children('s', true) + ->credentials[0] + ->children('', true) + ->username[0] + ->password[0] + ->Body[0] + ->children('tns', true) + ->DoSomething[0] + ->children('', true) + ->from[0] + ->to[0]