[jboss-user] [JBossWS] - May have found a bug - need expert opinion

c_eric_ray do-not-reply at jboss.com
Thu Sep 28 15:37:05 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975011#3975011

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975011



More information about the jboss-user mailing list