1 Reply Latest reply on Mar 1, 2005 7:07 AM by Gagan Bajpai

    Soap Response body is not name space qualified

    Gagan Bajpai Newbie

      Hi,

      I've created a document literal web service. Starting from WSDL and schema. I used wscompile to create server and client classes, and other artifacts, Besides I created a service endpoint implementation , ws4ee-deployment.xml, web.xml etc. On client side I created a standard java client using wscompile generated classes.
      Issue is that when I invoke my web service, it goes alright and a SOAP response comes back, than client fails, soap body xml is not containing name space qualified elements that I refereed from an anothe schema?
      Has any body encounterd this earlier? any line of thought that could indiacate any thing, any flag in wsdd, wsdl or something??

        • 1. Re: Soap Response body is not name space qualified
          Gagan Bajpai Newbie

          Error is in Soap Response
          at client
          java.rmi.RemoteException: Runtime exception; nested exception is:
          unexpected element name: expected={http://www.nextone.com/schema/configuration}endpointConfiguration, actual=endpointConfiguration

          for the schema portion

          <xs:complexType name="EndpointConfigurationOperation">
          <xs:sequence>

          <xs:element name="user" type="xs:string" minOccurs="0" maxOccurs="1" />

          <!-- whether this is an add/delete/update operation -->
          <xs:element name="configurationOperation" type="ns1:ConfigurationOperation" minOccurs="1" maxOccurs="1" />
          <xs:element ref="ns1:endpointConfiguration" minOccurs="1" maxOccurs = "1" form="qualified" />
          </xs:sequence>
          </xs:complexType>