Re: Design AXIS2 web service for .NET
Thanks Martin, thanks Jose for this rapid answears. I will try it out. Jose, you're right. I plan to develope a VB.NET client, so I look for the wsdl.exe in my .NET framwork. The WSDL has defined the complex type Weather and the methods I mentioned. So I think Martin's approach could work. Thanks to you and I will report. etcuser -- View this message in context: http://www.nabble.com/Design-AXIS2-web-service-for-.NET-tp21627641p21635202.html Sent from the Axis - User mailing list archive at Nabble.com.
Re: Design AXIS2 web service for .NET
Hello, This information is provided for explanation. You would like to have a VB .net client. The explanations provided below (Martin's mail) are for a C# (c-sharp) .net client. If you are using .net 2.0 the you may find the program wsdl.exe in the installed .net package in your computer. Hope those explanations provided you additional help to the excellent one provided by Martin below and the link he provided to his example. HTH too. Rgds, jose ferreiro On Fri, Jan 23, 2009 at 6:29 PM, Martin Gainty wrote: > > http://my.execpc.com/~gopalan/dotnet/webservices/webservice_csharp_client.html<http://my.execpc.com/%7Egopalan/dotnet/webservices/webservice_csharp_client.html> > > Create the .NET Service call from the WSDL > wsdl /l:CS /protocol:SOAP > http://localhost/ServerName/ServerServiceName.asmx?wsdl > > then compile the service > csc /t:library /r:System.WebServices.sll /r:System.xml.dll OIDServer.cs > > then create the client > wsdl /l:CS /protocol:SOAP http://localhost/OIDServer/OIDServer.asmx?WSDL > wsdl /l:CS /protocol:HttpGet > http://localhost/OIDServer/OIDServer.asmx?WSDL > wsdl /l:CS /protocol:HttpPost > http://localhost/OIDServer/OIDServer.asmx?WSDL > > Now compile > csc /t:library /r:System.Web.Services.dll /r:System.Xml.dll OIDServer.cs > > HTH > Martin Gainty > __ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and Sender > does not endorse distribution to any party other than intended recipient. > Sender does not necessarily endorse content contained within this > transmission. > > > > > > Date: Fri, 23 Jan 2009 08:25:44 -0800 > > From: mathias.muel...@etc-consult.de > > To: axis-user@ws.apache.org > > Subject: Design AXIS2 web service for .NET > > > > > > > Hello, > > > > I'm new to AXIS2 web services. I have studied the POJO Weather example of > > the AXIS2 user guide. The example runs fine. > > > > Now I have a question to make this web service available for a VB .NET > > client. > > > > How can I get access to the methods of the Weather class? Do I have to > make > > these methods available in the WeatherService class and is this the right > > design pattern for this case? I have access to the methods > setWeather(...) > > and getWeather() from the .NET client. > > > > Best regards, etcuser > > > > > > -- > > View this message in context: > http://www.nabble.com/Design-AXIS2-web-service-for-.NET-tp21627641p21627641.html > > Sent from the Axis - User mailing list archive at Nabble.com. > > > > -- > Windows Live™ Hotmail(R)…more than just e-mail. See how it > works.<http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009> > -- José Ferreiro Systems Analysis and Design Specialist MSc in Communication Systems, EPFL. "Think little goals and expect little achievements. Think big goals and win big success." David Joseph Schwartz
RE: Design AXIS2 web service for .NET
http://my.execpc.com/~gopalan/dotnet/webservices/webservice_csharp_client.html Create the .NET Service call from the WSDL wsdl /l:CS /protocol:SOAP http://localhost/ServerName/ServerServiceName.asmx?wsdl then compile the service csc /t:library /r:System.WebServices.sll /r:System.xml.dll OIDServer.cs then create the client wsdl /l:CS /protocol:SOAP http://localhost/OIDServer/OIDServer.asmx?WSDL wsdl /l:CS /protocol:HttpGet http://localhost/OIDServer/OIDServer.asmx?WSDL wsdl /l:CS /protocol:HttpPost http://localhost/OIDServer/OIDServer.asmx?WSDL Now compile csc /t:library /r:System.Web.Services.dll /r:System.Xml.dll OIDServer.cs HTH Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Fri, 23 Jan 2009 08:25:44 -0800 > From: mathias.muel...@etc-consult.de > To: axis-user@ws.apache.org > Subject: Design AXIS2 web service for .NET > > > Hello, > > I'm new to AXIS2 web services. I have studied the POJO Weather example of > the AXIS2 user guide. The example runs fine. > > Now I have a question to make this web service available for a VB .NET > client. > > How can I get access to the methods of the Weather class? Do I have to make > these methods available in the WeatherService class and is this the right > design pattern for this case? I have access to the methods setWeather(...) > and getWeather() from the .NET client. > > Best regards, etcuser > > > -- > View this message in context: > http://www.nabble.com/Design-AXIS2-web-service-for-.NET-tp21627641p21627641.html > Sent from the Axis - User mailing list archive at Nabble.com. > _ Windows Live™ Hotmail®…more than just e-mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009
Design AXIS2 web service for .NET
Hello, I'm new to AXIS2 web services. I have studied the POJO Weather example of the AXIS2 user guide. The example runs fine. Now I have a question to make this web service available for a VB .NET client. How can I get access to the methods of the Weather class? Do I have to make these methods available in the WeatherService class and is this the right design pattern for this case? I have access to the methods setWeather(...) and getWeather() from the .NET client. Best regards, etcuser -- View this message in context: http://www.nabble.com/Design-AXIS2-web-service-for-.NET-tp21627641p21627641.html Sent from the Axis - User mailing list archive at Nabble.com.