cancel
Showing results for 
Search instead for 
Did you mean: 

Consume web services from Mobile Web DynPro / NW Mobile 7.1

Former Member
0 Kudos

Hi ,

We would like to use NW Mobile 7.1 to build mobile applications, but we need to know beforehand if we can consume web services from Mobile client software.

I suppose following methods might be possible , but I cannot find confirmation of this in the developer documentation:

1/ Using adapte service model in WDP Mobile:

The client UI technology in SAP NW MObile 7.1 is "Mobile Web DynPro".

Can one consume web services from Mobile WDP using the adaptive service model like this can be done in "normal" Web DynPro Java ?

-> for reference on this method : see eg. this thread :

2/ Using PI7.1 integraiton

NW Mobile 7.1 contains an ABAP stack.

Can the ABAP stack be used to consume web servcies from other applications (eg. through PI71) in order to integrate this functionality in the Mobile client applications ?

Tnx in advance for your feedback.

David

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

To answer your second question..With out PI itself this could be achieved.

DOE which is part of ABAP AS installation with usage type mobile talks to BE (data exchange) via Bapi wrappers(getlist,getdetails,create,delete ,modify).

The bapiwrappers inturn could invoke the webservices exposed by backend.

The mapping between Bapiwrapper structures and DOE object(data object) structures need to be maintained(via the tools in DOE) and at the end data flow between DOE and BE is through these webservices invoked in the bapiwrappers.

Please refer to this link that explains Bapiwrapper calling webservices (for data exchange to the backend application)

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6606] [original link is broken] [original link is broken] [original link is broken];

Some more information on DOE

[DOE beginners|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204fc387-6646-2a10-99b7-bba030bc3f68]

There are features to enable DOE itself as SOA enabled in the future releases of netweaver mobile.This means any client application framework would be able to invoke services exposed by DOE for data exchange to Backend through DOE.

Regards,

Liji

Former Member
0 Kudos

Let me rephrase my question somewhat simpler:

To what extent can one use the standard SOA infrastructure (Service Registry) in order to consume "Enterprise Services" from SAP or non-SAP systems in "composite" mobile applicatoins?

Thanks in advance,

BR

David

Former Member
0 Kudos

Hi David

Mobile Applications for Handhelds perspective in NWDS can be used to develop composite mobile applications, but unfortunately you cannot use the services in the Enterprise Services directly in Mobile Client, the reason being we cannot import a webservice model in the Mobile Applications perspective just like we do it in WebDynpro Java. We can only import model from DOE.

The orther way is to write your own java class that calls webservice and use this code in the Mobile Application framework.

But your code should use the jdk1.3 compatible API's as Creme JVM used in PDA is JDK 1.3 compatible.

Please refer to this thread, may be you can call webservices using DOE and then import the model in DOE to client.

Regards

Vidyadhar

Edited by: Vidyadhar N on Aug 3, 2009 5:38 AM