MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Tufts
Post subject: confluence search api - not supported (closed)  PostPosted: Aug 25, 2006 - 10:31 PM
Registered Member
Registered Member


Joined: Dec 28, 2005
Posts: 2

Hi, we have a Confluence web service that we want to access from MyEclipse in a simple java client.

Any idea what code we need from the XFire layer to instantiate a remote web service correctly?

The remote web service is this: http://confluence.atlassian.com/rpc/soap-axis/confluenceservice-v1?wsdl


thanks,
Bruce
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Aug 26, 2006 - 06:38 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Bruce,

Have you tried our top down Web Service wizard? You can invoke this wizard from the Eclipse toolbar and then choose the Top-down scenario. Point it to the wsdl url above to generate web service classes and a sample test client.

Hope this helps,
Brian.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Tufts
Post subject: confluence wsdl  PostPosted: Aug 28, 2006 - 01:09 PM
Registered Member
Registered Member


Joined: Dec 28, 2005
Posts: 2

Hi Brian, we'll try that next. Dan Diephouse wrote back from xfire, he says the issue is with confluence's wsdl so nothing wrong with xfire regarding this issue.

thanks,
Bruce
===========================================


Dan, thanks for the clarification. I didn't realize confluence's wsdl was the problem. We'll just avoid the dynamic client with their current web service.

thanks,
Bruce

On 8/27/06, Dan Diephouse (JIRA) <jira@codehaus.org> wrote:

[ http://jira.codehaus.org/browse/XFIRE-599?page=all ]

Dan Diephouse closed XFIRE-599.
-------------------------------

Resolution: Won't Fix

There are two problems with the confluence wsdl which make it non-basic profile conformant (see www.ws-i.org for more information about the Basic Profile - it is basically a standard which tells you how to build correct web services).
1. It uses RPC-Encoding which is deprecated
2. It has multiple operations with the same name, which isn't allowed in the basic profile.

We may support these in the future, but I believe there are already issues for these.

> exception in dynamic client when wsdl contains method named "search"
> --------------------------------------------------------------------
>
> Key: XFIRE-599
> URL: http://jira.codehaus.org/browse/XFIRE-599
> Project: XFire
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.2
> Environment: winxp sp2
> Reporter: Bruce Krasnof
> Assigned To: Dan Diephouse
>
> Trying to do a dynamic client with confluence's remote soap api, but a soap "search" method is causing a conflict I think.
> This line raises an exception:
> Client client = new Client(new URL("http://confluence.atlassian.com/rpc/soap-axis/confluenceservice-v1?wsdl"));
> exception: An operation with name [search] already exists in this service
> thanks,
> Bruce

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits