[
https://issues.apache.org/jira/browse/AXIS2-5597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818105#comment-13818105
]
Maarten van den Broek commented on AXIS2-5597:
----------------------------------------------
I was on the wrong track with BP1.2 compliancy. Actually, BP1.1 has been
checked. I have downloaded the BP1.1 compliancy test tools from
http://www.ws-i.org/Testing/Tools/2005/06/WSI_Test_Java_Final_1.1.zip and
tested the message with these tools.
The conclusion of this test is that the axis2 addressing module does not
produce BP1.1 compliant messages. The reason for this I have given in the first
entry for this post. It would be nice if this issue could be fixed.
The input and the results of the test are given below.
The message as captured by TCPIPMON in Eclipse was:
POST /ictu-ocvwus-ws/OSB2W-be HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction:
"http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest"
User-Agent: Axis2
Content-Length: 900
Host: localhost:4041
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:To>http://localhost:4041/ictu-ocvwus-ws/OSB2W-be</wsa:To>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:From>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:From><wsa:MessageID>urn:uuid:[email protected]</wsa:MessageID>
<wsa:Action>http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<tns:toUpperCase
xmlns:tns="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd">
<tns:data>abc</tns:data>
</tns:toUpperCase>
</soapenv:Body>
</soapenv:Envelope>
The test resulted in the following output of the Monitor tool for the BP1.1
compliancy test:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../common/xsl/log.xsl" type="text/xsl" ?>
<log timestamp="2013-11-09T11:14:58.162"
xmlns="http://www.ws-i.org/testing/2003/03/log/"
xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<monitor version="1.0.0" releaseDate="2005-07-04">
<implementer name="WS-I Organization" location="http://www.ws-i.org"/>
<environment>
<runtime name="Java(TM) SE Runtime Environment" version="1.7.0_17-b02"/>
<operatingSystem name="Windows 7" version="6.1"/>
<xmlParser name="Apache Xerces" version="Xerces-J 2.6.2"/>
</environment>
<wsi-monConfig:configuration>
<wsi-monConfig:comment>This configuration file is used to test the WS-I
sample applications running on a single system.</wsi-monConfig:comment>
<wsi-monConfig:logFile replace="true" location="logWUS-BE.xml">
<wsi-monConfig:addStyleSheet href="../common/xsl/log.xsl" type="text/xsl"
/>
</wsi-monConfig:logFile>
<wsi-monConfig:logDuration>60</wsi-monConfig:logDuration>
<wsi-monConfig:cleanupTimeoutSeconds>3</wsi-monConfig:cleanupTimeoutSeconds>
<wsi-monConfig:manInTheMiddle>
<wsi-monConfig:redirect>
<wsi-monConfig:comment>Test WUS-BE</wsi-monConfig:comment>
<wsi-monConfig:listenPort>4041</wsi-monConfig:listenPort>
<wsi-monConfig:schemeAndHostPort>https://wus.cv.prod.osb.overheid.nl</wsi-monConfig:schemeAndHostPort>
<wsi-monConfig:maxConnections>1000</wsi-monConfig:maxConnections>
<wsi-monConfig:readTimeoutSeconds>15</wsi-monConfig:readTimeoutSeconds>
</wsi-monConfig:redirect>
</wsi-monConfig:manInTheMiddle>
</wsi-monConfig:configuration>
</monitor>
<messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1"
type="request" timestamp="2013-11-09T11:15:32.358">
<messageContent><?xml version='1.0'
encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:4041/ictu-ocvwus-ws/OSB2W-be</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:From><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:From><wsa:MessageID>urn:uuid:[email protected]</wsa:MessageID><wsa:Action>http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest</wsa:Action></soapenv:Header><soapenv:Body><tns:toUpperCase
xmlns:tns="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"><tns:data>abc</tns:data></tns:toUpperCase></soapenv:Body></soapenv:Envelope></messageContent>
<senderHostAndPort>127.0.0.1:51798</senderHostAndPort>
<receiverHostAndPort>wus.cv.prod.osb.overheid.nl:80</receiverHostAndPort>
<httpHeaders>POST /ictu-ocvwus-ws/OSB2W-be HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction:
"http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest"
User-Agent: Axis2
Host: localhost:4041
Content-Length: 900

