From: nabblee Date: 2008-10-04T10:54:14+09:00 Subject: Re: wsdl2ruby request invalid while soapui's is correct The problem still appears with 1.5.8. Here is my request: POST /accountservice/account.asmx/GetOxSessionWithSource HTTP/1.1 Content-Type: text/xml; charset=utf-8 Soapaction: "http://oxbranch.optionsxpress.com/GetOxSessionWithSource" User-Agent: SOAP4R/1.5.8 Accept: */* Host: oxbranch.optionsxpress.com Content-Length: 543 And the response is: HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Length: 236 Content-Type: text/plain; charset=utf-8 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Set-Cookie: TLTHID=6D076B6B48711349484380840CF90FF8; Path=/; Domain=.optionsxpress.com Set-Cookie: TLTSID=6D076B6B48711349484380840CF90FF8; Path=/; Domain=.optionsxpress.com HostName: EQBRANCH3 Set-Cookie: TLTCNT=EQBRANCH30000000000814400 Date: Sat, 04 Oct 2008 01:49:11 GMT System.InvalidOperationException: Request format is invalid: text/xml; charset=utf-8. at System.Web.Services.Protocols.HttpServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() ...........c And it still works fine with SOAPUI, where the request looks like this: POST /accountservice/account.asmx HTTP/1.1 Content-Type: text/xml;charset=UTF-8 SOAPAction: "http://oxbranch.optionsxpress.com/GetOxSessionWithSource" User-Agent: Jakarta Commons-HttpClient/3.0.1 Host: oxbranch.optionsxpress.com Content-Length: 458 Any ideas? Thanks for any leads! --Lee Mark Thomas-5 wrote: > > On Sep 28, 10:10 pm, Lee Grey wrote: >> The wiredump from soap4r request looks like this (after my >> clean-up/reformatting): >> >> POST /accountservice/account.asmx/GetOxSessionWithSource HTTP/1.1 >> Content-Type: text/xml; charset=utf-8 >> Soapaction: \"http://oxbranch.optionsxpress.com/GetOxSessionWithSource\" >> User-Agent: SOAP4R/1.5.5 > > Version 1.5.5 is broken. Please install version 1.5.8 and try again. > > -- Mark. > > > -- View this message in context: http://www.nabble.com/wsdl2ruby-request-invalid-while-soapui%27s-is-correct-tp19717554p19808348.html Sent from the ruby-talk mailing list archive at Nabble.com.