View Ticket
Not logged in
Ticket UUID: 063921b09c770ccecb750b9c5dcccdd0b9747a90
Title: Client error on WSDL parsing: Unknown forward type reference {xs:schema} in {}
Status: New Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Client_Side Resolution: Open
Assigned to: unassigned
Last Modified: 2018-02-21 17:33:49
Version Found In: trunk
Description & Comments:
When parsing the WSDL at: http://services.phast.fr/STS_RECETTE/sts.soap_2.en.asmx?WSDL I get the repeated error log:
  • Procedure: ::WS::Utils::parseScheme Client http://services.phast.fr/STS_RECETTE/sts.soap_2.en.asmx domNode0A270EFC 2 serviceInfo tnsCount
  • Error: Unknown type reference xs:schema in type Cip_list

with the call stack:

Unknown forward type reference {xs:schema} in {Cip_list}
    while executing
"parseElementalType $mode results $serviceName $element $tns"
    (procedure "parseElementalType" line 95)
    invoked from within
"parseElementalType $mode serviceInfo $serviceName $element $tns"

and the error stack:

INNER:invokeStk1 parseElementalType Client results 2 domNode0A2C0314 tns1
CALL:parseElementalType Client serviceInfo 2 domNode0A2C0264 tns1
CALL:::WS::Utils::parseScheme Client http://services.phast.fr/STS_RECETTE/sts.soap_2.en.asmx domNode0A270EFC 2 serviceInfo tnsCount

The wsdl snippet of Cip_list is:

  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.phast.fr/RLIO/STS/en">
      ...
      <s:element name="STS_2_2_CIOsp_PDC_CIP_B1Response">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="STS_2_2_CIOsp_PDC_CIP_B1Result" type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="Cip_list">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
            <s:element minOccurs="0" maxOccurs="1" name="Errors" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      ...

So, there is a reference to the whole schema. This means probably that any type may be used or whatever. Has anybody a clue what that means and how to implement it ?

Thank you in advance, Harald


oehhar added on 2018-02-21 17:33:49 UTC:
The documentation of the web-service says, that this element should be given/returned by:

<Cip_list>
  <xsd:schema>{schema}</xsd:schema>
  {xml}
</Cip_list>

where the values in curly braces should be replaced by the given data.

That looks weired...