</httpHeaders>
</messageEntry>
<messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1"
type="response" timestamp="2013-11-09T11:15:32.467">
<messageContent><?xml version='1.0'
encoding='UTF-8'?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action
xmlns="http://www.w3.org/2005/08/addressing">http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseResponse</Action><MessageID
xmlns="http://www.w3.org/2005/08/addressing">uuid:b89b2f69-362f-475c-83ad-2b6fd000931b</MessageID><RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:[email protected]</RelatesTo></S:Header><S:Body><ns2:toUpperCaseResponse
xmlns="http://www.logius.nl/digikoppeling/gb/2010/10"
xmlns:ns2="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"
xmlns:ns3="http://service.compliance.osb.gbo.overheid.nl/xsd/2012/03/compliancevoorziening-v2_2"
xmlns:ns4="http://service.compliance.osb.gbo.overheid.nl/xsd/2009/02/compliancevoorziening-v2"><ns2:dataUit>ABC</ns2:dataUit></ns2:toUpperCaseResponse></S:Body></S:Envelope></messageContent>
<senderHostAndPort>wus.cv.prod.osb.overheid.nl:80</senderHostAndPort>
<receiverHostAndPort>127.0.0.1:51798</receiverHostAndPort>
<httpHeaders>HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=A16EDFE6DCC0D2A9BC4AAA275E3692B1;
Path=/ictu-ocvwus-ws
Content-Type: text/xml;charset=utf-8
Date: Sat, 09 Nov 2013 10:15:28 GMT
Content-Length: 1105

