i have been able to identify a major issue which is with the Base64
encoding of the workflow data. The encoding doesn't seem to perform properly
However, now i get a 'Internal Server Error' message, error code 500 for
the workflow with id 34 encoded encoded using PHP's base64 encode function
and used as a raw string in the post body.
What correct java implementation for the base64 encoding can one use?

Cheers

2015-07-03 19:30 GMT+01:00 Larry Akah <[email protected]>:

> Workflow with id 16 is a t2flow workflow. I have used this one but the
> issue still seems to persist. error code 400 and response message 'bad
> Request'.
> It's strange. Normally, i would even expect an Internal Server error for
> invalid workflows or so , but this one is different.
>
> cheers
>
> 2015-07-03 17:09 GMT+01:00 Larry Akah <[email protected]>:
>
>> Haven't really had to deal with such a situation. Still searching ...
>>
>> cheers
>>
>> 2015-07-03 17:09 GMT+01:00 Larry Akah <[email protected]>:
>>
>>> Ok.
>>> Thanks will do that. Now , i get a 400 error code and a 'bad request'
>>> error message when using 'POST' as a request method for the http
>>> connection. When i use GET everything seems to be fine. so am just
>>> wondering why the request is going bad with a POST.
>>>
>>> Cheers
>>>
>>> 2015-07-03 17:05 GMT+01:00 alaninmcr <[email protected]>:
>>>
>>>> On 03/07/2015 16:27, Larry Akah wrote:
>>>>
>>>>> Could you guide me more, because according to documentation here:
>>>>> http://wiki.myexperiment.org/index.php/Developer:WorkflowsResource i
>>>>> don't
>>>>> see what i need to specify to get only t2 workflows.
>>>>>
>>>>
>>>> You can certainly check if they are t2 workflows by looking at the
>>>> content type of an individual workflow. It should have
>>>>
>>>> <content-type>application/vnd.taverna.t2flow+xml</content-type>
>>>>
>>>> and not
>>>>
>>>> <content-type>application/vnd.taverna.scufl+xml</content-type>
>>>>
>>>> So, you can get all the workflows and then filter out all of them
>>>> except t2 ones. I think there is a better way but cannot remember it
>>>> (Friday afternoon).
>>>>
>>>>  Cheers
>>>>>
>>>>
>>>> Alan
>>>>
>>>
>>>
>>>
>>> --
>>> *Akah Larry N.H*
>>>
>>> *Lead Software Engineer @ GiftedMom*
>>> *Founder IceTeck Inc*
>>> *www.iceteck.com*
>>>
>>> Developing technologies for emergence and sustainable development.
>>>
>>>
>>
>>
>> --
>> *Akah Larry N.H*
>>
>> *Lead Software Engineer @ GiftedMom*
>> *Founder IceTeck Inc*
>> *www.iceteck.com*
>>
>> Developing technologies for emergence and sustainable development.
>>
>>
>
>
> --
> *Akah Larry N.H*
>
> *Lead Software Engineer @ GiftedMom*
> *Founder IceTeck Inc*
> *www.iceteck.com*
>
> Developing technologies for emergence and sustainable development.
>
>


-- 
*Akah Larry N.H*

*Lead Software Engineer @ GiftedMom*
*Founder IceTeck Inc*
*www.iceteck.com*

Developing technologies for emergence and sustainable development.

Reply via email to