Hi,
I have a web service which has a web method and expects one string parameter [eg. Method(string str)] and this parameter is expecting to get a xml string value.
As long as I send request fidder to get the response from service on my local system eg. service running via VS2008 it works fine, However when i deploy the service in other server(TEST) fidder not able to send the request to webservice and every time end up with the below result.
Response I get after hitting the url with post method
1C
Invalid Http Request Header
0
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache
Transfer-Encoding: chunked
1C
Invalid Http Request Header
0
Request body
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Share_Inventory xmlns="http://tempuri.org/">
<argInputXml>
<![CDATA[<samsung> <validate> <connect> <userid>samsungCE</userid> <password>qweasdzxc</password> </connect> </validate> <inventory> <item> <MRNAME>Reliance</MRNAME> <MDATE>20141009</MDATE> <SITECODE>Y339</SITECODE> <ARTICLEDESC>Samsung Grand2 Sview Flipcover Wht</ARTICLEDESC> <STOCK>13</STOCK> <SERIALNO /> <STORENAME>RRL Digital Whitefield Bangalo</STORENAME> <EAN>8806085955721</EAN> <ARTICLECODE>NA</ARTICLECODE> <FAMILY>LIFESTYLE</FAMILY> <STATUS>NA</STATUS> <ARTICLETYPE>NA</ARTICLETYPE> <WWCODE>NA</WWCODE> </item> <item> <MRNAME>Reliance</MRNAME> <MDATE>20130102</MDATE> <SITECODE>235</SITECODE> <ARTICLEDESC>PANEL</ARTICLEDESC> <STOCK>1</STOCK> <SERIALNO>5F5F5W5W5</SERIALNO> <STORENAME>AAA</STORENAME> <EAN>AAA</EAN> <ARTICLECODE>AAA</ARTICLECODE> <FAMILY>AAA</FAMILY> <STATUS>SS</STATUS> <ARTICLETYPE>AAA</ARTICLETYPE> <WWCODE>AAAA</WWCODE> </item> </inventory></samsung>]]>
</argInputXml>
</Share_Inventory>
</soap:Body>
</soap:Envelope>
Any help would be really appreciable, however if i send above request with SoapUI soft works fine.
Regards
Deepak Bisht
I have a web service which has a web method and expects one string parameter [eg. Method(string str)] and this parameter is expecting to get a xml string value.
As long as I send request fidder to get the response from service on my local system eg. service running via VS2008 it works fine, However when i deploy the service in other server(TEST) fidder not able to send the request to webservice and every time end up with the below result.
Response I get after hitting the url with post method
1C
Invalid Http Request Header
0
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache
Transfer-Encoding: chunked
1C
Invalid Http Request Header
0
Request body
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Share_Inventory xmlns="http://tempuri.org/">
<argInputXml>
<![CDATA[<samsung> <validate> <connect> <userid>samsungCE</userid> <password>qweasdzxc</password> </connect> </validate> <inventory> <item> <MRNAME>Reliance</MRNAME> <MDATE>20141009</MDATE> <SITECODE>Y339</SITECODE> <ARTICLEDESC>Samsung Grand2 Sview Flipcover Wht</ARTICLEDESC> <STOCK>13</STOCK> <SERIALNO /> <STORENAME>RRL Digital Whitefield Bangalo</STORENAME> <EAN>8806085955721</EAN> <ARTICLECODE>NA</ARTICLECODE> <FAMILY>LIFESTYLE</FAMILY> <STATUS>NA</STATUS> <ARTICLETYPE>NA</ARTICLETYPE> <WWCODE>NA</WWCODE> </item> <item> <MRNAME>Reliance</MRNAME> <MDATE>20130102</MDATE> <SITECODE>235</SITECODE> <ARTICLEDESC>PANEL</ARTICLEDESC> <STOCK>1</STOCK> <SERIALNO>5F5F5W5W5</SERIALNO> <STORENAME>AAA</STORENAME> <EAN>AAA</EAN> <ARTICLECODE>AAA</ARTICLECODE> <FAMILY>AAA</FAMILY> <STATUS>SS</STATUS> <ARTICLETYPE>AAA</ARTICLETYPE> <WWCODE>AAAA</WWCODE> </item> </inventory></samsung>]]>
</argInputXml>
</Share_Inventory>
</soap:Body>
</soap:Envelope>
Any help would be really appreciable, however if i send above request with SoapUI soft works fine.
Regards
Deepak Bisht