</httpHeaders>
</messageEntry>
</log>
Applying the analyzer tool to this output resulted in the following report file
with BP1600 failed:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../common/xsl/report.xsl" type="text/xsl" ?>
<report name="WS-I Basic Profile Conformance Report."
timestamp="2013-11-09T11:31:33.706"
xmlns="http://www.ws-i.org/testing/2004/07/report/"
xmlns:wsi-report="http://www.ws-i.org/testing/2004/07/report/"
xmlns:wsi-log="http://www.ws-i.org/testing/2003/03/log/"
xmlns:wsi-analyzerConfig="http://www.ws-i.org/testing/2004/07/analyzerConfig/"
xmlns:wsi-monConfig="http://www.ws-i.org/testing/2003/03/monitorConfig/"
xmlns:wsi-assertions="http://www.ws-i.org/testing/2004/07/assertions/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<analyzer version="1.0.0" releaseDate="2005-07-04">
<implementer name="WS-I Organization" location="http://www.ws-i.org"/>
<environment>
<runtime name="Java(TM) SE Runtime Environment" version="1.7.0_17-b02"/>
<operatingSystem name="Windows 7" version="6.1"/>
<xmlParser name="Apache Xerces" version="Xerces-J 2.6.2"/>
</environment>
<wsi-analyzerConfig:configuration>
<wsi-analyzerConfig:verbose>false</wsi-analyzerConfig:verbose>
<wsi-analyzerConfig:assertionResults type="all" messageEntry="true"
assertionDescription="false" failureMessage="true" failureDetail="true"/>
<wsi-analyzerConfig:reportFile replace="true"
location="d:/java/wsi-test-tools/common/xsl/reportWUS-BE.xml">
<wsi-analyzerConfig:addStyleSheet href="../common/xsl/report.xsl"
type="text/xsl" />
</wsi-analyzerConfig:reportFile>
<wsi-analyzerConfig:testAssertionsFile>d:/java/wsi-test-tools/common/profiles/SSBP10_BP11_TAD.xml</wsi-analyzerConfig:testAssertionsFile>
<wsi-analyzerConfig:logFile
correlationType="endpoint">d:/java/wsi-test-tools/java/samples/logWUS-BE.xml</wsi-analyzerConfig:logFile>
</wsi-analyzerConfig:configuration>
</analyzer>
<artifact type="discovery">
<entry type="[discovery]" >
<assertionResult id="BP3001" result="missingInput">
</assertionResult>
<assertionResult id="BP3002" result="missingInput">
</assertionResult>
<assertionResult id="BP3003" result="missingInput">
</assertionResult>
</entry>
</artifact>
<artifact type="description">
<entry type="[description]" >
<assertionResult id="BP2201" result="missingInput">
</assertionResult>
<assertionResult id="BP2202" result="missingInput">
</assertionResult>
<assertionResult id="BP2700" result="missingInput">
</assertionResult>
<assertionResult id="BP2102" result="missingInput">
</assertionResult>
<assertionResult id="BP2011" result="missingInput">
</assertionResult>
<assertionResult id="BP2701" result="missingInput">
</assertionResult>
<assertionResult id="BP2703" result="missingInput">
</assertionResult>
<assertionResult id="BP2034" result="missingInput">
</assertionResult>
<assertionResult id="BP2018" result="missingInput">
</assertionResult>
<assertionResult id="BP2208" result="missingInput">
</assertionResult>
<assertionResult id="BP2010" result="missingInput">
</assertionResult>
<assertionResult id="BP2020" result="missingInput">
</assertionResult>
<assertionResult id="BP2021" result="missingInput">
</assertionResult>
<assertionResult id="BP2402" result="missingInput">
</assertionResult>
<assertionResult id="BP2022" result="missingInput">
</assertionResult>
<assertionResult id="BP2032" result="missingInput">
</assertionResult>
<assertionResult id="BP2404" result="missingInput">
</assertionResult>
<assertionResult id="BP2012" result="missingInput">
</assertionResult>
<assertionResult id="BP2406" result="missingInput">
</assertionResult>
<assertionResult id="BP2019" result="missingInput">
</assertionResult>
<assertionResult id="BP2013" result="missingInput">
</assertionResult>
<assertionResult id="BP2014" result="missingInput">
</assertionResult>
<assertionResult id="BP2017" result="missingInput">
</assertionResult>
<assertionResult id="BP2101" result="missingInput">
</assertionResult>
<assertionResult id="BP2098" result="missingInput">
</assertionResult>
<assertionResult id="BP2803" result="missingInput">
</assertionResult>
<assertionResult id="BP2103" result="missingInput">
</assertionResult>
<assertionResult id="BP2104" result="missingInput">
</assertionResult>
<assertionResult id="BP2105" result="missingInput">
</assertionResult>
<assertionResult id="BP2416" result="missingInput">
</assertionResult>
<assertionResult id="BP2417" result="missingInput">
</assertionResult>
<assertionResult id="BP2107" result="missingInput">
</assertionResult>
<assertionResult id="BP2108" result="missingInput">
</assertionResult>
<assertionResult id="BP2110" result="missingInput">
</assertionResult>
<assertionResult id="BP2111" result="missingInput">
</assertionResult>
<assertionResult id="BP2112" result="missingInput">
</assertionResult>
<assertionResult id="BP2113" result="missingInput">
</assertionResult>
<assertionResult id="BP2115" result="missingInput">
</assertionResult>
<assertionResult id="BP2116" result="missingInput">
</assertionResult>
<assertionResult id="BP2117" result="missingInput">
</assertionResult>
<assertionResult id="BP2118" result="missingInput">
</assertionResult>
<assertionResult id="BP2114" result="missingInput">
</assertionResult>
<assertionResult id="BP2119" result="missingInput">
</assertionResult>
<assertionResult id="BP2120" result="missingInput">
</assertionResult>
<assertionResult id="BP2122" result="missingInput">
</assertionResult>
<assertionResult id="BP2123" result="missingInput">
</assertionResult>
<assertionResult id="BP4200" result="missingInput">
</assertionResult>
<assertionResult id="BP4201" result="missingInput">
</assertionResult>
<assertionResult id="BP4202" result="missingInput">
</assertionResult>
<assertionResult id="SSBP2209" result="missingInput">
</assertionResult>
<assertionResult id="SSBP2403" result="missingInput">
</assertionResult>
</entry>
</artifact>
<artifact type="message">
<artifactReference timestamp="2013-11-09T11:14:58.162">
<wsi-monConfig:comment>This configuration file is used to test the WS-I
sample applications running on a single system.</wsi-monConfig:comment>
</artifactReference>
<entry type="requestMessage" referenceID="1">
<wsi-log:messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1"
type="request" timestamp="2013-11-09T11:15:32.358">
<wsi-log:messageContent><?xml version='1.0'
encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:4041/ictu-ocvwus-ws/OSB2W-be</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:From><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:From><wsa:MessageID>urn:uuid:[email protected]</wsa:MessageID><wsa:Action>http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest</wsa:Action></soapenv:Header><soapenv:Body><tns:toUpperCase
xmlns:tns="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"><tns:data>abc</tns:data></tns:toUpperCase></soapenv:Body></soapenv:Envelope></wsi-log:messageContent>
<wsi-log:senderHostAndPort>127.0.0.1:51798</wsi-log:senderHostAndPort>
<wsi-log:receiverHostAndPort>wus.cv.prod.osb.overheid.nl:80</wsi-log:receiverHostAndPort>
<wsi-log:httpHeaders>POST /ictu-ocvwus-ws/OSB2W-be HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction:
"http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest"
User-Agent: Axis2
Host: localhost:4041
Content-Length: 900

