Skip to content

Commit

Permalink
Change wsa-prefix to wsa10 for the 200508 specification
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Oct 16, 2024
1 parent b26398d commit 9266c38
Show file tree
Hide file tree
Showing 109 changed files with 263 additions and 275 deletions.
2 changes: 1 addition & 1 deletion src/XML/wsa_200508/AbstractWsaElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ abstract class AbstractWsaElement extends AbstractElement
public const NS = C::NS_ADDR_200508;

/** @var string */
public const NS_PREFIX = 'wsa';
public const NS_PREFIX = 'wsa10';
}
7 changes: 3 additions & 4 deletions src/XML/wst_200502/Issuer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace SimpleSAML\WSSecurity\XML\wst_200502;

use SimpleSAML\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\AbstractEndpointReferenceType;
use SimpleSAML\WSSecurity\XML\wsa_200408\AbstractEndpointReferenceType;

/**
* An Issuer element
Expand All @@ -22,8 +22,7 @@ final class Issuer extends AbstractEndpointReferenceType

/** The exclusions for the xs:any element */
public const XS_ANY_ELT_EXCLUSIONS = [
['http://www.w3.org/2005/08/addressing', 'Address'],
['http://www.w3.org/2005/08/addressing', 'Metadata'],
['http://www.w3.org/2005/08/addressing', 'ReferenceParameters'],
['http://schemas.xmlsoap.org/ws/2004/08/addressing', 'Address'],
['http://schemas.xmlsoap.org/ws/2004/08/addressing', 'ReferenceParameters'],
];
}
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wsa_200508/MetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testMarshallingWithNoContent(): void
{
$metadata = new Metadata([], []);
$this->assertEquals(
'<wsa:Metadata xmlns:wsa="http://www.w3.org/2005/08/addressing"/>',
'<wsa10:Metadata xmlns:wsa10="http://www.w3.org/2005/08/addressing"/>',
strval($metadata),
);
$this->assertTrue($metadata->isEmptyElement());
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wsa_200508/ProblemActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function testMarshallingEmptyElement(): void
$wsans = C::NS_ADDR_200508;
$problemAction = new ProblemAction();
$this->assertEquals(
"<wsa:ProblemAction xmlns:wsa=\"$wsans\"/>",
"<wsa10:ProblemAction xmlns:wsa10=\"$wsans\"/>",
strval($problemAction),
);
$this->assertTrue($problemAction->isEmptyElement());
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wsa_200508/ProblemHeaderQNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function testMarshalling(): void
{
$attr1 = new Attribute('urn:x-simplesamlphp:namespace', 'ssp', 'attr1', 'value1');

$problemHeaderQName = new ProblemHeaderQName('wsa:Action', [$attr1]);
$problemHeaderQName = new ProblemHeaderQName('wsa10:Action', [$attr1]);

$this->assertEquals(
self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testMarshallingWithNoContent(): void
{
$referenceParameters = new ReferenceParameters([], []);
$this->assertEquals(
'<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/>',
'<wsa10:ReferenceParameters xmlns:wsa10="http://www.w3.org/2005/08/addressing"/>',
strval($referenceParameters),
);
$this->assertTrue($referenceParameters->isEmptyElement());
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wsa_200508/RelatesToTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function testMarshallingWithNoContent(): void
{
$relatesTo = new RelatesTo(null, []);
$this->assertEquals(
'<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"/>',
'<wsa10:RelatesTo xmlns:wsa10="http://www.w3.org/2005/08/addressing"/>',
strval($relatesTo),
);
$this->assertTrue($relatesTo->isEmptyElement());
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/AuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractAuthenticatorType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Authenticator;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/ClaimsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractClaimsType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Claims;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/DelegateToTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractDelegateToType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\DelegateTo;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/EncryptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractEncryptionType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Encryption;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/EntropyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractEntropyType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Entropy;
Expand Down
4 changes: 2 additions & 2 deletions tests/WSSecurity/XML/wst_200502/IssuedTokensTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\AbstractEndpointReferenceType;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\AbstractEndpointReferenceType;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\IssuedTokens;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestSecurityTokenResponse;
Expand Down
22 changes: 8 additions & 14 deletions tests/WSSecurity/XML/wst_200502/IssuerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\WSSecurity\XML\wsa_200508\AbstractEndpointReferenceType;
use SimpleSAML\WSSecurity\XML\wsa_200508\Address;
use SimpleSAML\WSSecurity\XML\wsa_200508\Metadata;
use SimpleSAML\WSSecurity\XML\wsa_200508\ReferenceParameters;
use SimpleSAML\WSSecurity\XML\wsa_200408\AbstractEndpointReferenceType;
use SimpleSAML\WSSecurity\XML\wsa_200408\Address;
use SimpleSAML\WSSecurity\XML\wsa_200408\ReferenceParameters;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Issuer;
use SimpleSAML\XML\Attribute;
Expand Down Expand Up @@ -59,10 +58,6 @@ public static function setUpBeforeClass(): void
'<m:GetPrice xmlns:m="https://www.w3schools.com/prices"><m:Item>Pears</m:Item></m:GetPrice>',
)->documentElement;

self::$metadataContent = DOMDocumentFactory::fromString(
'<m:GetPrice xmlns:m="https://www.w3schools.com/prices"><m:Item>Apples</m:Item></m:GetPrice>',
)->documentElement;

self::$customContent = DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">SomeChunk</ssp:Chunk>',
)->documentElement;
Expand All @@ -77,21 +72,20 @@ public static function setUpBeforeClass(): void
*/
public function testMarshalling(): void
{
$attr1 = new Attribute('urn:x-simplesamlphp:namespace', 'ssp', 'test1', 'value1');
$attr2 = new Attribute('urn:x-simplesamlphp:namespace', 'ssp', 'test2', 'value2');
$attr3 = new Attribute('urn:x-simplesamlphp:namespace', 'ssp', 'test3', 'value3');
$attr4 = new Attribute('urn:x-simplesamlphp:namespace', 'ssp', 'test4', 'value4');

$referenceParameters = new ReferenceParameters([new Chunk(self::$referenceParametersContent)], [$attr4]);
$metadata = new Metadata([new Chunk(self::$metadataContent)], [$attr3]);
$referenceParameters = new ReferenceParameters([new Chunk(self::$referenceParametersContent)]);
$chunk = new Chunk(self::$customContent);

$issuer = new Issuer(
new Address('https://login.microsoftonline.com/login.srf', [$attr2]),
null,
$referenceParameters,
$metadata,
null,
null,
[$chunk],
[$attr1],
[$attr4],
);

$this->assertEquals(
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/KeyExchangeTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractKeyExchangeTokenType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\KeyExchangeToken;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/OnBehalfOfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractOnBehalfOfType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\OnBehalfOf;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/ParticipantTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractParticipantType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Participant;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/ParticipantsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractParticipantsType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Participant;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/PrimaryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractParticipantType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Primary;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/ProofEncryptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractProofEncryptionType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\ProofEncryption;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractRequestSecurityTokenResponseCollectionType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestSecurityTokenResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractRequestSecurityTokenResponseType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestSecurityTokenResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractRequestSecurityTokenType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestSecurityToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractRequestedProofTokenType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestedProofToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractRequestedSecurityTokenType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\RequestedSecurityToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractSignChallengeType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Challenge;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/SignChallengeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractSignChallengeType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\Challenge;
Expand Down
2 changes: 1 addition & 1 deletion tests/WSSecurity/XML/wst_200502/UseKeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use PHPUnit\Framework\TestCase;
use SimpleSAML\SOAP\Constants as SOAP;
use SimpleSAML\Test\WSSecurity\Constants as C;
use SimpleSAML\WSSecurity\XML\wsa_200508\MessageID;
use SimpleSAML\WSSecurity\XML\wsa_200408\MessageID;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractUseKeyType;
use SimpleSAML\WSSecurity\XML\wst_200502\AbstractWstElement;
use SimpleSAML\WSSecurity\XML\wst_200502\UseKey;
Expand Down
14 changes: 7 additions & 7 deletions tests/resources/xml/fed_ApplicationServiceEndpoint.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<fed:ApplicationServiceEndpoint xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706">
<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa:Address>
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<wsa10:EndpointReference xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa10:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa10:Address>
<wsa10:ReferenceParameters xmlns:wsa10="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Pears</m:Item>
</m:GetPrice>
</wsa:ReferenceParameters>
<wsa:Metadata ssp:test3="value3">
</wsa10:ReferenceParameters>
<wsa10:Metadata ssp:test3="value3">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Apples</m:Item>
</m:GetPrice>
</wsa:Metadata>
</wsa10:Metadata>
<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">SomeChunk</ssp:Chunk>
</wsa:EndpointReference>
</wsa10:EndpointReference>
</fed:ApplicationServiceEndpoint>
14 changes: 7 additions & 7 deletions tests/resources/xml/fed_AttributeServiceEndpoint.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<fed:AttributeServiceEndpoint xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706">
<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa:Address>
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<wsa10:EndpointReference xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa10:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa10:Address>
<wsa10:ReferenceParameters xmlns:wsa10="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Pears</m:Item>
</m:GetPrice>
</wsa:ReferenceParameters>
<wsa:Metadata ssp:test3="value3">
</wsa10:ReferenceParameters>
<wsa10:Metadata ssp:test3="value3">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Apples</m:Item>
</m:GetPrice>
</wsa:Metadata>
</wsa10:Metadata>
<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">SomeChunk</ssp:Chunk>
</wsa:EndpointReference>
</wsa10:EndpointReference>
</fed:AttributeServiceEndpoint>
14 changes: 7 additions & 7 deletions tests/resources/xml/fed_AttributeServiceEndpoints.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<fed:AttributeServiceEndpoints xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706">
<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa:Address>
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<wsa10:EndpointReference xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:ssp="urn:x-simplesamlphp:namespace" ssp:test1="value1">
<wsa10:Address ssp:test2="value2">https://login.microsoftonline.com/login.srf</wsa10:Address>
<wsa10:ReferenceParameters xmlns:wsa10="http://www.w3.org/2005/08/addressing" ssp:test4="value4">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Pears</m:Item>
</m:GetPrice>
</wsa:ReferenceParameters>
<wsa:Metadata ssp:test3="value3">
</wsa10:ReferenceParameters>
<wsa10:Metadata ssp:test3="value3">
<m:GetPrice xmlns:m="https://www.w3schools.com/prices">
<m:Item>Apples</m:Item>
</m:GetPrice>
</wsa:Metadata>
</wsa10:Metadata>
<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">SomeChunk</ssp:Chunk>
</wsa:EndpointReference>
</wsa10:EndpointReference>
</fed:AttributeServiceEndpoints>
Loading

0 comments on commit 9266c38

Please sign in to comment.