Hi there
I have to read some data from a webservice:
https://myvolley.volleyball.ch/SwissVolley.wsdl
i use a basic script to open another webservice, where i can pass the parameters with ?param1=xy¶m2=abc
This is here not working.
i have to open the method getTeamDetailed with the team_ID 5015
to get this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://myvolley.volleyball.ch" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:getTeamDetailedResponse><team xsi:type="ns1:TeamDetailed"><ID_team xsi:type="xsd:int">5015</ID_team><ID_team_core xsi:type="xsd:int">1471</ID_team_core><Caption xsi:type="xsd:string">VBC Schaffhausen 1</Caption><Gender xsi:type="xsd:string">f</Gender><club_ID xsi:type="xsd:int">913330</club_ID><ClubCaption xsi:type="xsd:string">VBC Schaffhausen</ClubCaption><LeagueCaption xsi:type="xsd:string">3L</LeagueCaption><OrganisationCaption xsi:type="xsd:string">SVRNO</OrganisationCaption></team></ns1:getTeamDetailedResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Here is my basic script.Any ideas where and how i can send the parameters to the webservice?
<%
Dim objXMLHTTP : SET objXMLHTTP = Server.CreateObject("Msxml2.XMLHTTP.3.0")
Dim results
set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.open "get", "https://myvolley.volleyball.ch/SwissVolley.wsdl", False
objXMLHTTP.setRequestHeader "Content-Type", "text/xml; charset=ISO-8859-1"
objXMLHTTP.Send
results = objXMLHTTP.ResponseText
Response.Write results
%>
Thanks for your help
</div>