</wsi-log:httpHeaders>
</wsi-log:messageEntry>
<assertionResult id="BP1004" result="passed">
</assertionResult>
<assertionResult id="BP1006" result="passed">
</assertionResult>
<assertionResult id="BP1116" result="notApplicable">
</assertionResult>
<assertionResult id="BP1002" result="passed">
</assertionResult>
<assertionResult id="BP1001" result="passed">
</assertionResult>
<assertionResult id="BP4103" result="notApplicable">
</assertionResult>
<assertionResult id="BP4104" result="passed">
<failureDetail xml:lang="en" >HTTP allows arbitrary headers to occur in
messages.
Element Location:
lineNumber=34
</failureDetail>
</assertionResult>
<assertionResult id="BP4105" result="notApplicable">
</assertionResult>
<assertionResult id="BP4107" result="notApplicable">
</assertionResult>
<assertionResult id="SSBP1003" result="passed">
</assertionResult>
<assertionResult id="SSBP5100" result="passed">
</assertionResult>
<assertionResult id="SSBP5101" result="passed">
</assertionResult>
</entry>
<entry type="responseMessage" referenceID="2">
<wsi-log:messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1"
type="response" timestamp="2013-11-09T11:15:32.467">
<wsi-log:messageContent><?xml version='1.0'
encoding='UTF-8'?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action
xmlns="http://www.w3.org/2005/08/addressing">http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseResponse</Action><MessageID
xmlns="http://www.w3.org/2005/08/addressing">uuid:b89b2f69-362f-475c-83ad-2b6fd000931b</MessageID><RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:[email protected]</RelatesTo></S:Header><S:Body><ns2:toUpperCaseResponse
xmlns="http://www.logius.nl/digikoppeling/gb/2010/10"
xmlns:ns2="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"
xmlns:ns3="http://service.compliance.osb.gbo.overheid.nl/xsd/2012/03/compliancevoorziening-v2_2"
xmlns:ns4="http://service.compliance.osb.gbo.overheid.nl/xsd/2009/02/compliancevoorziening-v2"><ns2:dataUit>ABC</ns2:dataUit></ns2:toUpperCaseResponse></S:Body></S:Envelope></wsi-log:messageContent>
<wsi-log:senderHostAndPort>wus.cv.prod.osb.overheid.nl:80</wsi-log:senderHostAndPort>
<wsi-log:receiverHostAndPort>127.0.0.1:51798</wsi-log:receiverHostAndPort>
<wsi-log:httpHeaders>HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=A16EDFE6DCC0D2A9BC4AAA275E3692B1;
Path=/ictu-ocvwus-ws
Content-Type: text/xml;charset=utf-8
Date: Sat, 09 Nov 2013 10:15:28 GMT
Content-Length: 1105

</wsi-log:httpHeaders>
</wsi-log:messageEntry>
<assertionResult id="BP1002" result="passed">
</assertionResult>
<assertionResult id="BP1001" result="passed">
</assertionResult>
<assertionResult id="BP1010" result="notApplicable">
</assertionResult>
<assertionResult id="BP1101" result="notApplicable">
</assertionResult>
<assertionResult id="BP1103" result="notApplicable">
</assertionResult>
<assertionResult id="BP4103" result="notApplicable">
</assertionResult>
<assertionResult id="BP4104" result="notApplicable">
</assertionResult>
<assertionResult id="BP4105" result="notApplicable">
</assertionResult>
<assertionResult id="BP4106" result="notApplicable">
</assertionResult>
<assertionResult id="SSBP1003" result="passed">
</assertionResult>
<assertionResult id="SSBP5100" result="passed">
</assertionResult>
<assertionResult id="SSBP5101" result="passed">
</assertionResult>
</entry>
</artifact>
<artifact type="envelope">
<artifactReference timestamp="2013-11-09T11:14:58.162">
<wsi-monConfig:comment>This configuration file is used to test the WS-I
sample applications running on a single system.</wsi-monConfig:comment>
</artifactReference>
<entry type="requestEnvelope" referenceID="1">
<wsi-log:messageEntry xsi:type="httpMessageEntry" ID="1" conversationID="1"
type="request" timestamp="2013-11-09T11:15:32.358">
<wsi-log:messageContent><?xml version='1.0'
encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:4041/ictu-ocvwus-ws/OSB2W-be</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:From><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:From><wsa:MessageID>urn:uuid:[email protected]</wsa:MessageID><wsa:Action>http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest</wsa:Action></soapenv:Header><soapenv:Body><tns:toUpperCase
xmlns:tns="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"><tns:data>abc</tns:data></tns:toUpperCase></soapenv:Body></soapenv:Envelope></wsi-log:messageContent>
<wsi-log:senderHostAndPort>127.0.0.1:51798</wsi-log:senderHostAndPort>
<wsi-log:receiverHostAndPort>wus.cv.prod.osb.overheid.nl:80</wsi-log:receiverHostAndPort>
<wsi-log:httpHeaders>POST /ictu-ocvwus-ws/OSB2W-be HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction:
"http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseRequest"
User-Agent: Axis2
Host: localhost:4041
Content-Length: 900

