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

tag inside php...
hi


Code: <?php
echo "<td width="$columnWidth%" align=&

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

Calling a Procedure with IN & OUT Parameters
Hello,

I usually call my procedures using the following way

declare variable e

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

Standard DES encryption script?
Can anybody point me to a tutorial or a short script that shows how to encrypt some text with salt i

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

cURL and Sessions
Ohai.

So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'

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