New Crop Error -MedStatus

New Crop Status entry error- upon clicking get the following:
SoapFault exception: [Client] SoapClient::SoapClient(): ‘location’ and ‘uri’ options are required in nonWSDL mode in C:\xampp\htdocs\openemr\interface\eRxSOAP.php:206 Stack trace: #0 C:\xampp\htdocs\openemr\interface\eRxSOAP.php(206): SoapClient->SoapClient(NULL) #1 C:\xampp\htdocs\openemr\interface\eRxSOAP.php(404): eRxSOAP->initializeSoapClient(1) #2 C:\xampp\htdocs\openemr\interface\soap_functions\soap_accountStatusDetails.php(51): eRxSOAP->getAccountStatus() #3 {main} thrown in C:\xampp\htdocs\openemr\interface\eRxSOAP.php on line 206

Using version 6.02 (2)

Firefox

AWS 2019 Windows Server

POST error for this XML -basically what the logs showed.

New Crop indicated need to one have that follows this example:
https://preproduction.newcropaccounts.com/InterfaceV7/StatusWithPt.xml

Thank you for your help!

Clearly the client path argument is empty. Unsure if there is a configuration init somewhere or in Globals but i’d look at all configuration for NewCrop. Try resave Globals or …

@Jit_Chawla
The most probable cause of the error is in configuration and specifically Globals NewCrop eRx Web Service Address

The above error is caused because the passed through global path is empty/NULL which is an array element offset of 1 or the parsed second half of NewCrop eRx Web Service Address namely from the semicolon on.

https://secure.newcropaccounts.com/v7/WebServices/Update1.asmx?WSDL;https://secure.newcropaccounts.com/v7/WebServices/Patient.asmx?WSDL

Ensure this string is correct in globals and resave!

Re: This issue with the two urls in the same config input string can easily be overlooked especially, when in pre production settings.
Issue could be solved by adding the second url it’s own config input in globals. Anyone!

1 Like

What are the symptoms that the user is seeing? We had a case where it was not the program at all but the ISP had placed NewCrops on a block list. In our case, the system would hang and not do anything when NewCrops was enabled.