Consuming MII WebService in Java WebDynpro


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

Hello,

We are facing a strange situation...

Did you know?Explore Trending and Topic pages for more stories like this.
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

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

Saas with SAP R/3
hi experts,

Is SaaS offer available in SAP? for SAP R/3? from where i can get the info a

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

Cant display mysql data
Hey all,

I am learning php and my first goal is to create a simple CMS. At the moment I am st

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

if else problem, help please
i have this script that i made only i try to also put in a if else for for some reason the script is

webpage with (simple) login & mysql-db
Hi all,

What I was looking for before was a multi-user password manager, web-based! The offer

Firewall / visited websites logger
Hi. I have a firewall implementation and I want to log all the websites visited on the machine. S

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

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