Forum Discussion

JimL's avatar
JimL
Contributor
16 years ago

SOAPUI and Axis2 webservices

Hi,

I'm trying to use SOAPUI with Axis2 webservices, but am having problems.

For example, I tried to call the "Quickstart" / Stockbroker example from Axis2.

I import the WSDL into SOAPUI, but when I try to send the request to the webservice, I am getting:

HTTP/1.1 505 HTTP Version Not Supported
Server: Apache-Coyote/1.1
Date: Sun, 29 Mar 2009 22:20:45 GMT
Connection: close

Has anyone used SOAPUI with Axis2-based webservices?  If so, can you tell me how to resolve this problem?

Thanks,
Jim

2 Replies

  • JimL's avatar
    JimL
    Contributor
    Hi,

    I think that I may have discovered the problem.  When I look at the RAW request in SOAPUI, it shows:

    POST http://192.168.0.233:8080/axis2/service ... 1Endpoint/ HTTP/0.9
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:getPrice"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 192.168.0.233:8080
    Content-Length: 301


     

     
         
           
            ?
         

     


    Can anyone tell me why SOAPUI appears to be putting "HTTP/0.9" (i.e., designating an HTTP 0.9 protocol) on the POST?

    Thankx,
    Jim
  • JimL's avatar
    JimL
    Contributor
    Hi,

    I just found the solution.  I went to SOAPUI Tools->Preferences, then there's a dropdown for the HTTP version.  That was set to 0.9, so I selected 1.1, and now it works !!

    Jim