Consuming MII WebService in Java WebDynpro


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

We are facing a strange situation...

We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields :

Shift code : SHIFT
Shift description : DESCRIPTION
Start time : START_TIME
End time : END_TIME

It works fine, we use the import adaptative web service wizzard in netweaver developper studio to use this WS...

But if we to an update on the webservice, changing a field name for example (SHIFT -> SHIFTCODE), we start to have trouble...

We got then the very helpful error message :

Exception on execution of web service with WSDL URL '/WebServices/GetShift' with operation 'Xacute' in interface '{http://www.sap.com/xMII}XacuteWSSoap'

If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()

I got the following (extract) :



As you can see, the model definition is NOT updated and we still have SHIFT as name instead of SHIFTCODE...

If someboby has an idea, it will save us our life ;o)

Thanks

No comments posted yet

Your Answer:

Login to answer
62 Like 32 Dislike
Previous forums Next forums
Other forums

generate seo frienly url from a text like wordpress
Convert: "åäö" to "aao", "space" to "-", "!?&q

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

how to get sn motherboard
Hello.
I want to get serial number motherboard, cpu and else hardware.
Can You show me sam

New to PHP and just trying to understand a little code.
I hope I'm not annoying anyone or breaking the rules but I was wondering about this bit of code righ

blank page.... nothing is happening.
I'm new to a lot of this but in the last 24hrs have learned a lot.
Installed latest version of my

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

Send current URL in URL with a $_GET variable problem.
Hello community,

I have created a function that gets the current variable of a page, example:

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash