function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ursmahiursmahi 

I want redirect page to asp.net page

Hi,

      I want redirect page with contact information to Asp.Net Page. and contact information shoud pass the XML form .

Please tell me How can i Achive this?

my xml is:

<?xml version=""1.0"" encoding=""utf-8""?>

<Envelope>

<OpportunityId>AOPP-00000010</OpportunityId>

<ContactName>Mark</ContactName>

</Envelope>

 

and my end point:

like

http://XXXX/Readdata.aspx

imutsavimutsav
Why don't you try to get this done through Web Service which would be secure. Redirecting to a ASP page would not be secure and also if your ASP page is an internal page then it would also require your users to be in your companies' network.
ursmahiursmahi

but my requirment is when ever i create a new opportunity i want to pass orderid,contact information to the asp page for doing the trancation ...

but i don`t know how to redirect page from salesforce to asp.net page with httpresponse body. i am getting response from endpoint is......

<?xml version="1.0" encoding="utf-8"?><Envelope><OpportunityId>AOPP-00000010</OpportunityId><ContactName>Mark</ContactName></Envelope>
OpportunityId: AOPP-00000010
Contact Name: Mark


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title></head>
<body>
<form name="form1" method="post" action="ReadInputFromSalesForce.aspx" id="form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE2MTY2ODcyMjlkZKr9Z9GDOYn0DaqIwgHpQfQGO8mV" />

<div>

</div>
</form>
</body>
</html>

ShahTheTrainerShahTheTrainer

webserivces,  outboundmessage is suggestable.