3 Replies Latest reply on Feb 13, 2005 5:39 AM by Thomas Diesler

    Changing SOAP envelope prefix

    Andrew Wagg Newbie

      Does anyone know of a way to change the prefix of the SOAP envelope. I have a 3rd party unsupported client attempting to communicate with my web service. The only thing I can see is the client has SOAP-ENV as its prefix, where as JBoss has soapenv. I know this shouldn't matter, but I'd like to change my response to SOAP-ENV just to be sure.

      Client sends:

      <?xml version="1.0" encoding="UTF-8"?>
       <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <SOAP-ENV:Body>
       <GetStatus xmlns="http://opcfoundation.org/webservices/XMLDA/1.0/" LocaleID="en"/>
       </SOAP-ENV:Body>
       </SOAP-ENV:Envelope>
      
      


      My service responds:

      <?xml version="1.0" encoding="UTF-8"?>
       <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>
       <ns1:GetStatusResponse xmlns:ns1="http://opcfoundation.org/webservices/XMLDA/1.0/">
       <GetStatusResult RcvTime="2005-02-07T13:27:39.907Z" ReplyTime="2005-02-07T13:27:39.907Z" RevisedLocaleID="en" ServerState="running"/>
       <Status ProductVersion="1.00.1.00" StartTime="2005-02-07T13:27:39.907Z">
       <StatusInfo>OK</StatusInfo>
       <VendorInfo>Andy</VendorInfo>
       <SupportedLocaleIDs>en</SupportedLocaleIDs>
       <SupportedInterfaceVersions>XML_DA_Version_1_0</SupportedInterfaceVersions>
       </Status>
       </ns1:GetStatusResponse>
       </soapenv:Body>
       </soapenv:Envelope>