Prev: ReportProInit()
Next: Opening index automatically
From: Mario Schulz on 8 Apr 2010 08:56 Hi, i call a web service with following code. All work fine but if i have to call the webservice with a proxy i try to use oClient:ConnectorProperty("ProxyServer",cProxy) i recive an error with : FuncSym -> CONNECTORPROPERTY FuncPtr 0x00000000 VO-Description -> Member not found. the code: oClient := OleAutoObject{ "MSSOAP.SoapClient30" } IF ! oClient:fInit oClient := OleAutoObject{ "MSSOAP.SoapClient" } ENDIF IF oClient:fInit oClient:mssoapinit("http://www.cgwebline.com/CFC/CGXMLTrans.cfc?WSDL", "", "", "" ) IF ! Empty( cProxy ) oClient:ConnectorProperty("ProxyServer",cProxy) //oClient:ProxyServer := cProxy what can i do? whats wrong? thanks, Mario
From: Jamal on 8 Apr 2010 12:40 Mario, Welcome to the weird syntax of VO!! Use: oClient:["ConnectorProperty", "ProxyServer"] := cProxy Jamal "Mario Schulz" <info(a)removethiswegenspamconcept-dv.de> wrote in message news:hpkjq7$brk$1(a)online.de... > Hi, > > i call a web service with following code. All work fine but if i have to > call the webservice with a proxy i try to use > oClient:ConnectorProperty("ProxyServer",cProxy) > > i recive an error with : > > > FuncSym -> CONNECTORPROPERTY FuncPtr 0x00000000 > VO-Description -> Member not found. > > > the code: > > oClient := OleAutoObject{ "MSSOAP.SoapClient30" } > IF ! oClient:fInit > oClient := OleAutoObject{ "MSSOAP.SoapClient" } > ENDIF > > IF oClient:fInit > > > oClient:mssoapinit("http://www.cgwebline.com/CFC/CGXMLTrans.cfc?WSDL", "", > "", "" ) > > > IF ! Empty( cProxy ) > > > oClient:ConnectorProperty("ProxyServer",cProxy) > //oClient:ProxyServer := cProxy > > > > > what can i do? whats wrong? > > thanks, > > Mario >
From: Jamal on 8 Apr 2010 17:30 > Welcome to the weird syntax of VO!! > oClient:["ConnectorProperty", "ProxyServer"] := cProxy As it relates to OLE! Jamal "Jamal" <vodotnet_nospam(a)yahoo.com> wrote in message news:hpl0v7$ip4$1(a)news.eternal-september.org... > Mario, > > Welcome to the weird syntax of VO!! > > Use: > > oClient:["ConnectorProperty", "ProxyServer"] := cProxy > > Jamal > > "Mario Schulz" <info(a)removethiswegenspamconcept-dv.de> wrote in message > news:hpkjq7$brk$1(a)online.de... >> Hi, >> >> i call a web service with following code. All work fine but if i have to >> call the webservice with a proxy i try to use >> oClient:ConnectorProperty("ProxyServer",cProxy) >> >> i recive an error with : >> >> >> FuncSym -> CONNECTORPROPERTY FuncPtr 0x00000000 >> VO-Description -> Member not found. >> >> >> the code: >> >> oClient := OleAutoObject{ "MSSOAP.SoapClient30" } >> IF ! oClient:fInit >> oClient := OleAutoObject{ "MSSOAP.SoapClient" } >> ENDIF >> >> IF oClient:fInit >> >> >> oClient:mssoapinit("http://www.cgwebline.com/CFC/CGXMLTrans.cfc?WSDL", >> "", "", "" ) >> >> >> IF ! Empty( cProxy ) >> >> >> oClient:ConnectorProperty("ProxyServer",cProxy) >> //oClient:ProxyServer := cProxy >> >> >> >> >> what can i do? whats wrong? >> >> thanks, >> >> Mario >> >
From: Mario Schulz on 9 Apr 2010 03:04 Hi Jamal, thanks for the advise...but if i compile the line oClient:["ConnectorProperty", "ProxyServer"] := cProxy i get an error : "bad message selector syntax..." any other syntax ? ^^ bye, Mario >> >
From: Mario Schulz on 9 Apr 2010 06:26
Hi Jamal, i found it... oClient:[ConnectorProperty, "ProxyServer"] := cProxy thats the way !! and it wooooorks !!! many many thank to you... bye, Mario |