<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>19 Feb 2018 11:35:17 Z</lastBuildDate><pubDate>18 Feb 2018 18:22:52 Z</pubDate><description>Hello i try get work my webservice connect the to the bi of sap business.&#13;
I must say that I execute this request with fidler program and everything work fine i get the result.&#13;
This is my code :&#13;
&#13;
[code:wl]&#13;
ChangeCharset(charsetOccidental)&#13;
sXmlcotent is string = [&#13;
	&lt;?xml version="1.0" encoding="UTF-8"?&gt; &#13;
	&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" &gt; &#13;
	&lt;SOAP-ENV:Body&gt; &#13;
	&lt;GetCustomerBalance&gt;&#13;
	&lt;BPName&gt;&#13;
	&lt;Request&gt;&#13;
	&lt;Header&gt;&#13;
	&lt;EntityName&gt;GetBalance&lt;/EntityName&gt;&#13;
	&lt;Operation&gt;Get&lt;/Operation&gt;&#13;
	&lt;Version&gt;1.0&lt;/Version&gt;&#13;
	&lt;UserName&gt;B1iadmin&lt;/UserName&gt;&#13;
	&lt;Password&gt;SAPB1Admin&lt;/Password&gt;&#13;
	&lt;Domain&gt;&lt;/Domain&gt;&#13;
	&lt;Company&gt;TR&lt;/Company&gt;&#13;
	&lt;/Header&gt;&#13;
	&lt;Body&gt;&#13;
	&lt;Query&gt;Select ItemCode,ItemName from OITM&lt;/Query&gt;&#13;
	&lt;/Body&gt;&#13;
	&lt;/Request&gt;&#13;
	&lt;/BPName&gt;&#13;
	&lt;/GetCustomerBalance&gt; &#13;
	&lt;/SOAP-ENV:Body&gt;&#13;
	&lt;/SOAP-ENV:Envelope&gt; &#13;
]&#13;
site is string = "http://127.0.0.1:8080/B1iXcellerator/exec/soap/vP.001sap0003.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc"&#13;
&#13;
l_ws is httpRequest&#13;
cMyResponse is httpResponse&#13;
l_ws.URL = site&#13;
l_ws.Method=httpPost&#13;
l_ws.Content = sXmlcotent&#13;
l_ws.User	=	"B1iadmin"&#13;
l_ws.Password = "SAPB1Admin"&#13;
l_ws.ContentType="text/xml"&#13;
l_ws.UserAgent = "ylan"&#13;
cMyResponse = HTTPSend(l_ws)&#13;
EDT_Text1=cMyResponse..Content&#13;
Info(l_ws..Content)&#13;
&#13;
&#13;
[/code]&#13;
In the bi of sap i get my request but wrong something like i didn't get content &#13;
anyone know what is do wrong ?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64599-webservice-post-method-soap-httprequest/read.awp</link><title>WebService Post Method soap httprequest</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>ylanfi</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64599-webservice-post-method-soap-httprequest-64614/read.awp</comments><pubDate>19 Feb 2018 11:35:17 Z</pubDate><description>sXmlcotent is string = [&#13;
	&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" &gt; &#13;
	&lt;SOAP-ENV:Body&gt; &#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64599-webservice-post-method-soap-httprequest-64614/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64599-webservice-post-method-soap-httprequest-64614/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64599-webservice-post-method-soap-httprequest/read.awp">WebService Post Method soap httprequest</source><title>Re: WebService Post Method soap httprequest</title></item></channel></rss>
