TJohnston | 2016-07-07 20:24:04 UTC | #1
There is a file named SyngentaConfig.json found in the bin directory of this project. Below is what it looks like.
{ "LogYesOrNo": "Y", "URL": "http://localhost:8180", "connectionString": "Server=TOMLENOVO;Database=I3PureCloud;User Id=Syngenta;password=Syngenta;", "spGetAccountByPhoneNumber": "spGetAccountByPhoneNumber", "spGetContactByPhoneNumber": "spGetContactByPhoneNumber", "spGetAreaCodeByAreaCode": "spGetAreaCodeByAreaCode" }
This is a desciption of it.
LogYesOrNo - Y indicates I am logging that activity that takes place in the program.
URL - i am not really using this.
connectionString - Is the sql connection string to a SQL database.
spGetAccountByPhoneNumber - is the name of a SQL Stored Procedure called by the OperationContract GetContactByPhoneNumber.
spGetContactByPhoneNumber - is the name of a SQL Stored Procedure called by the OperationContract GetAccountByPhoneNumber.
spGetAreaCodeByAreaCode - is the name of a SQL Stored Procedure called by the OperationContract GetAccountByAccountNumber.
When this program is tested with Postman we are receiving a Status of 400 Bad Request.
Feel free to alter the code, remove the calls to the Database and hard code values if you wish to. If the problem is that I returning a json string rather than the Data Contracts with Data Members please alter my code to use these Data Contracts. The intent is to get this code working, tested and deployed so we can test the Web Services Data Dip Connector.
I stated I had attached the file but when I try to upload the zip file I created, I receive the message Sorry, the file you are trying to upload is not authorized (authorized extension: jpg, jpeg, png, gif).. I will try to find another way to get this zip file to you.
Thank you
KevinGlinski | 2016-07-08 15:17:18 UTC | #2
There really isn't enough information in this thread to help out with. You're going to need to provide more details to be able to get help here. A 400 error could be any number of issues.
tim.smith | 2016-07-12 16:07:11 UTC | #4
TJohnston, post:1, topic:125
I stated I had attached the file but when I try to upload the zip file I created, I receive the message Sorry, the file you are trying to upload is not authorized (authorized extension: jpg, jpeg, png, gif).. I will try to find another way to get this zip file to you.
If you can post specific questions and code snips of the relevant code, we can help you. However, we do not provide general code review and debugging services on the forum. If you need that type of service, you may contract ININ PSO or a 3rd party development company to assist you.
Regarding the upload being blocked, that is intentional as we only allow images for security reasons.
system | 2017-08-28 19:25:13 UTC | #5
This post was migrated from the old Developer Forum.
ref: 125