[newbie]Calling .net from Java

B

Breeze

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
 
D

Dino Chiesa [MSFT]

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top