on 10-27-2009 10:45 AM
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 '<sever>/WebServices/GetShift' with operation 'Xacute' in interface 'XacuteWSSoap'
If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()
I got the following (extract) :
<ModelClassPropertyInfo name="SHIFT" dataType="com.sap.tc.webdynpro.model.webservice.types.string(java.lang.String)" readOnly="false" qName="SHIFT" required="true" backendType="null"/>
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)
Thank you
PS:it the same behaviour if we add a field...
Oliver -
Did you try to reimport the WS model ..? If yes and still doesn't work...Try to delete the old proxy in webdynpro ( adoptive ws) and import again.
To avoid code changes,you can give same old name while fresh import.
Adoptive WS in webdynpro is not really like Adoptive RFC .It has some limitations.
Thanks
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hari,
Yes, I already re-import model... It doesn't help.
Concerning the proxy, first of all I don't have access as developper to the NWA.
But anyway, as we are in test environment for the moment, we don't specify any proxy logical name when importing the model in Webdynpro, so it's not for sure linked to this proxy...
Regards
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.