It's all about the answers!

Ask a question

Error connecting to Sandbox's JUnit Project from RTC Client


Suresh Krishna (6652) | asked Jun 17 '10, 2:53 a.m.
I have a user name on the jazz.net and wanted to use the sandbox. I logged in to the SandBox (https://jazz.net/sandbox) where Call Center and JUnit Project examples are visible.

I tried to connect from the RTC Client with following credentials...

* URI : https://jazz.net/sandbox/rtc/web/projects/JUnit%20Project
* Name : jazz
* user ID : sureshkrishna
* Password : *****

Connection Timeout : 1000 (just in case)


When i try to connect, i get the following exception and nothing happens. I hope that this example is supposed to work from the Eclipse Client interface.

Failed to log into 'jazz'

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Entities are not allowed in SOAP request


Let me know if there is some other configuration and if this example is supposed to work from the Eclipse Client.

Thanks,
Krishna

5 answers



permanent link
Balaji Krish (1.8k12) | answered Jun 17 '10, 5:15 p.m.
JAZZ DEVELOPER
I have a user name on the jazz.net and wanted to use the sandbox. I logged in to the SandBox (https://jazz.net/sandbox) where Call Center and JUnit Project examples are visible.

I tried to connect from the RTC Client with following credentials...

* URI : https://jazz.net/sandbox/rtc/web/projects/JUnit%20Project
* Name : jazz
* user ID : sureshkrishna
* Password : *****

Connection Timeout : 1000 (just in case)

I have sent a note to the Sandbox team to look into this issue.

We don't allow XML Entities in the SOAP request. This is to prevent malicious javascript code to run on the server. It looks like your request to Sandbox used XML entities.

--- Balaji

When i try to connect, i get the following exception and nothing happens. I hope that this example is supposed to work from the Eclipse Client interface.

Failed to log into 'jazz'

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Entities are not allowed in SOAP request


Let me know if there is some other configuration and if this example is supposed to work from the Eclipse Client.

Thanks,
Krishna

permanent link
Balaji Krish (1.8k12) | answered Jun 17 '10, 5:16 p.m.
JAZZ DEVELOPER
I have sent a note to the Sandbox team to look into this issue.

We don't allow XML Entities in the SOAP request. This is to prevent malicious javascript code to run on the server. It looks like your request to Sandbox used XML entities.

--- Balaji

I have a user name on the jazz.net and wanted to use the sandbox. I logged in to the SandBox (https://jazz.net/sandbox) where Call Center and JUnit Project examples are visible.

I tried to connect from the RTC Client with following credentials...

* URI : https://jazz.net/sandbox/rtc/web/projects/JUnit%20Project
* Name : jazz
* user ID : sureshkrishna
* Password : *****

Connection Timeout : 1000 (just in case)

I have sent a note to the Sandbox team to look into this issue.

We don't allow XML Entities in the SOAP request. This is to prevent malicious javascript code to run on the server. It looks like your request to Sandbox used XML entities.

--- Balaji

When i try to connect, i get the following exception and nothing happens. I hope that this example is supposed to work from the Eclipse Client interface.

Failed to log into 'jazz'

org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Entities are not allowed in SOAP request


Let me know if there is some other configuration and if this example is supposed to work from the Eclipse Client.

Thanks,
Krishna

permanent link
Bill Higgins (4562523) | answered Jun 17 '10, 5:22 p.m.
JAZZ DEVELOPER
Sorry for the trouble Suresh and thanks for the ping Balaji.

Suresh: I believe the problem is that you're trying to connect to the wrong URI. Please try the following:

1. Ensure you are using an RTC 2.0.0.x client
2. Connect to https://jazz.net/sandbox/rtc

Please let me know if this fixes your problem.

- Bill Higgins
Rational Jazz Cloud Development

permanent link
Suresh Krishna (6652) | answered Jun 17 '10, 5:43 p.m.
Thank you Balaji and Bill.

I will try this in the evening (PDT) and will let you know how it goes. I hope the credentials are same as the one i use for the jazz.net site.

Thanks once again,
Suresh Krishna

Sorry for the trouble Suresh and thanks for the ping Balaji.

Suresh: I believe the problem is that you're trying to connect to the wrong URI. Please try the following:

1. Ensure you are using an RTC 2.0.0.x client
2. Connect to https://jazz.net/sandbox/rtc

Please let me know if this fixes your problem.

- Bill Higgins
Rational Jazz Cloud Development

permanent link
Suresh Krishna (6652) | answered Jun 18 '10, 3:35 a.m.
Thank you Bill. It works perfectly with the URL that you provided.

URL : https://jazz.net/sandbox/rtc

Thanks,
Krishna

Your answer


Register or to post your answer.