Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Webservices and browsers

by joec_ (Scribe)
on Mar 02, 2009 at 09:36 UTC ( #747419=note: print w/replies, xml ) Need Help??

in reply to Re: Webservices and browsers
in thread Webservices and browsers


Can you tell me if it is possible to consume a perl webservice from within .NET (C#)? Obviously, these simple perl web services dont use WSDLs or XML because, when for example i try to access my web service from C#, i get an error message stating that XML was expected and it "received text/plain" - this was using the example service on the soap lite site, which just returned a simple string and not a SOAP envelope?!.

I am new to web services and think i need some clarification

Any help appreciated

Thanks --Joe


Eschew obfuscation, espouse eludication!

Replies are listed 'Best First'.
Re^3: Webservices and browsers
by jhourcle (Prior) on Mar 02, 2009 at 17:31 UTC

    The text/plain thing sounds like a problem -- make sure that the CGI is actually executing, and not just the file being returned.

    I've run into a few problems when people tried consuming a SOAP::Lite service using a strictly typed language, and I had to do some work in making sure it serialized correctly -- I had a few items that were strings of numbers, and SOAP::Lite kept marking it as numbers -- I was using RPC/encoded SOAP, and not using SOAP::Data to declare what the values were, as I was getting them from another SOAP call. In the end, I replaced SOAP::Serializer to make sure it sent what I wanted.

    I believe that issues of compatibility have come up in the past on the soaplite mailing list -- you might check their archives, but it's also possible that it's no longer an issue as they've moved away from the overhead of RPC/encoded messages.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://747419]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-07-18 09:11 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (388 votes). Check out past polls.