Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java soap client to connect to sugarCRM server

843833Dec 13 2007 — edited Jan 21 2008
Hello,
my Project involve writing a openoffice sugarCRM plugin .so i need to make an interop communication between OO and sugarCRM probably via webservices.

i thought a starting point is to write a java client to connect to sugarrcm server and query the sugarCRM instance for some valuable data.

below is an example of soap params to send to sugarcrm server so to get available sugarCRM modules .what i need is to write a java client to connect to sugarcrm using below params and get back the results.


can someone give me hint (or java code) to write this soap client?
many thanks.
Name: get_available_modules
Binding: sugarsoapBinding
Endpoint: http://localhost/sugar/soap.php
SoapAction: http://localhost/sugar2/soap.php/get_available_modules
Style: rpc
Input:
  use: encoded
  namespace: http://www.sugarcrm.com/sugarcrm
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: get_available_modulesRequest
  parts:
    session: xsd:string
Output:
  use: encoded
  namespace: http://www.sugarcrm.com/sugarcrm
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: get_available_modulesResponse
  parts:
    return: tns:module_list
Namespace: http://www.sugarcrm.com/sugarcrm
Transport: http://schemas.xmlsoap.org/soap/http   
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2008
Added on Dec 13 2007
2 comments
297 views