Hello All,

<wsdl:definitions targetNamespace="http://workflow.webservice.xxxxx.com";>
....
....

<element name="setProcessInstanceDataSlotValue">
    <complexType>
        <sequence>
            <element name="session" type="xsd:string"/>
            <element name="piName" type="xsd:string"/>
            <element name="dsi" type="impl:DataSlotinstance"/>
        </sequence>
    </complexType>
</element>

I am trying to invoke "setProcessInstanceDataSlotValue" operation, the wsdl
part is pasted above,

In my client I am putting the request input data (session,piName,dsi) on
dynamically
loaded class "com.xxxxx.webservice.workflow.SetProcessInstanceDataSlotValue"
using reflection. 
The code snippet is pasted below

    BindingMessageInfo inputMessageInfo = boi.getInput();
    List<MessagePartInfo> parts = inputMessageInfo.getMessageParts();
    MessagePartInfo partInfo = parts.get(0);
    Class<?> partClass = partInfo.getTypeClass();
    Object *requestClassObj *= partClass.newInstance();

With cxf 2.2.7 version client, in the *requestClassObj *I can see all three
properties session,piName and dsi.
The values for those properties are inserted properly and invocation happens
successfully. 

The problem is with upgrade from cxf 2.2.7 to cxf 2.4.2.

With  cxf 2.4.2 version clients *requestClassObj *class shows properties as
session,piName and *dsis* (instead it should be "dsi"), so the service
invocation gets fail.

Please note that I am using JAXB related jars from cxf 2.4.2 distribution
only.

However the wsdl2java generated
"com.xxxxx.webservice.workflow.SetProcessInstanceDataSlotValue" java file
contains properties correctly as session,piName and dsi.

The same problem is there with cxf 2.3.3 also.

Can anybody please help me to fix this issue.

Many thanks in advance.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-Client-issue-with-upgrade-from-CXF-2-2-7-to-2-4-2-tp4845738p4845738.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to