cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service PI 7.0 to PI 7.3

Former Member
0 Kudos

HI all,

We have a Web Service Java en PI 7.0, that works perfectly.

Now we installed a new server fresh installation with PI 7.31 and we want this web service in this new installation.

How can i download the web service? From the Visual Administrator it's possible?

I have the .EAR i think that is in this location: p:\sap\SID\DVEBMGS01\SDM\root\origin\sap.com\ws_app\ws_app.ear

I downloaded this file, and in the new installation we execute the following steps thanks to (http://scn.sap.com/message/13813907😞

1. Login with sidadm on NW7.3 WebAs server.

2. Go to following directory /usr/sap/SID/InstanceNo/j2ee/deployment/scripts

3. locate deploy.csh (used in Unix environment) \ deploy.bat (Used on windows platform) file under scripts directory.

4.  Execute following command to deploy .ear \ .war \ .sda files server

./deploy.csh username:password@FQDN Name of server:50004 /location of file

But we couldn't see the deployed in the new Web Services Navigator tool of 7.31.

The log showed that the web service plain null, i assume that it didn't work.

¿What should be the correct step to migrate the web service to PI 7.31?

Sorry for the Newbie Questions.

Kind Regards,

César Felce

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

try converting the ear into SDA file and deploy it through JSPM

http://wiki.scn.sap.com/wiki/display/XI/Convert+EAR+file+to+SDA+file

or through NWDS

http://scn.sap.com/thread/2120471

Former Member
0 Kudos

Hi Harees,

Thanks for your quick replay, I will try to do the first thing that you suggested.

With the second suggested article, first i need to import the project right? Where is supposed to be the code? All I can see is the .class within the EAR.

The other thing that I need to understand if I should Migrate the Service to JAX-WS, because the old Service is in RPC, and searching in google says that the web service is not compatible. It this right?

Kind Regards,

César Felce

former_member184720
Active Contributor
0 Kudos

With the second suggested article, first i need to import the project right? Where is supposed to be the code? All I can see is the .class within the EAR

i believe you can deploy it directly, If you have ear file.

The other thing that I need to understand if I should Migrate the Service to JAX-WS, because the old Service is in RPC, and searching in google says that the web service is not compatible. It this right?

not 100% sure but this is the case with 7.11

If you want to create new applications using new features offered with Java EE5 and SAP NetWeaver Process Integration 7.1, enhancement package 1, SAP recommends that you start using the new programming model for services: Java API for XML Web Services (JAX-WS).

JAX-WS replaces the JAX-RPC API in Java EE5 and, although Java EE5 still supports JAX-RPC for backwards compatibility, develop new applications to benefit from the new standard.

Former Member
0 Kudos

Hi Hareesh,

Thanks again, i will try to deploy the EAR with the NWDS.

I'm downloading it irght know from

https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/nw/731/

But its pretty slow. Is this the correct version of NWDS for this PI 7.3? can i use the 7.1? But first i will try the first choice.

thanks,

César Felce

Former Member
0 Kudos

Hareesh,

I finally could download completely the NWDS and configure the PI 7.31.

I did exactly what you recommended:

or through NWDS

http://scn.sap.com/thread/2120471

It work nicely:
In NWDS go to Windows->Show View->Other... Type 'deploy', select "Deploy View"->"Deploy View" . Select "External Deployable Archives", right click, "Add", select your ear, click "Deploy".

Answers (0)