Proposed resolution for SOAP 1.2 rec issue "7rec"

Anish Karmarkar <[email protected]>
Newsgroups gmane.text.xml.distributed
Message-ID <[email protected]>
General comment: Most of the sub-issues within this issue are about 
well-formed XML and should be fixed as suggested.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T7 Test:T8
 >
 > Node A's Message:
 > End tag 'test:echoOk' does not match the start tag 'test:Ignore'.
 >

Replace the offending "</test:echoOK>" tag with "</test:Ignore>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T44
 >
 > Node C's Message:
 >
 >          <return xsi:type="ns1"SOAPStruct"
 >                  xmlns:ns1="http://example.org/ts-tests/xsd">
 >
 > has typo double-quote, should probably be:
 >
 >          <return xsi:type="ns1:SOAPStruct"
 >                  xmlns:ns1="http://example.org/ts-tests/xsd">
 >
 >

Accept the suggested fix.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T57
 >
 > Node C's Message:
 > The 'return' tag was not closed properly.
 >

Replace "<return>" with "</return>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T58
 >
 > Node A's Message:
 > End tag 'test:array' does not match the start tag 'inputIntegerArray'.
 >

Replace "</test:array>" with </inputIntegerArray>"

 >
 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T59
 >
 > Node A's Message:
 >
 >    <item enc:id="data" xsi:type"xsd:string" enc:ref="#data">hello</item>
 >
 > has missing "=", should probably be:
 >
 >    <item enc:id="data" xsi:type="xsd:string" enc:ref="#data">hello</item>
 >
 >

Accept the suggested fix.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T64
 >
 > Node A's Message:
 >
 >       <!NOTATION application_xml SYSTEM
 > 
'http://www.isi.edu/in-notes/iana/assignments/media-types/application/xml'>
 >
 > is declared outside of DTD.  As it is, this forms an XML parsing error,
 > not a "DTD not supported by SOAP 1.2" error.
 >

