Hello, I'm very new to WAS and the NetWeaver development studio so I've been going through some of the eLearning classes. In regards to creating web services I've seen how to create a web service from session beans and client proxy classes from a WSDL. What I need to be able to do is create a web service in NetWeaver from a WSDL (not client but server). Does anyone know if this is possible in NetWeaver (and if so where I might go to read about it)?
I've used Apache Axis before, and what it lets you do is "compile" a WSDL and Java bean classes are generated for handling the web service request. Just trying to see if anything comparable to that is available.
Thanks for the help,
Corey
Hi,
We've been experimenting with webservices long before it's made easy in NW04.
I don't know if you're refering to NW04 or before that.
Anyway, ifit's the latter it's also simple:
every FM you make on WAS is as such also already available as webservice. Try the BSP app:
server/sap/bc/bsp/sap/webservicebrowser/search.html
You'll see that indeed every FM is an available WS. You can also see the wsdl and documentation by clicking on the links. And then you can use any SOAP client (in NW04 you can have also a client) or eg xmlspy to access them.
Additionial info can be found on service.sap.com.
Eddy
Hi Corey,
so you want to offer a web service based on a WSDL file that a 3rd party created?
As far as I understand the idea of a web service you offer the stuff a client needs to make use of the web service. The provider has an implementation but the WSDL does not contain information about this - this is basically the "trick" about Web Services...
Hope I got you right...
Daniel
Hi,
I'm afraid, I have no answer to your question, only an opinion.
I agree with Coreys point of view. In my opinion, it makes definitely sense to start with the WSDL. If you think of the WSDL as the interface definition of a service, that can be implemented by different service providers, this procedure is quite natural. For instance, during developing a service oriented architecture, a board might exist which negotiates a set of web services to be provided. This can be done without any existing implementation and the outcome of this negotiation could be a set of WSDLs. Unfortunately, I have not found any obviously possibility to generate stubs from WSDL using the NetWeaver Developer Studio.
Regards,
Barbara
Hi Corey,
If you mean to use the web service defined in the WSDL, you can take in the WSDL and generated proxies for that. Remember these are proxies meaning that there will be no business logics inside. All the business process will go to the endpoint which is defined inside the WSDL. That's what a Web Service client does and the Dev Studio provides toolset to do so.
However, if you mean to take in a WSDL file and regenerate the actual endpoint implementation for you, I'm afraid that is not possible and I think this is not the original purpose of distributing WSDL file.
Regards,
Marc
Add a comment