cancel
Showing results for 
Search instead for 
Did you mean: 

Building Enterprise Service based Mobile Business Object (MBO)

Former Member
0 Kudos

Dear community,

I am new to the SUP and mobile development, therefore I might ask some very basic question, but I did not find any answer anywhere...

I want to create a MBO from an Enterprise service from the ESW. I found the apporpriate BO / ES.

e.g. the [Approve Employee Leave Request|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=6EEEA52C624511DA36BB000F20DAC9EF]

To create a Web Service connection, I am asked to provide the WSDL file. I chose the End-Point WSDL file as suggested. Now my questions:

1) Should I download the file or connect to it via http access?

2) If via http access: Should I enable http authentification and which username and pwd are required? The one for the SCN/ or the HU2?

I hope I am not asking redundant questions. Thank you very much in advance!

Best regards,

Jenny

Edited by: Jenny Bachmann on Jan 21, 2011 6:42 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

While creating MBO for webs service you have 3 option:

a)From Local file

b)From Workspace

c)From URL

Yes , you can use both above mentioned methods and while using URL you can have http authetication.

Regards

Nidhideep Bhandari

Former Member
0 Kudos

Hi,

thank you for the reply!

I understand that I can use both methods, but building MBOs from the file does not work and I do not know how to do the http authentication (which username and password? the one from the ES for HU2?).

When I read from the file, I do get the structure of the ES and can expand it, but I cannot build an functional MBO whatsoever... am a still missing a step here?

Best regards,

Jenny

Former Member
0 Kudos

First thing to make sure the service can be accessed and MBO model is ok, it's probably better to turn authentication off. I'm not a SAP expert but I was told it's a small admin switch. Once you make sure the model works fine, you can turn on the authentication.

Once you do that, there is ability in the MBO attributes property sheet to specify HTTP basic authentication "username" and "password' for authentication to SAP at runtime. Let me know if you've trouble finding that property location.

Former Member
0 Kudos

Hi Jenny,

If we are talking about HTTP basic authentication, you have to use the username/password provided by SAP to connect to HU2.

Before trying to consume an Enterprise Service from the ES Workplace, you should use a simple Web Service hosted on your ABAP or Java system. You can create a Web Service in a couple of minutes from an RFC enabled function module/group or from a BAPI -> http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/frameset.htm

Regards,

Pierre

Answers (0)