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

Error: Error calling method of a PBNI Object with soapconnection

42 views
Skip to first unread message

Eduardo Fernandez

unread,
Sep 23, 2014, 1:32:42 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

bruce.arm...@gmail.com

unread,
Jan 23, 2015, 3:32:29 PM1/23/15
to
These google groups were originally feeds from the Sybase NNTP server. That server was shut down on March 28, 2013. Questions are now handled in the SAP Community Network PowerBuilder Developer Center:

http://scn.sap.com/community/developer-center/powerbuilder/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bthread%5D
0 new messages