How to send SOAP request


(AkezhanOb1) #1

I need to make an SOAP request and parse the response, but IDK soap at all, and in go there is no packages to work with soap only xml

<soapenv:Envelope 	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header 	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soapenv:Body>
	<acb:GetData 	xmlns:acb="GO-EXAMPLE/">
		<exampleReq>123456789</exampleReq>
	</acb:GetData>
 </soapenv:Body>
</soapenv:Envelope>

(Johan Dahl) #2

https://github.com/hooklift/gowsdl seems to be the most popular library for soap in Go on github. Have not tested it myself.


(AkezhanOb1) #3

ok Thx