Forum Discussion

Venkatta's avatar
Venkatta
New Contributor
6 years ago

5.4.0 soap ui the page could not be loaded

Hi,

 

I am trying to get the access token using the Authorization code grant from SoapUI. I am getting the error the page could not be loaded.

 

Venkatta

6 Replies

  • I'm getting this exact same error.  My screen shot would be almost identical. It only started happening after upgrading to version 5.5.0.  I kind of know what the problem is, but am not sure how to fix it.  Here are the details:

     

    - SOAPUI v.5.5.0

    - Client: Mac OSX Mojave

    - Server: Tomcat7

    - CXF REST API

    - Oauth version 1.0a

    A SOAPUI Oauth authorize call results in a white pop-out window with the message: The page could not be loaded.

    Expected result is an HTML login dialog as returned from the given call back URL

    SOAP UI Logs state:

    • com.eviware.soapui.impl.rest.actions.oauth.OAuth1Exception: com.google.api.client.http.HttpResponseException: 404 Not Found
    • <html><body>No service was found.</body></html>

    Server logs are returning a 500 error:

    • Unexpected internal server exception: java.lang.IllegalArgumentException: Media type value can not be null

    It seems that the SOAPUI Oauth process began setting the Media type to "null" at some point between versions 5.4.0 and 5.5.0.

     

    Can the Media type be adjusted by a SOAP UI user or is it a code change?