Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: SOAP::Lite server with c sharp client

by Anonymous Monk
on Apr 24, 2014 at 23:36 UTC ( [id://1083698]=note: print w/replies, xml ) Need Help??


in reply to SOAP::Lite server with c sharp client

...any suggestion is appreciated...

I don't know C# (dont have it), but where in your C# code is the "URL" specified?

  • Comment on Re: SOAP::Lite server with c sharp client

Replies are listed 'Best First'.
Re^2: SOAP::Lite server with c sharp client
by grifhis (Novice) on Apr 28, 2014 at 08:01 UTC

    In C# the url is in "Service Reference" configuration. It takes the url of the WSDL file... The problem is that the XML response sent from server perl is different from the XML response aspected from C#. I use this code in PM file to return the response from server:

    # $return elaborated my $response = SOAP::Data -> new() ->name('response') ->prefix('') ->type('string') ->uri('FUNCTION') ->value($result); return $response;

    I need to know how the server can make a correct XML response for DotNet. Probably the solution is a better use of "SOAP::Data -> new()" to write the correct tags and header...

      The problem is .... I need to know how the server can make a correct XML response for DotNet. Probably the solution is a better use of "SOAP::Data -> new()" to write the correct tags and header...

      Kinda almost but not really -- DotNet is not a SOAP message format ... you need to learn more about SOAP :)

      Does you message (the SOAP::Data...) stuff matches your advertised WSDL? If it doesn't you should adjust WSDL until it advertises the correct "stuff".

      If the xml generated and WSDL are close enough, its most likely the SOAP message styles ( RPC/ENCODED/RPC/LITERAL/DOCUMENT/LITERAL ) that aren't matching ...

      There are a bunch of suggestions on that starting at Microsoft .NET client with SOAP::Lite Server including Modify your .NET server, if possible

      Yes, I can't really help and I do hate SOAP :)

        well, i am a beginner in Web Service, but with soap lite i wrote a complete Web Service (client and server sides) in Perl Language, and it works perfectly, i can send documents and images with "base64" encoding. My problem started with this c sharp client, so i hate C sharp ! ^_^

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1083698]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-23 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found