Glad I could help! That’s one of the great things about sharing knowledge on the internet - your ability to help people is global!
Regards, Bob -----Original Message----- From: 蘇 軼(CEC) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:52 PM To: axis-user@ws.apache.org Subject: Re: Could I use the stub class generated by wsdl2java to access a .Net service? hi Bob, Thank you very much for your help ! I tried to install a simple service without Skeleton class, and used stub classes(xxxLocator etc.) generated by WSDL2Java to access it, Succeeded! The .net web service (supported by other team members) will be very simple, and I think the stub client will work fine. Thanks again ! - sukie ----- Original Message ----- From: "DeRemer, Bob" <[EMAIL PROTECTED]> To: <axis-user@ws.apache.org> Sent: Wednesday, June 07, 2006 8:40 PM Subject: RE: Could I use the stub class generated by wsdl2java to access a .Net service? > 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: axis-user@ws.apache.org > 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] > --------------------------------------------------------------------- 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]