on 07-30-2014 8:30 PM
Does anyone know why I am getting the error is bold below? Actual error message could not be attached.
I am getting the following error when I run a Soap Proxy Client from a PB 12.5 application :
The essential part of the error is:
Error Number 0
Error Text = Unknown error, problem with Soap Client
Listed below is the script from the event that fails:
________________________________________________________________________________________
//Declare Soap objects
soapconnection l_conn
proxy_basichttpbinding_icardloadingservice proxy_obj
__authorization ltns_authorization
__transaction ltns_transaction
__transactionresponse ltns_transactionresponse
LONG ll_log, ll_return
STRING ls_endpoint
l_conn = create soapconnection
ll_log = l_conn.SetSoapLogFile ("C:\mySoapLog.log")
ll_return = l_conn.CreateInstance( proxy_obj, "proxy_basichttpbinding_icardloadingservice" )
ltns_authorization.idbranch = "A00070"
ltns_authorization.iduser = 3159
ltns_authorization.password = "#######"
ltns_transaction.accountnumber = "A1111"
ltns_transaction.amount = 100.
ltns_transaction.branchid = "A00070"
ltns_transaction.clavereceiver = "1234567"
ltns_transaction.senderid = 1
ltns_transactionresponse.accountnumber = ""
ltns_transactionresponse.code = ""
ltns_transactionresponse.idbranch = ""
ltns_transactionresponse.idsender = ""
ltns_transactionresponse.ws_message = ""
ltns_transactionresponse.passwordreceiver = ""
IF IsValid(proxy_obj) THEN
ltns_transactionresponse = proxy_obj.createtransaction( ltns_authorization, ltns_transaction ) <===ERROR happens here!
ELSE
MessageBox("Error","Proxy object is NULL")
END IF
Hi Donald:
Can we access this Web Service to reporduce the behavior?
Cheers...Bob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd also recommend that you run, not walk, away from the EasySOAP client and use the .Net engine instead. The EasySOAP engine is still provided for backwards capability, but should really not be used for any new web service clients. It's must too far out of date to be of much use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Bruce I understand however, I tried for over a week to use the web service datawindow and I kept getting an error message that .NET 4.0 Framework SDK was not installed even though I had installed at least twice.
I posted the issue on this Forum however, none of the suggestions I received solved the problem. I have run out of time and need to move forward. I thought EasySoap would be easy however, there is an issue with this as well.
Hi Donald:
Have you been able to connect and process with any other tool?
If not, try SoapUI - The Home of Functional Testing to see if it works outside PB.
Cheers...Bob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob,
Thanks for the suggestion. I downloaded SoapUI as you suggested and ran the method that I was testing and the response structure was correctly populated.
The problem remains that from a PB application, I get the same error as I posted above...Error Number = 0, Error Text = Unknown error, problem with SoapClient
Any ideas?
Don
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.