cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Web service creating

Former Member
0 Kudos

Hi,

My app server is NetWeaver AS, JavaEE 5.

I have created a simple EJB and tried to create a web service using the Wizard in the Devel. Studio. The wizard creates annotations in the bean and generates new EAR project. After its deployment to the SAP server, there is not any .wsdl file there.

I tried to use a plain Java class instead of the EJB, searched the forums, read many different tutorials, but nothing worked for me.

This one does exaclty what I would expect, but the web service is not created:

<a href="http://www.crosschecknet.com/web_services_testing_tools_sap_netweaver.php">http://www.crosschecknet.com/web_services_testing_tools_sap_netweaver.php</a>

Thanks for your help in advance,

Juraj Malecka

Accepted Solutions (0)

Answers (2)

Answers (2)

ankur_garg5
Active Contributor
0 Kudos

Hi Juraj,

Give me your email id. I will send you a step by step doc on how to create a web service using EJB.

By the way, the web service navigator (that the previous reply to your question talks about) is shipped along with your portal. Does you portal work fine using the url:

http://<host_name>:<port>/irj

If it does, then you must be able to open the web service navigator by using the url:

http://<host_name>:<port>/wsnavigator

Bye

Ankur

Reward points for helpful asnwers!!

Former Member
0 Kudos

Hi,

my address is juraj.malecka@saf-ag.com.

The http://<host_name>:<port>/irj is not running on my Web Application Server and I could not find it so far.

Thanks,

Juraj

Former Member
0 Kudos

The problem was in the annotations generated by the web service creation wizard. These should be on separate lines, then the web service is deployed correctly.

Regards,

Juraj

Former Member
0 Kudos

do you find your deployed web service listed at the URL

http://hostname:port/wsnavigator/

if you can then there is an option to download the wsdl for that web service on the relavent pages available.

Former Member
0 Kudos

no, I can not even find the wsnavigator app. Are you sure it is shipped with the JavaEE 5 Edition?

How is the .wsdl generated? Is it at the deploy time from the Java annotations? I could not find it in the filesystem either.

Juraj