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

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

Timer control causing error
I recently decided to add a timer control to an existing page that uses AJAX on my site. As soon as

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Taxonomy? Classification? Categorisation?
Not sure if there is a way around this classification problem
I have a supplier who produces

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

Filling gaps in dates
So i'm doing a query for sales data and my return array looks like this

('date' => '20

FFmpeg Images 2 Video conversion problem ??
I got folder full of images , number of images = 600 , I want to make a video which plays one image

cstdatomic (c++0x std::atomic) / g++ 4.4
Hello,

I'm trying to use cstdatomic (std::atomic in the upcoming c++0x standard) in g++

Storing/displaying image urls in a database?
Hi
Basically I have the following scenario:
User chooses picture from list. Picture info is ad

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