Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

Error calling method of a PBNI object

瀏覽次數:372 次
跳到第一則未讀訊息

eduard...@gmail.com

未讀,
2014年9月23日 下午1:39:172014/9/23
收件者:
Hello everyone, I've been searching this thread in many forums but still have not gotten the answer.

I have a WSDL URL (http://181.177.242.171/tiendaselws/el1s5y3FqY5f.php?wsdl)
And made the web service proxy using the wizard, it recognizes it fine.

So, I have a Datawindow full of data and I store all inside a STRING on XMLformat

EG:

String variable,retorno
integer l_ret

variable = dw_1.Object.DataWindow.Data.XML
conn = create SoapConnection
conn.SetOptions("SoapLog=~"c:\\soaplog.txt~"")

l_ret = Conn.CreateInstance(proxy, "pedidosport")
if l_ret <> 0 then
MessageBox("Error", "No se puede crear la instancia del proxy")
return -1
end if

try
retorno = proxy.setXmlArticulos(variable)
catch ( SoapException e )
MessageBox ("Error", "No se puede invocar el WebService ~n" +e.getMessage())
destroy conn
return -1
end try
destroy conn


------------

So, the l_ret var returns 0 (its OK), when the app goes inside the "try", the retorno variable gets empty (""), the "soap exception e" doesnt get anything, and once the debug reaches "end try" the error message appears.

I have copied the pbsoapclient90.dll and pbsoapclient90.pbd in almost all computer directories (win32,pb/share, the app path, etc)

It's my first time I am using this and I hope you can help me before I get fired :/.

Thank you very much,

Eduardo

steven.va...@gmail.com

未讀,
2014年9月25日 上午8:00:552014/9/25
收件者:
Op dinsdag 23 september 2014 19:39:17 UTC+2 schreef Eduardo Fernandez:
Have you recently migrated from a Powerbuilder version? We experienced the same problems after we migrated from PB 11.5 to 12.5 and forgot to import the PB extension (the new consumer proxy pbd) into the proper pbl. We had to do this and redeploy the proxy until we were rid of the problem.
0 則新訊息