Hello,
I'm trying to add a worklog via Web Service with addWorklogAndRetainRemainingEstimate.
When I add it using a SOAP client everything works fine, but when I use the same values to add the worklog
using BPEL it gives me this error, that seems a data format error(but datas are the same used with SOAP client)
What can be the problem?
S.
[2013/02/18 14:04:05] Faulted while invoking operation "addWorklogAndRetainRemainingEstimate" on provider "PartnerLink_1".less -<messages> -<input> -<Invoke_3_addWorklogAndRetainRemainingEstimate_InputVariable> -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in0"> <in0 xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">5ca43c24968bf0386c7f137556272a637e503324 </in0> </part> -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in1"> <in1 xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">SUPHD-3 </in1> </part> -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in2"> -<in2 xmlns="" xmlns:def="http://beans.soap.rpc.jira.atlassian.com" xsi:type="def:RemoteWorklog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <author>sstradi </author> <comment>prova ws </comment> <created>2013-02-18T14:04:05.000Z </created> <groupLevel/> <id/> <roleLevelId/> <startDate>2013-02-12T00:00:00.000Z </startDate> <timeSpent>8h </timeSpent> <timeSpentInSeconds>28800 </timeSpentInSeconds> <updateAuthor/> <updated/> </in2> </part> </Invoke_3_addWorklogAndRetainRemainingEstimate_InputVariable> </input> -<fault> -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"> -<part name="code"> <code>Server.userException </code> </part> -<part name="detail"> <detail> <detail> <faultData xmlns:ns1="http://lang.java" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:NumberFormatException"/> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Srv-ProjectNet</ns2:hostname> </detail> </detail> </part> -<part name="summary"> <summary>java.lang.NumberFormatException: Invalid date/time </summary> </part> </remoteFault> </fault> </messages> [2013/02/18 14:04:05] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.less -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"> -<part name="code"> <code>Server.userException </code> </part> -<part name="detail"> <detail> <detail> <faultData xmlns:ns1="http://lang.java" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:NumberFormatException"/> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Srv-ProjectNet</ns2:hostname> </detail> </detail> </part> -<part name="summary"> <summary>java.lang.NumberFormatException: Invalid date/time </summary> </part> </remoteFault
Community moderators have prevented the ability to post new answers.
The only possible problem I see is the "updated" field - it's also of type xsd:dateTime but in your trace it's empty, so try passing a value there to see if it will fix the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.