Hallo,
Ich möchte in c# auf den Webservice eines TOMCAT zugreifen. Die URL ist bekannt (
localhost:8083/SOAP/soaprouter)
es kommt eine Meldung "Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
Dies ist klar.
wie kann ich in c# diesen service ansprechen? brauche ich einen Proxy?
in LUA funktioniert der Aufruf folgendermaßen
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9:
| function postrq(url, rqfile) local rsp, errortxt xmlhttp:open("POST",url, false) xmlhttp:setRequestHeader("Content-Type","text/xml") luacom.config.last_error = nil xmlhttp:send(io.open(rqfile, "r"):read("*all")) errortxt = luacom.config.last_error return xmlhttp.responseXML.xml, errortxt end |
vielen Dank schon mal