Enclose the "<!NOTATION ..." inside a "<!DOCTYPE ...>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T65
 >
 > Node A's Message:
 >
 >       <!ELEMENT Envelope (Body) >
 >       <!ELEMENT Body (echoOk) >
 >       <!ELEMENT echoOk (#PCDATA) >
 >
 > are declared outside of DTD.  As it is, this forms an XML parsing error,
 > not a "DTD not supported by SOAP 1.2" error.
 >

Enclose the "<!ELEMENT..."s inside a "<!DOCTYPE ...>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T73
 >
 > Node C's Message:
 >
 >       <return xsi:type="xsd:string">hello world</return>
 >
 > references undeclared namespace prefix "xsi".
 >

In the "Message sent from Node C", add the namespace declaration:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

 >
 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T75
 >
 > Node C's Message:
 > End tag 'test:resonseResolvedRef' does not match the start
 > tag 'test:responseResolvedRef'.
 >
 > Note the missing "s" in the end tag.
 >

Add the missing "p" (and not "s").

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T77
 >
 > Node A's Message (3rd):
 > The 'inputString' tag isn't closed properly.
 >

Replace "<inputString>" with "</inputString>"

 >
 > Node C's Message (3rd):
 > The 'return' tag isn't closed properly.
 >

Replace "<return>" with "</return>"

 >
 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:T80
 >
 > Node A's message has undefined namespace for prefix "test".
 > Also, the attribute for the <test:echoOk> element should
 > be qualified with "env", otherwise Node C should behave
 > as if <env:encodingStyle> is absent and not defined with
 > an incorrect value.
 >
 > Suggest the following replacement:
 >
 > <?xml version="1.0"?>
 > <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
 >   <env:Body>
 >     <test:echoOk env:encodingStyle="http://example.org/PoisonEncoding"
 >                  xmlns:test="http://example.org/ts-tests">
 >       foo
 >     </test:echoOk>
 >   </env:Body>
 > </env:Envelope>
 >

Accept the suggested fix.

 >
 > Node C's Message:
 >
 >     <env:Value>env:DataEncodingUnknown<env:/value>
 >
 > has an incorrect closing tag "<env:/value>".
 >

Replace "<env:/value>" with "</env:value"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:SBR1-echoString (081)
 > Test:SBR1-echoInteger (083)
 > Test:SBR1-echoVoid (089)
 >
 > Node A's Message:             <?xml version="1.0">
 > should be closed with "?>".
 >
 > Node C's Message:             <?xml version="1.0">
 > should be closed with "?>".
 >

Accept the suggested fix.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:SBR2-echoSimpleTypesAsStruct     (096)
 > Test:XMLP-4 (154)
 >
 > Node C's Message:
 >
 >       <return xsi:type="ns1"SOAPStruct"
 >               xmlns:ns1="http://soapinterop.org/xsd">
 >
 > has incorrect double-quotation that should probably
 > be a colon ":".

Accept the suggested fix.

 >
 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:SBR2-echoMeStringRequest (100)
 > Test:SBR2-echoMeStructRequest (101)
 > Test:SBR2-echoMeUnknown (102)
 >
 > Node A's Message (1st):               <?xml version="1.0?>
 > was not properly closed with a double-quotation mark.
 >

Add the quotation mark.

 > Node A's Message (2nd):               <?xml version="1.0?>
 > was not properly closed with a double-quotation mark.
 >

Add the quotation mark.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:SBR2-echoMeUnknown (102)
 >
 > Node A's Message (3rd):               <?xml version="1.0?>
 > was not properly closed with a double-quotation mark.
 >

Add the quotation mark.

 > Node A's Message (4th):               <?xml version="1.0?>
 > was not properly closed with a double-quotation mark.
 >

Add the quotation mark.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-1 (151)
 >
 > Node A's Message (1st):               <?xml version="1.0">
 > should be closed with "?>" instead.
 >

Accept the suggested fix.

 > Node C's Message (1st):               <?xml version="1.0">
 > should be closed with "?>" instead.
 >

Accept the suggested fix.

 > Node A's Message (2nd):               <?xml version="1.0">
 > should be closed with "?>" instead.

Accept the suggested fix.

 >
 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-3 (153)
 >
 > Node C's Message:
 > End tag 'm:getTimeResponse' does not match the
 > start tag 'sb:getTimeResponse'.
 >

Replace "</m:getTimeResponse>" with "</sb:getTimeResponse>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-5 (155)
 >
 > Node A's Message:
 >
 >       <env:Body
 >        env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/>
 >
 > has a missing double-quote after "encoding".
 >

Add the missing double-quote.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-6 (156)
 > Test:XMLP-9 (159)
 >
 > Node A's Message:             <?xml version="1.0?>
 > was not properly closed with a double-quotation mark.
 >

Add the missing double-quote.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-9 (159)
 >
 > Node C's Message:
 >
 >       <env:Value>env:DataEncodingUnknown<env:/value>
 >
 > has an incorrect closing tag "<env:/value>".
 >

Replace "<env:/value>" with "</env:Value>"

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-11 (161)
 > Test:XMLP-12 (162)
 > Test:XMLP-19 (169)
 >
 > Node A's Message:             <?xml version="1.0">
 > should be closed with "?>" instead.
 >

Accept the suggested fix.

 > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 > Test:XMLP-13 (163)
 > Test:XMLP-14 (164)
 > Test:XMLP-15 (165)
 > Test:XMLP-16 (166)
 > Test:XMLP-17 (167)
 > Test:XMLP-18 (168)
 >
 > Node A's Message:             <?xml version="1.0">
 > should be closed with "?>" instead.
 >

Accept the suggested fix.

 > Node C's Message:             <?xml version="1.0">
 > should be closed with "?>" instead.
 >

Accept the suggested fix.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.