No, first thing you do, is use soapUI to call your service, if it works then you've got a request and a response that you know is 'good :)
The *next* thing you do is you setup a proxy such as tcpmon [1] between your ruby client and the real web service (so run the proxy on port 8081 and have it redirect to the service server's real port (for example 8080). Then tweak your ruby code to point at the 'new' proxied address tcpmon should now dump out what the ruby is trying to send across to the web service, now you have an example of the 'bad' request + response. You should at this point be able to compare and contrast and/or post copies of both to the mailing list, alongside a copy of the WSDL you're trying to consume ;) An alternative to using a proxy is to just look at the traffic on the wire, since you're on OSX you can do this with a tool such as 'wireshark' [2] . Armed with this information it is usually a simple exercise to work out what's gone wrong (and 8 times out of 10 it'll be a subtle namespace and/or prefix issue.) [1] https://tcpmon.dev.java.net/ [2] http://www.wireshark.org/ Hope this helps a little. -=cj On Mon, Jul 27, 2009 at 11:42 PM, doug livesey <[email protected]> wrote: > Looking at it in soapUI (managed to get it working on OSX in the end -- > kept crashing on Ubuntu), and seeing how the xml requests are crafted.So > does that mean I need to copy that XML & pass that to the various methods? > > If I copy the xml from soapUI's xml version of login (or whatever), that is > what I pass in? > Sorry if the question is dense, but the questioner is, too. ;) > (And I'm bouncing around between logons.) > Cheers, > Doug. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