</wsi-log:httpHeaders>
</wsi-log:messageEntry>
<assertionResult id="BP1601" result="passed">
</assertionResult>
<assertionResult id="BP1201" result="passed">
</assertionResult>
<assertionResult id="BP1701" result="passed">
</assertionResult>
<assertionResult id="BP1308" result="passed">
</assertionResult>
<assertionResult id="BP1011" result="notApplicable">
</assertionResult>
<assertionResult id="BP1204" result="notApplicable">
</assertionResult>
<assertionResult id="BP1301" result="notApplicable">
</assertionResult>
<assertionResult id="BP1032" result="passed">
</assertionResult>
<assertionResult id="BP1033" result="passed">
</assertionResult>
<assertionResult id="BP1307" result="passed">
</assertionResult>
<assertionResult id="BP1202" result="passed">
</assertionResult>
<assertionResult id="BP1318" result="notApplicable">
</assertionResult>
<assertionResult id="BP1008" result="notApplicable">
</assertionResult>
<assertionResult id="BP1211" result="notApplicable">
</assertionResult>
<assertionResult id="BP1212" result="notApplicable">
</assertionResult>
<assertionResult id="BP1213" result="notApplicable">
</assertionResult>
<assertionResult id="BP1214" result="notApplicable">
</assertionResult>
<assertionResult id="BP1755" result="notApplicable">
</assertionResult>
<assertionResult id="BP1600" result="failed">
<failureMessage xml:lang="en">The envelope does not conform to the
structure specified in SOAP 1.1 Section 4</failureMessage>
<failureDetail xml:lang="en" >The header entry wsa:To is not
namespace-qualified
Element Location:
lineNumber=34
</failureDetail>
</assertionResult>
<assertionResult id="BP1007" result="passed">
</assertionResult>
<assertionResult id="BP1208" result="passed">
</assertionResult>
<assertionResult id="BP1009" result="notApplicable">
</assertionResult>
<assertionResult id="BP1309" result="passed">
</assertionResult>
<assertionResult id="BP4100" result="notApplicable">
</assertionResult>
<assertionResult id="BP4101" result="notApplicable">
</assertionResult>
<assertionResult id="BP4102" result="notApplicable">
</assertionResult>
<assertionResult id="BP4109" result="notApplicable">
</assertionResult>
<assertionResult id="SSBP1601" result="passed">
</assertionResult>
<assertionResult id="SSBP9704" result="passed">
</assertionResult>
</entry>
<entry type="responseEnvelope" referenceID="2">
<wsi-log:messageEntry xsi:type="httpMessageEntry" ID="2" conversationID="1"
type="response" timestamp="2013-11-09T11:15:32.467">
<wsi-log:messageContent><?xml version='1.0'
encoding='UTF-8'?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header><To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><Action
xmlns="http://www.w3.org/2005/08/addressing">http://service.compliance.osb.gbo.overheid.nl/wsdl/2009/02/compliancevoorziening-v2/IOSB2ComplianceService/toUpperCaseResponse</Action><MessageID
xmlns="http://www.w3.org/2005/08/addressing">uuid:b89b2f69-362f-475c-83ad-2b6fd000931b</MessageID><RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:[email protected]</RelatesTo></S:Header><S:Body><ns2:toUpperCaseResponse
xmlns="http://www.logius.nl/digikoppeling/gb/2010/10"
xmlns:ns2="http://service.compliance.osb.gbo.overheid.nl/200706/osb-compliancevoorziening.xsd"
xmlns:ns3="http://service.compliance.osb.gbo.overheid.nl/xsd/2012/03/compliancevoorziening-v2_2"
xmlns:ns4="http://service.compliance.osb.gbo.overheid.nl/xsd/2009/02/compliancevoorziening-v2"><ns2:dataUit>ABC</ns2:dataUit></ns2:toUpperCaseResponse></S:Body></S:Envelope></wsi-log:messageContent>
<wsi-log:senderHostAndPort>wus.cv.prod.osb.overheid.nl:80</wsi-log:senderHostAndPort>
<wsi-log:receiverHostAndPort>127.0.0.1:51798</wsi-log:receiverHostAndPort>
<wsi-log:httpHeaders>HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=A16EDFE6DCC0D2A9BC4AAA275E3692B1;
Path=/ictu-ocvwus-ws
Content-Type: text/xml;charset=utf-8
Date: Sat, 09 Nov 2013 10:15:28 GMT
Content-Length: 1105

