Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Tuesday March 15, 2005
12:09 PM

nontrivial SOAP/WSDL

[ #23661 ]
After pretty much wasting a spending a whole day reading example WSDL, specs, tutorials and banging my head against the WSDL/SOAP tools you get with .net/mono I am finally getting somewhere.

I downloaded the SOA Editor (registration requires you fill every field, even fax - very annoying) from capescience.

I also managed to get to a point with mono wsdl where I could start to debug by comparing against the googlesearch wsdl

After chatting with gellyfish on irc and cribbing from GoogleSearch WSDL and trying various things out I managed to get mono wsdl to complain about the response rather than the request, from there I was able to use microsoft xsd.exe (via mono) to generate a schema of the result and cut and paste that into the final wsdl, and now it seems to work.. where work equals generating a huge c# file.

Todays lesson: ensure you are using rpc not document mode, which means no literal output - you need to explicitly include the xsd schema of input and output.

Remember WSDL is a fragile thing and if yours doesn't work its because its not-quite-right and expect to spend a lot of time polishing it until its perfect and everything knows exactly what it means, no shortcuts no easy ways.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • http://www.capescience.com/articles/commonerrors/index.shtml

    http://www.developer.com/services/article.php/1602051
    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;