Dear All;

I'm creating a java client to invoke BPS admin service. So first I obtained the 
JSESSIONID by invoking AuthenticationAdmin services', "login" operation .Then I 
did try to invoke HumanTaskClientAPIAdmin services', "simpleQuery" operation 
with "ALL_TASKS" parameter. There I did pass previously generated JSESSIONID as 
a header with name "Cookie".
But I was unable to get the task list as it output the error 
"javax.xml.ws.soap.SOAPFaultException: 
org.apache.axis2.databinding.ADBException: Unexpected subelement 
simpleQueryInput".
Please find the attached error log and "getTask()" method java class which 
invoke the HumanTaskClientAPIAdmin service to identify the error.

Is there any solution from expertise.

Thanks & Best Regards,
Akila Rathnayake
Software Engineer


This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.

Attachment: getTasks.java
Description: getTasks.java

Authenticate_Admin_output--- :true

------JSESSIONID 
header----:{Cookie=[JSESSIONID=8933BA981E4F321A1C0A71BB0C12F5D5]}
Human_Task_response----:null
javax.xml.ws.soap.SOAPFaultException: 
org.apache.axis2.databinding.ADBException: Unexpected subelement 
simpleQueryInput
        at 
com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
        at 
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
        at 
com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:184)
        at 
com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:203)
        at 
org.wso2.carbon.core.services.authentication.AdminServiceClient.getTasks(AdminServiceClient.java:356)
        at 
org.wso2.carbon.core.services.authentication.AdminServiceClient.main(AdminServiceClient.java:168)
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to