2 Replies Latest reply on Sep 29, 2006 3:43 PM by Keith Gregory

    May have found a bug - need expert opinion

    Eric Ray Novice

      snippet of wsdl gernerated by jbossws

      <definitions name="ListBagsService"
      targetNamespace="http://distributedcapture.vicor.com/ws/rids"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:ns1="http://rids.webservice.distributedcapture.vicor.com/jaws"
      xmlns:ns2="http://webservice.distributedcapture.vicor.com/jaws"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:tns="http://distributedcapture.vicor.com/ws/rids"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      


      java client works okay with stubs generated by axis. the incoming soap envelope tag looks like this (from java client).
      <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'>
      


      from a perl client I get this error:
      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
      <env:Header/>
      <env:Body>
      <env:Fault>
      <faultcode>env:VersionMismatch</faultcode>
      <faultstring>Invalid SOAP envelope namespace: http://schemas.xmlsoap.org/wsdl/soap/</faultstring>
      </env:Fault>
      </env:Body>
      </env:Envelope>
      


      and this is the incoming soap:envelope tag contents
      <soap:Envelope
      xmlns:ns1="http://rids.webservice.distributedcapture.vicor.com/jaws"
      xmlns:ns2="http://webservice.distributedcapture.vicor.com/jaws"
      soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:tns="http://distributedcapture.vicor.com/ws/rids"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      


      this envelope tag looks okay to me and i can't understand why jboss is rejecting the xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" namespace. Especially sinces in part of the generated wsdl.

      any thoughts.