Forum Discussion

Abhimanyu's avatar
Abhimanyu
New Contributor
14 years ago

SOAP_ENV versus soapenv

Hi,
I am trying to find out why some SOAP request (services) and do not work when the namespace prefix is SOAP-ENV and soapenv,
For example XML Spy generates "</SOAP-ENV:Envelope>" where as soapUI generates "<soapenv:Envelope>" and some difference in the name spaces...

i have a following WSDL that is not working at all while importing to SOAPUI,it is showing some WH Relay Error..


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Alcatel_Lucent_OSP_BPEL">
<soapenv:Header/>
<soapenv:Body>
<urn:DeviceRead>
<!--Optional:-->

<cm_id>111</cm_id>
<!--Optional:-->
<grp_id>2</grp_id>
<!--Optional:-->
<aprov1>Prov</aprov1>
<!--Optional:-->
<aprov2>Prov2</aprov2>
<sess_id>1234123414144</sess_id>
<!--Optional:-->
<corr_id>junk</corr_id>
<!--Optional:-->
</urn:DeviceRead>
</soapenv:Body>
</soapenv:Envelope>



*********************this file works wheni directly copy paste to the SoapUI**************

<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="urn:Alcatel_Lucent_OSP_BPEL" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>\r\n


<DeviceRead>






<CORRELATION_ID>junk</CORRELATION_ID>

<SESS_ID>12312131321131(abstract)</SESS_ID>

</DeviceRead>

</SOAP-ENV:Body>\r\n

</SOAP-ENV:Envelope>\r\n


Plz help what could be the step i should follow to overcome this..?
No RepliesBe the first to reply