Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error calling method of a PBNI object

373 views
Skip to first unread message

eduard...@gmail.com

unread,
Sep 23, 2014, 1:39:17 PM9/23/14
to
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

unread,
Sep 25, 2014, 8:00:55 AM9/25/14
to
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 new messages