A call to System.Net.HttpWebRequest.GetResponse failed with this message: The remote server returned an error: (500) Internal Server Error.

Hi ,

Actually we are moving from 2009 r2 to 2013 r2, While we are doing webservices requests through xml port using dotnet variables in Code unit , we are facing error.

My question is how the extra tags are adding while running the code like xmlns:p2="xsi, without P2 assigning my code is working fine( I tested By manual coding)

By debugging also it is not showing any specific Schema related error, Can any body help regarding this…

How to remove this tags…

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:ns1=“urn:Magento” xmlns:ns2=“http://xml.apache.org/xml-soap” xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/” SOAP-ENV:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”>
SOAP-ENV:Body

da8882738b0af9251f8c710f5c0e7ac1
customapi_address.multiCreate



144


company
xxxxx


street

25 gdfg




region
CA


postcode
92160


country_id
US


telephone
123456/value>


fax



city
San Diego


contactname
xxxx


is_default_billing
1


is_default_shipping
1




145


company
xyzz


street

gfgghdfhg




region
IN


postcode
477056


country_id
US


telephone
124367865


fax



city
Evansville


contactname
nnnn


is_default_billing
1


is_default_shipping
1






</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

please publish the additional/detail error information, if there was one added.

according to the xml structure: not sure if it’s agood idea to make a item/item/item/item structure. what is the original data structure?