Topic
  • 5 replies
  • Latest Post - ‏2013-07-01T10:00:16Z by EGWM_世梨_伍
naresh91
naresh91
4 Posts

Pinned topic Retrieving data using soap api using cxf framework

‏2009-07-17T14:24:19Z |
Hi All,

I have genarated client stubs using cxf framework for webreports.wsdl. And on port "52312" the big fix reports are running. And when i try to run GetRelevanceResult service from my client, i am getting the web reports login page html source as response. And i used "http://<myhost>:52312/webreports"as endpoint url for my client. Could any one please let me know whether or not the url i am using is correct? And can we use any third party frame work (like cxf) to connect to bigfix reports web service? or we have to use bigfix specific soap api framework? If i have to use bigfix specific framework, can i find some examples to connect to bigfix web reports using Java language?

Any help is much appreciated.

Thank you,
Naresh
  • btownley91
    btownley91
    1 Post

    Re: Retrieving data using soap api using cxf framework

    ‏2009-07-19T23:46:35Z  
    Are you using this url:

    http://besserver:80/webreports?wsdl
    or
    http://besserver:52311/webreports?wsdl

    Are you passing the username and password as arguments?

    besserver.RelevanceService bes = new BigFixSoap.besserver.RelevanceService();
    String[] res;
    res = bes.GetRelevanceResult(textBoxQuery.Text, "username", "password");
  • naresh91
    naresh91
    4 Posts

    Re: Retrieving data using soap api using cxf framework

    ‏2009-07-20T04:56:25Z  
    I am using the following url as end point address,

    http://<MY_HOST>:52312/webreports?wsdl

    I am passing the username and password for request that i am creating.

    List<String> result = RelevancePortType.getRelevanceResult(relevanceExpr, username, password)
  • naresh91
    naresh91
    4 Posts

    Re: Retrieving data using soap api using cxf framework

    ‏2009-07-20T10:57:37Z  
    RelevanceService class that you pointed was written in c# lanugage. Could you please point me to the equivalent java library, because i am using JAVA language to connect to the bigfix reports?
  • naresh91
    naresh91
    4 Posts

    Re: Retrieving data using soap api using cxf framework

    ‏2009-07-20T11:49:04Z  
    I have been successful in connecting to the Web Reports Service and calling the SOAP APIs using axis libraries.
  • EGWM_世梨_伍
    EGWM_世梨_伍
    2 Posts

    Re: Retrieving data using soap api using cxf framework

    ‏2013-07-01T10:00:16Z  
    • naresh91
    • ‏2009-07-20T11:49:04Z
    I have been successful in connecting to the Web Reports Service and calling the SOAP APIs using axis libraries.

    hi naresh91 ,can you send you calling code to me? My email is: hxj1988@126.com, thank you,I need your help very much.