I was just trying to convert over some code for eConnect 10 and several things are not working.
1) connects on the server, not on the client: Do I have to install the econnect service on the client from the GP DVD? I was getting the no endpoint listening error message. So I installed on the client and now the service stops and started. Did edit both config files to have host name. Before I go too far down the troubleshooting road I want to make sure I am supposed to install the service on the client.
2) Dim pmNumber As String
pmNumber = getDocNumbers.GetPMNextVoucherNumber(IncrementDecrement.Increment, CurrentCompanyConnect)
give this error message: String was not recognized as a valid Boolean
3) Dim result As String = eConCall.CreateTransactionEntity(CurrentCompanyConnect, PMMasterDocument)
PMMasterDocument =
<?xml version="1.0" encoding="utf-8" ?>
- <eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<eConnectProcessInfo xsi:nil="true" />
<taRequesterTrxDisabler_Items xsi:nil="true" />
<taUpdateCreateVendorRcd xsi:nil="true" />
<taCreateVendorAddress_Items xsi:nil="true" />
<taPMTransactionTaxInsert_Items xsi:nil="true" />
- <taPMDistribution_Items>
<taPMDistribution xsi:nil="true" />
<VENDORID>AMEX</VENDORID>
<ACTNUMST>6615-190</ACTNUMST>
<DEBITAMT>244.40</DEBITAMT>
</taPMDistribution>
<VENDORID>AMEX</VENDORID>
<ACTNUMST>2000-000</ACTNUMST>
<CRDTAMNT>244.4</CRDTAMNT>
</taPMDistribution>
</taPMDistribution_Items>
<taAnalyticsDistribution_Items xsi:nil="true" />
- <taPMTransactionInsert>
<BACHNUMB>CC 201104</BACHNUMB>
<VENDORID>AMEX</VENDORID>
<DOCNUMBR>02152011 -GL</DOCNUMBR>
<DOCDATE>2/28/2011</DOCDATE>
</taPMTransactionInsert>
<taMdaUpdate_Items xsi:nil="true" />
</PMTransactionType>
Gives me "sequence contains no elements"
Any help would be appreciated!