cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP UI Rest webservice error(Json Format)

Highlighted
New Contributor

SOAP UI Rest webservice error(Json Format)

Hi All,

 

I have generic problem at SOAP UI tool.

That means , I am using Json format request but Response message

 

JSON tab:"The content you are trying to view cannot be viewed as JSON"

XML tab:"404 Not found"..

 

I've checked Content Type and ather options , looks good...

 

Can you please help me?

 

Thanks

 

 

5 REPLIES 5
Highlighted
Community Hero

Re: SOAP UI Rest webservice error(Json Format)

May you want to check with your team first.
See if
Request is correct
Passed all headers


Regards,
Rao.
Highlighted
New Contributor

Re: SOAP UI Rest webservice error(Json Format)

Hello Rao,

 

We've checked all Header and Content Type options but it is showing "The content you are trying to view cannot be viewed as JSON"

 

WADL :  http://ebstest.ceynak.com.tr:8020/webservices/rest/XXCYNKUSER/TESTUSERNAME

header:

Content-Typeapplication/json; charset=UTF-8

 

And authantication user/psw

 

Request :

{"TESTUSERNAME_Input":{
"RESTHeader":{
"Responsibility":"SYSTEM_ADMINISTRATOR",
"RespApplication":"SYSADMIN",
"SecurityGroup":"STANDARD",
"NLSLanguage":"AMERICAN"
},
"InputParameters":{
"X_USER_NAME" : "SYSADMIN"
}
}}

 

Highlighted
Community Hero

Re: SOAP UI Rest webservice error(Json Format)

Thanks for details. You may also try in Postman and see if that works.


Regards,
Rao.
Highlighted
New Contributor

Re: SOAP UI Rest webservice error(Json Format)

Hi,

 

I tried postman bu still see 404 not found

Highlighted
Community Hero

Re: SOAP UI Rest webservice error(Json Format)

Ok, thanks.
A potential defect? What your team says?


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors