[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Breeze

7/9/2003 2:30:00 PM

Hello,
i'm using Axis for accessing a c# webservice and all works fine.
Now i must use a much smaller library for accessing the ws from an applet
and it doesn't work for a minimum difference in the SOAP body:

AXIS Body:
<SOAP-ENV:Body>
<startSecureSystemAccess xmlns="http://www.perinvestire.com/site...
<Usern>teo</Usern>
</startSecureSystemAccess>
</SOAP-ENV:Body>

Wingfoot's Body:
<SOAP-ENV:Body>
<nso:startSecureSystemAccess xmlns:ns0="http://www.perinvestire.com/site...
<Usern>teo</Usern>
</ns0:startSecureSystemAccess>
</SOAP-ENV:Body>

For what i understood the second xml fragment is correct, but the WS doesn't
catch the "Usern" parameter.

The c# web service is as simple as

[WebMethod]
public String startSecureSystemAccess(String Usern) {
return Usern;
}

Any idea?

Best regards,
Alessio


1 Answer

Dino Chiesa [MSFT]

7/10/2003 3:14:00 PM

0

wingfoot seems to be broken; it ought to apply the ns0 to Usern .
or use a default namespace as does AXIS.

"Breeze" <alessio.spadaro@finserviceDOTcom> wrote in message
news:8HVOa.3009$B8.1887@news.edisontel.com...
> Hello,
> i'm using Axis for accessing a c# webservice and all works fine.
> Now i must use a much smaller library for accessing the ws from an applet
> and it doesn't work for a minimum difference in the SOAP body:
>
> AXIS Body:
> <SOAP-ENV:Body>
> <startSecureSystemAccess xmlns="http://www.perinvestire.com/site...
> <Usern>teo</Usern>
> </startSecureSystemAccess>
> </SOAP-ENV:Body>
>
> Wingfoot's Body:
> <SOAP-ENV:Body>
> <nso:startSecureSystemAccess xmlns:ns0="http://www.perinvestire.com/site...
> <Usern>teo</Usern>
> </ns0:startSecureSystemAccess>
> </SOAP-ENV:Body>
>
> For what i understood the second xml fragment is correct, but the WS
doesn't
> catch the "Usern" parameter.
>
> The c# web service is as simple as
>
> [WebMethod]
> public String startSecureSystemAccess(String Usern) {
> return Usern;
> }
>
> Any idea?
>
> Best regards,
> Alessio
>
>