Stefan Motz
asked on
How to integrate ASP.NET XML Web Service in Classic ASP web page
Hi Experts,
This is the URL of the web service I'm trying to use:
https://mycompany/services.asmx/employeeDetail?employeeID=<%=Emp_Id%>&accessCode=ABC DEFG
When I replace <%=Emp_Id%> with an actual employee ID, like AB123, the following XML is displayed in my browser:
<?xml version="1.0" encoding="utf-8" ?>
- <EmployeeProfile_ver2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mycompany/services/">
<EmployeeID>AB123</Employe eID>
<First_Name>Jane</First_Na me>
<Last_Name>Doe</Last_Name>
<Email_Address>jane.doe@my company.co m</Email_A ddress>
</EmployeeProfile_ver2>
How could I display this employee info on my Classic ASP page instead?
Thank you for your help.
This is the URL of the web service I'm trying to use:
https://mycompany/services.asmx/employeeDetail?employeeID=<%=Emp_Id%>&accessCode=ABC
When I replace <%=Emp_Id%> with an actual employee ID, like AB123, the following XML is displayed in my browser:
<?xml version="1.0" encoding="utf-8" ?>
- <EmployeeProfile_ver2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mycompany/services/">
<EmployeeID>AB123</Employe
<First_Name>Jane</First_Na
<Last_Name>Doe</Last_Name>
<Email_Address>jane.doe@my
</EmployeeProfile_ver2>
How could I display this employee info on my Classic ASP page instead?
Thank you for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unfortunately I couldn't figure out how to import the data from the web service, but thank you for your help; I've learned something new.
ASKER
https://mycompany/services.asmx/employeeDetail?employeeID=<%=Emp_Id%>&accessCode=ABC