Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-1072

AxisSoapException: Soap message content is not valid. Unexpected or extraneous element (ProductInformation) encountered.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • current (nightly)
    • current (nightly)
    • None
    • Axis Client : latest code from SVN
      XMLParser: xerces-c-2.7.0
      WSDL2WS: Build with latest code using Axis Java 1.4
      Compiler: VC++ 2005(Vc8)

    Description

      I have rebuild Axis c++ client code with latest code using xerces-c-2.7.0. I have generate the my cilent code with latest wsdl2ws tool. I see checkForExtraneousElements() introduced with latest wsdl2ws.

      I am getting below error message when i execute the new code. Looks like some thing broken or i am missing some thing.

      Here is my soap responce.

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <ProductInfoResponse xmlns="http://www.cat.com/NPIDataServices/2007/02/05">
      <ProductInfoResponse xmlns="">
      <SerialNumber>B1L</SerialNumber>
      <ProductGroup>ARTICULATED TRUCKS</ProductGroup>
      <GenericModel>725</GenericModel>
      <PrimaryModel>725</PrimaryModel>
      <SerialNumberBuilt>2250</SerialNumberBuilt>
      <LastBuild>2010-04-30 00:00:00.0</LastBuild>
      <Facility>PETERLEE (U2)</Facility>
      <EngineeringModel>RM715</EngineeringModel>
      <EngineeringVersion>-</EngineeringVersion>
      <GeneralArrangement >2268615</GeneralArrangement >
      <AssociatedModel>RM574</AssociatedModel>
      <ProductType>AD</ProductType>
      <CaptiveEngineModel>C11</CaptiveEngineModel>
      <EngineFacilityCode>40</EngineFacilityCode>
      <EngineFamily>ZE</EngineFamily>
      <OldNewAssociatedModel>O</OldNewAssociatedModel>
      </ProductInfoResponse>
      </ProductInfoResponse>
      </soapenv:Body>
      </soapenv:Envelope>

      Looks above soap not having any extraneous element. Why my client code is not working.

      please help on this issue.

      Attachments

        1. axisclient.log
          9 kB
          Srinivas Umareddy

        Activity

          People

            Unassigned Unassigned
            umareddy Srinivas Umareddy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: