Forum Discussion

zoch's avatar
zoch
New Contributor
5 years ago

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

  • nmrao's avatar
    nmrao
    Champion Level 3
    May you want to check with your team first.
    See if
    Request is correct
    Passed all headers
    • zoch's avatar
      zoch
      New Contributor

      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"
      }
      }}

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        Thanks for details. You may also try in Postman and see if that works.