logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: nusoap and .net: msg#00007

Subject: Re: nusoap and .net
NuSOAP and .NET interop very nicely.  NuSOAP supports rpc/encoded, rpc/literal 
and document/literal.  .NET supports rpc/encoded and document/literal.

When creating a service, the .NET default is document/literal.  Making the 
service rpc/encoded requires adding a few attributes to the class and/or 
methods.  When creating a client, .NET will consume the WSDL and write the 
client stub itself.

When creating a server, the NuSOAP default is rpc/encoded.  Making the service 
document/literal is best done by writing the WSDL by hand.  When creating a 
client, NuSOAP will consume the WSDL and format most of the SOAP call itself.

The biggest interop issue programmers have is .NET doc/lit services and NuSOAP 
clients.  The default for .NET doc/lit is to wrap parameters.  The .NET 
programmer never has to know about this wrapping, but the WSDL makes the 
wrapping clear.  The wrapping is done in a Microsoft-specific way that is not 
part of any standard.  Many SOAP implementations watch for this wrapping method 
and make their client code work with it automatically.  NuSOAP does not yet do 
this.  Therefore, the programmer must effectively "wrap" the parameters before 
calling.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Paulo Andre" <pandre@xxxxxxxxxxxxxxx>
To: "nusoap" <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 02, 2006 4:48 AM
Subject: [Nusoap-general] nusoap and .net


> I have read that nusoap uses RPC-style and .net  Document-style. Is it 
> possible for the two to talk to each other in in both scenerios (server 
> and cleint). If not, is there another soap implementation that I should 
> rather look at to work with .net?
> 
> Paulo
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>