</wsi-log:httpHeaders>
</wsi-log:messageEntry>
<assertionResult id="BP1107" result="notApplicable">
</assertionResult>
<assertionResult id="BP1601" result="passed">
</assertionResult>
<assertionResult id="BP1201" result="passed">
</assertionResult>
<assertionResult id="BP1701" result="passed">
</assertionResult>
<assertionResult id="BP1308" result="passed">
</assertionResult>
<assertionResult id="BP1013" result="notApplicable">
</assertionResult>
<assertionResult id="BP1204" result="notApplicable">
</assertionResult>
<assertionResult id="BP1301" result="notApplicable">
</assertionResult>
<assertionResult id="BP1305" result="notApplicable">
</assertionResult>
<assertionResult id="BP1306" result="notApplicable">
</assertionResult>
<assertionResult id="BP1031" result="notApplicable">
</assertionResult>
<assertionResult id="BP1032" result="passed">
</assertionResult>
<assertionResult id="BP1033" result="passed">
</assertionResult>
<assertionResult id="BP1316" result="notApplicable">
</assertionResult>
<assertionResult id="BP1307" result="passed">
</assertionResult>
<assertionResult id="BP1202" result="passed">
</assertionResult>
<assertionResult id="BP1318" result="notApplicable">
</assertionResult>
<assertionResult id="BP1008" result="notApplicable">
</assertionResult>
<assertionResult id="BP1211" result="notApplicable">
</assertionResult>
<assertionResult id="BP1212" result="notApplicable">
</assertionResult>
<assertionResult id="BP1213" result="notApplicable">
</assertionResult>
<assertionResult id="BP1214" result="notApplicable">
</assertionResult>
<assertionResult id="BP1755" result="notApplicable">
</assertionResult>
<assertionResult id="BP1005" result="notApplicable">
</assertionResult>
<assertionResult id="BP1302" result="notApplicable">
</assertionResult>
<assertionResult id="BP1203" result="notApplicable">
</assertionResult>
<assertionResult id="BP1100" result="passed">
</assertionResult>
<assertionResult id="BP1600" result="passed">
</assertionResult>
<assertionResult id="BP1012" result="notApplicable">
</assertionResult>
<assertionResult id="BP1007" result="passed">
</assertionResult>
<assertionResult id="BP1208" result="passed">
</assertionResult>
<assertionResult id="BP1009" result="notApplicable">
</assertionResult>
<assertionResult id="BP1309" result="passed">
</assertionResult>
<assertionResult id="BP4100" result="notApplicable">
</assertionResult>
<assertionResult id="BP4101" result="notApplicable">
</assertionResult>
<assertionResult id="BP4102" result="notApplicable">
</assertionResult>
<assertionResult id="BP4109" result="notApplicable">
</assertionResult>
<assertionResult id="SSBP1601" result="passed">
</assertionResult>
<assertionResult id="SSBP9704" result="passed">
</assertionResult>
</entry>
</artifact>
<summary result="failed">
</summary>
</report>
> The adressing module adds the addressing namespace declaration in the header
> element, which is not allowed by BP 1.2
> --------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-5597
> URL: https://issues.apache.org/jira/browse/AXIS2-5597
> Project: Axis2
> Issue Type: Bug
> Components: Addressing
> Affects Versions: 1.6.2
> Reporter: Maarten van den Broek
>
> Validation of an axis2 message with an addressing header gives a BP1600 error.
> This issue can probably be resolved by changing line 210
> addressingNamespaceObject = header.declareNamespace(addressingNamespace,
> WSA_DEFAULT_PREFIX);
> in the class org.apache.axis2.handlers.addressing.AddressingOutHandler to
> addressingNamespaceObject =
> envelope.declareNamespace(addressingNamespace, WSA_DEFAULT_PREFIX);
> Maybe more changes are necessary.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]