Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / July 2003

Tip: Looking for answers? Try searching our database.

[newbie]Calling .net from Java

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Breeze - 09 Jul 2003 15:30 GMT
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
Dino Chiesa [MSFT] - 10 Jul 2003 16:14 GMT
wingfoot seems to be broken; it ought to apply the ns0 to Usern .
or use a default namespace as does AXIS.

> Hello,
>     i'm using Axis for accessing a c# webservice and all works fine.
[quoted text clipped - 29 lines]
> Best regards,
> Alessio

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.