on 08-24-2015 8:14 PM
Hi Antonio,
It looks like your issue will be a fair bit different from the credentials issue that Stefan encountered, so I have split the discussion.
With regards to your issue, the first thing that sticks out is a confusion between the ESP cluster port and the Web Service Provider REST port. These are 2 different ports that will be required and at the moment, you have edited the configuration try and have the project and the Web Service provider both use the same port. To clean that up, you need to do the following:
1) Figure out what port your ESP cluster is running on. If you are just starting it from ESP Studio by running a project, then the default port is 9786.
2) Remove the Project Binding that you set in the Project Configuration file.
3) In the wsp.xml file, confirm that the REST port is still set to use port 9091:
<webService enabled="true">
<soapPort>9090</soapPort>
<restPort>9091</restPort>
<protocol>http</protocol>
4) In the wsp.xml file, set the "alloworigin" value to "*"
<allowOrigin>*</allowOrigin>
5) In the <DefaultCluster> section of the wsp.xml file set the port to either 9786 if you are using the default ESP cluster started by Studio, or set it to the port that your ESP cluster is actually using.
<DefaultCluster>
<Hostname>localhost</Hostname>
<Port>9786</Port>
Let us know what output you get from the WSP after making those changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, with the correct port 9091 the error is "Invalid Connection details" , The tool is Design Studio
the wsp.xml is:
<webService enabled="true">
<soapPort>9090</soapPort>
<restPort>9091</restPort>
<protocol>http</protocol>
<allowOrigin>*</allowOrigin>
<DefaultCluster>
<Hostname>localhost</Hostname>
<Port>9786</Port>
<Workspace>default</Workspace>
<Authtype>user</Authtype>
<SslEnabled>true</SslEnabled>
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.