cancel
Showing results for 
Search instead for 
Did you mean: 

EJBDemoEaR

Former Member
0 Kudos

Hi

I am using JA312 and in an exercise there I have to deploy the ear file I have created. This ear file also contains a web service definition. When I try to see my web service using the Web Service Navigator within WDS I cannot find this

deployed web service.

Any suggestion?

Thank you

yuval

Accepted Solutions (0)

Answers (1)

Answers (1)

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

This shouldn't be happening, the web service should reflect in the web service navigator. Can you give some info about the exercise that you are trying. Also check when you created the web service, is it free from all errors? See if there are any red crosses over the folder hierarchy of the project in which you created the web service.

Bye

Ankur

Former Member
0 Kudos

Hi ankur

I found my mistake, before deploying my ear file I should have deployed

another ear file which is responsible for creatinbg a new table in the db.

Once this has been taken care of everything went to normal and I could once again see the deployed web service.

Another question if you may:

In this exercise I map my comp to a web service model.

My context,

Request

|

RegisterEmployee

- name

- surname

- department

I have three input field mapped to these three attributes. When i run the app. all three are disabled. I tried to change their cardinality to 1..1 but to no avail.

Any idea?

Thanks!!

yuval

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

Cant think of much. Can you check whether the <b>enabled</b> property of your input field is set to true?

Bye

Ankur

Please reward points for helpful answers!!

Former Member
0 Kudos

Ankur

I checked the cardinality of the Request in the model.

The node in the model shows cardinality of 0..n.

I guess that in runtime the comp cardinality changes according to

the cardinality found in the model, otherwise I cannot find the right explaination

for it?!

regards

yuval

ankur_garg5
Active Contributor
0 Kudos

Hi Yuval,

Can you tell me one thing, What type of context have you made? You said your context is

Request

|

RegisterEmployee

- name

- surname

- department

Can you tell me what is Request, and RegisterEmployee, i mean value nodes or model nodes or what?

Bye

Ankur

Former Member
0 Kudos

Hi Ankur

These are model nodes I mapped directly from the web service model I use

in the project.

Do I have to create normal nodes and then map the web service model nodes

to these newly created normal nodes?

yuval

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

I guess what you are suggesting to do is a better idea. I think you should try doing it once, it would be worth a try, i feel its a better idea.

Do let me know what happens.

Bye

Ankur

Former Member
0 Kudos

Hi Ankur

i have tried to do it but the IDE won't let me. It claims you cannot map

a model node to normal node (incompatible types).

back to square one....

yuval

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

If the exercise that you are trying is something from sdn, then can you give me the link, may be i can try it too.

Bye

Ankur

Former Member
0 Kudos

Hi

Ankur

I uploaded the course and appended the files that are needed for this exercise.

The exercise is on page 5-II-43 "EJB access through web services".

Here is the link to this folder:

http://download.yousendit.com/98861E752607CEBD

regards and thank you

yuval

I think I have to explore the subject of cardinality in depth.

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

I am trying the exercise, but i am myself stuck at the mapping step.

Step no 1-12 on page 5-II-44. I feel the steps are not very clearly explained.

Anyways sorry i couldn't help much in this regard.

Bye

Ankur

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

Were you able to solve your problem?

Bye

Ankur

Reward points for helpful answers!!

Former Member
0 Kudos

Hi Ankur

1. first I dicovered that you should not use the dapative web service model.

2. You should definitely use the deprecated web service model if you want it to

work.

3. I did not finish the exercise yet but I intend to do it in the coming days.

4. Once it works I plan to publish all the relevant details here so that others

can benefit from it.

bye

yuval

ankur_garg5
Active Contributor
0 Kudos

Hi yuval,

If your problem has been solved, please close the thread.

Bye

Ankur

Do reward points for answers that helped!!

Have a look at this link:

<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement&">Wiki - Rules of Engagement (Read under sub heading Do not provide copyrighted material)</a>

Message was edited by:

Ankur Garg