Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webservices
[newbie]Calling .net from Java
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
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[newbie]Calling .net from Java
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password