converting from http post method to soap

converting from http post method to soap

am 03.02.2007 17:08:43 von Chuck

Hello,

I used to be able to access a third party webservice using the post method
in an ASP page.

Original Post Method

<%
Dim sGetAccountUrl

sGetAccountUrl =
"http://www.sample.com/webservices/webservices.asmx/GetAccou nt" &_
"?a=" & la &_
"&d=" & ld &_
"&p=" & lp
%>



" />
<%

If Request.Form("acctname") = "" Then
Call oXmlsrc.load(sGetAccountUrl)
'Response.Write "" 'debugging code
newXML=oXmlsrc.xml
Set re=new regexp
re.pattern=" xmlns.+?>"
newXML=re.replace(newXML,">")
Call oXmlsrc.loadxml(newXML)
else
....

%>
------------------------------------------------------------ -------------------------------------------------------

Now they say I can only use SOAP.
This is the example they gave me.


xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">



string
string
string
int





1) How do I assign the values of la, ld and lp into the SOAP statements? la
= site_no, ld = company_id, lp = key_code
*** Note: I will need to add a column for id.
2) Do I substitute the EndPoint URL they gave me for the URL
http://tempuri.org?
3) How do I assign the SOAP statements to sGetAccountURL?

Thank you in advance.

Chuck