Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Generic Web Connector configuration: How are URLs used?
Generic Web Connector configuration: How are URLs used? [message #55638] Thu, 07 August 2008 17:31 Go to next message
Eclipse UserFriend
The Generic Web Connector docs at
http://wiki.eclipse.org/index.php/Mylyn_User_Guide#Generic_W eb_Repository_Connector
describe the requirement to configure three URLs and a pattern.

Task URL:
New Task URL:
Query Request URL:
Query Pattern:

How are these URLs used? The Query Request URL for example may also be
provided in a new query, with the interesting difference that on the
repository config page, I can specify a method (POST or GET) while on the
query config dialog the method cannot be specified, so I guess it will be
GET.

Anyway, I'm trying to configure queries for bugs that are assigned to me. I
can use the preview button on the query config to verify the query is
correct, but when I exit the configuration, I get an error dialog:

Could not fetch resource:
http://......
Invalid XML: Error on line 15: The content of elements must consist of
well-formed character data or markup.

How do I figure out what this is about?
Can I examine the xml that is defective in line 15?
Re: Generic Web Connector configuration: How are URLs used? [message #55665 is a reply to message #55638] Thu, 07 August 2008 17:48 Go to previous messageGo to next message
Eclipse UserFriend
> Anyway, I'm trying to configure queries for bugs that are assigned to me.
> I can use the preview button on the query config to verify the query is
> correct, but when I exit the configuration, I get an error dialog:
>
> Could not fetch resource:
> http://......
> Invalid XML: Error on line 15: The content of elements must consist of
> well-formed character data or markup.
>
> How do I figure out what this is about?
> Can I examine the xml that is defective in line 15?

The above error is resolved by configuring all three of the URLs in the
advanced configuration section.

I thought I could eliminate that because I specified URLs in the individual
queries, but does not seem to be the case.
Re: Generic Web Connector configuration: How are URLs used? [message #55692 is a reply to message #55665] Thu, 07 August 2008 18:12 Go to previous message
Eclipse UserFriend
Michael Giroux wrote:
>> Anyway, I'm trying to configure queries for bugs that are assigned to me.
>> I can use the preview button on the query config to verify the query is
>> correct, but when I exit the configuration, I get an error dialog:
>>
>> Could not fetch resource:
>> http://......
>> Invalid XML: Error on line 15: The content of elements must consist of
>> well-formed character data or markup.
>>
>> How do I figure out what this is about?
>> Can I examine the xml that is defective in line 15?
>>
> The above error is resolved by configuring all three of the URLs in the
> advanced configuration section.
>
> I thought I could eliminate that because I specified URLs in the individual
> queries, but does not seem to be the case.
>
If you specify those urls in the repository configuration, they would
be populated automatically when you create multiple queries for the same
repository. You can also specify different parameters for each query, so
those parameters would be substituted into the query url. If you use
pre-configured repository templates it would work exactly like that.

Also note that if you leave query pattern blank, connector interprets
that as query results are actually an RSS feed and it uses XML parser to
extract the data (actually the ROME library). For some reason I was
under impression that it had been documented somewhere.

regards,
Eugene
Re: Generic Web Connector configuration: How are URLs used? [message #592318 is a reply to message #55638] Thu, 07 August 2008 17:48 Go to previous message
Eclipse UserFriend
> Anyway, I'm trying to configure queries for bugs that are assigned to me.
> I can use the preview button on the query config to verify the query is
> correct, but when I exit the configuration, I get an error dialog:
>
> Could not fetch resource:
> http://.....
> Invalid XML: Error on line 15: The content of elements must consist of
> well-formed character data or markup.
>
> How do I figure out what this is about?
> Can I examine the xml that is defective in line 15?

The above error is resolved by configuring all three of the URLs in the
advanced configuration section.

I thought I could eliminate that because I specified URLs in the individual
queries, but does not seem to be the case.
Re: Generic Web Connector configuration: How are URLs used? [message #592325 is a reply to message #55665] Thu, 07 August 2008 18:12 Go to previous message
Eclipse UserFriend
Michael Giroux wrote:
>> Anyway, I'm trying to configure queries for bugs that are assigned to me.
>> I can use the preview button on the query config to verify the query is
>> correct, but when I exit the configuration, I get an error dialog:
>>
>> Could not fetch resource:
>> http://.....
>> Invalid XML: Error on line 15: The content of elements must consist of
>> well-formed character data or markup.
>>
>> How do I figure out what this is about?
>> Can I examine the xml that is defective in line 15?
>>
> The above error is resolved by configuring all three of the URLs in the
> advanced configuration section.
>
> I thought I could eliminate that because I specified URLs in the individual
> queries, but does not seem to be the case.
>
If you specify those urls in the repository configuration, they would
be populated automatically when you create multiple queries for the same
repository. You can also specify different parameters for each query, so
those parameters would be substituted into the query url. If you use
pre-configured repository templates it would work exactly like that.

Also note that if you leave query pattern blank, connector interprets
that as query results are actually an RSS feed and it uses XML parser to
extract the data (actually the ROME library). For some reason I was
under impression that it had been documented somewhere.

regards,
Eugene
Previous Topic:Generic Web named expressions ({Id}.+?) - are these supported?
Next Topic:old local tasks reappeared
Goto Forum:
  


Current Time: Tue May 13 15:02:19 EDT 2025

Powered by FUDForum. Page generated in 0.03721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top