I am trying to get that sample web services code in the help file to work. I am
fairly sure I did everything correctly because it works when I test it
'manually. Here is the error I get: I have tried this on Win2003 server and XP
SP2 and I get the same error.
Error: 1429 - OLE IDispatch exception code 0 from Connector:
Connector:Connection time out. HRESULT=0x800A1527 - Client:An unanticipated
error occurred during the processing of this request. HRESULT=0x800A1527 -
Client:Sending the Soap message failed or no recognizable response was received
HRESULT=0x800A1527 - Client:Unspecified client error. HRESULT=0x800A1527..
Connector:Connection time out. HRESULT=0x800A1527 - Client:An unanticipated
error occurred during the processing of this request. HRESULT=0x800A1527 -
Client:Sending the Soap message failed or no recognizable response was received
HRESULT=0x800A1527 - Client:Unspecified client error. HRESULT=0x800A1527
Anyone ever get this to work? Here is my code with my test at the top:
******* remove the code below before building the com object
CLEAR
INKEY(1)
loCustomer = Createobject("ShowCustomers")
lcCustomer = loCustomer.CustomersInGermany()
?lcCustomer
******* remove the code above before building the com object
Define Class ShowCustomers As Session OlePublic
Procedure CustomersInGermany As String
Local loXMLAdapter As Xmladapter
Local lcXMLCustomers As String
loXMLAdapter = Createobject("XMLAdapter")
Open Database "C:\Program Files\Microsoft Visual FoxPro 9\" ;
+ "Samples\Northwind\northwind.dbc"
Use customers
Select * ;
FROM customers ;
WHERE country Like "Germany%" ;
INTO Cursor curCustomers
loXMLAdapter.AddTableSchema("curCustomers")
loXMLAdapter.UTF8Encoded = .T.
loXMLAdapter.ToXML("lcXMLCustomers")
Close Tables All
Close Databases All
Return lcXMLCustomers
Endproc
Enddefine
No virus found in this outgoing message
Checked by PC Tools AntiVirus (6.0.0.19 - 10.004.039).
http://www.pctools.com/free-antivirus/
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/485465409c264608884aa6688572d...@w2k3s02
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.