Simple answer is "it depends".   You can use the Stub client proxy code from 
WSDL2Java to access a .NET web service, but it depends on the answer to the 
following question:   

1) what WS stack are you using on each side?  Specifically (i.e. Axis2 
1.0[Java] + WCF/Indigo[.NET]; or Axis2 1.0[java] + (ASMX 2 + WSE 3)[.NET])

The answer to this, and how the .NET service's endpoints are configured, will 
affect the level of interop you can do [or possibly not at all].

If your .NET service's endpoint binding is basic HTTP, then that is the 
easiest.  The more WS-* characteristics your service uses, the more difficult 
the interop.  Not impossible, but just more switches on both sides to set 
properly.  In addition, there are cases that are not interopable.  For 
instance, I recently learned that a WCF service accessed via the built-in 
netTcpBinding is not interopable because the built-in binding uses the 
proprietary MSBinary encoding - which only works with WCF on both sides.

Regards,
Bob 

-----Original Message-----
From: 蘇 軼(CEC) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 07, 2006 3:58 AM
To: [email protected]
Subject: Could I use the stub class generated by wsdl2java to access a .Net 
service?

hi all,

I am a java PGer and not clearly know the .Net platform, 
Could anybody tell me if the stub class can be used to access
a web service built on .Net platform?

I think it is rmi-like, so the Skeleton and Stub class must be 
used together.

Any help or web resources would be greatly appreciated !

- sukie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to