Page 2 of 8 FirstFirst 1234 ... LastLast
Results 16 to 30 of 111
  1. #16

    Default

    Hi,


    1.
    a) created jar file from all four Vertex dll ( VertexFXBOAPI10.X.X.DLL HSGeneralDLL10.X.X.DLLL HSClient10.X.X.DLL VertexTrading10.X.X.DLL)
    b) imported these jar in my java project. We have four jar file according to these dll.
    c) we have used EZJcom tool to convert dll to jar , http://www.ezjcom.com/download.html


    we have write following line of code for login with vertexfx, but unable to get AllDataAreLoaded event for successful login confirmation and also with these login to create client


    package com.vertex.controller;


    import java.util.HashMap;
    import java.util.Map;
    import org.springframework.web.bind.annotation.RequestBod y;
    import org.springframework.web.bind.annotation.RequestMap ping;
    import org.springframework.web.bind.annotation.RequestMet hod;
    import org.springframework.web.bind.annotation.RequestPar am;
    import org.springframework.web.bind.annotation.RestContro ller;


    import com.vertex.mapping.URLMapping;
    import com.vertexfxboapi.AccountTypeEnum;
    import com.vertexfxboapi.CVertexFXBOAPI;
    import com.vertexfxboapi.CallingResultsEnum;
    import com.vertexfxboapi.CreateAccountResultEnum;
    import com.vertexfxboapi._COAccount;
    import com.vertexfxboapi._CVertexFXBOAPI;


    import ezjcom.JComException;


    @RestController
    public class AccountController {

    _CVertexFXBOAPI vertexFXBOAPI;


    @RequestMapping( value="/api/v1/login" , method=RequestMethod.POST)
    public Map<String, Object> login(@RequestBody Map<String, Object> itemData){

    Map<String, Object> result = new HashMap<String,Object>();
    String[] UserName = {"rajat123"};
    String[] userPass = {"#@25TxA6"};
    String[] serverAddress = {"203.122.41.226"};
    int[] serverPort = {80};
    try {

    vertexFXBOAPI = new CVertexFXBOAPI().get_CVertexFXBOAPI();
    vertexFXBOAPI.SetLoginInfo(UserName, userPass, serverAddress, serverPort);
    String getUserName=vertexFXBOAPI.getLoginUsername();
    String getPassword=vertexFXBOAPI.getLoginPassword();
    System.out.println("username: "+getUserName + " Password: "+getPassword);
    vertexFXBOAPI.Login();
    } catch (JComException e) {
    e.printStackTrace();
    }
    return result;
    }
    @RequestMapping( value="/api/v1/createclient" , method=RequestMethod.POST)
    public Map<String, Object> createClient(@RequestBody Map<String, Object> itemData){
    Map<String, Object> result = new HashMap<String,Object>();
    try {
    String[] pusername = {"rajat123"};
    String[] firstName= {"imroz"};
    String[] SecondName= {"alam"};
    String[] ThirdName= {"ansari"};
    String[] LastName= {"oodles"};
    String[] Username= {"imrozoodles"};
    String[] Password= {"123456"};
    String[] Phone= {"8860318104"};
    String[] Fax= {"FX-45488848"};
    String[] Mobile= {"8860318104"};
    String[] TelPW= {"011-122201"};
    String[] POB= {"848132"};
    String[] Country= {"India"};
    String[] Email= {"imroz.alam@oodlestechnologies.com"};
    String[] Address= {"New Delhi"};

    boolean[] ReadOnlyLogin = {false};
    String[] TransTag = {"TransTag"};

    CallingResultsEnum vertexResponse =vertexFXBOAPI.CreateClient(pusername,firstName, SecondName, ThirdName, LastName, Username, Password, Phone, Fax, Mobile, TelPW, POB, Country, Email, Address, ReadOnlyLogin, TransTag);
    result.put("responseData",CallingResultsEnum.intTo EnumeratedValue(1));
    result.put("responseData1",vertexResponse.getEnume ratedIntValue());

    System.out.println("SuccessResult-->"+vertexResponse.equals(CallingResultsEnum.Succes sResult));
    System.out.println("NoPrivilegeResult-->"+vertexResponse.equals(CallingResultsEnum.NoPriv ilegeResult));
    System.out.println("CannotChangePriceResult-->"+vertexResponse.equals(CallingResultsEnum.Cannot ChangePriceResult));
    System.out.println("InvalidAccountResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dAccountResult));
    System.out.println("InvalidParametersResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dParametersResult));
    System.out.println("InvalidUsernameResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dUsernameResult));
    System.out.println("InvalidParentClientResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dParentClientResult));
    System.out.println("InvalidLogin-->"+vertexResponse.equals(CallingResultsEnum.Invali dLogin));
    System.out.println("InvalidPassword-->"+vertexResponse.equals(CallingResultsEnum.Invali dPassword));
    System.out.println("InvalidIDResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dIDResult));
    System.out.println("InvalidPriceResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dPriceResult));
    System.out.println("InvalidAmountResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dAmountResult));
    System.out.println("InvalidTicketResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dTicketResult));
    System.out.println("TimerExpiredResult-->"+vertexResponse.equals(CallingResultsEnum.TimerE xpiredResult));
    System.out.println("InvalidSymbolIDResult-->"+vertexResponse.equals(CallingResultsEnum.Invali dSymbolIDResult));


    // In this case, we are getting InvalidLogin true

    } catch (JComException e) {
    e.printStackTrace();
    }


    return result;
    }


    }


    Above java code works, but unable to get AllDataAreLoaded event, because AllDataAreLoaded is abstract method of _CVertexFXBOAPI abstract class.
    a) First we have called login api then create client api


    How to fix these?


    If you need our jar file , please provide us your mail id.


    Thanks

  2. #17
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear Rajat

    We are working on Java sample and I will update you after finish it , so please stand by .
    Last edited by Hassan-HS; 04-25-2017 at 08:10 AM.

  3. #18

    Default

    Hi,

    Whenever u done with java sample, please reply.

    Apart from these,

    Have u provide web based api for create client, account, login, registration and trading???

    Can u please provide all detail of web based api.

  4. #19

    Default

    Hi

    1) Can you please explain on how can we Integrate our custom module (say User's Profile details or any other module) with yours.
    2) How we can maintain user ( for vertex it is Client) extra data that is required with our module and not present in Vertex Api.

  5. #20

    Default

    Hi

    Can you list the Operating System for Web Server in which we can deploy our Application which is compatible with Vertex Api's.
    As you have listed some compatible OS but they are up to window 7 only.
    Can we use Windows 2008 server we have launched it on AWS ? Will vertex Api will work same on them as it works on window 7.

  6. #21

    Default

    Hi

    1) Is there any Web Module of a) Vertex Backoffice
    Client

  7. #22

    Default

    Hi

    1) Is there any Web-App Module of Vertex Backoffie and Client like we have desktop App for both of them. If Yes please provide the Domain or Ip.
    2) Also once i create a client in vertex api and then he tries to Login with his credentials So at that time can we add other authenticators like Google Authenticator with Vertex Login to verify client with more security.
    If yes do your Vertex Api supports Google Authenticator.

  8. #23

    Default

    {{ "If you have a dealer username and password for a company you can use them directly. we just offered you to get a login credentials for our demo server if you don't have one."}}


    Hi

    As posted by you we are using Demo Account Credentials provided by you .
    Can we set-up Vertex Server on our Server (to set/get all data of Client,Aaccount and trade from our end ),So that we can maintain Client ,Account Trade data on our end in our Database ?? what are the steps to follow to set up Vertex server on our machine.

  9. #24
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear Rajat


    Have u provide web based api for create client, account, login, registration and trading???

    Can u please provide all detail of web based api.
    Our Backoffice WCF does not support all functionality , and we are working to improve it but you can create your own web service using our Backoffice API's
    check the following sample which guide you to create web service .
    Attached Files Attached Files
    Last edited by Rawan-HS; 04-25-2017 at 11:56 AM.

  10. #25
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear

    1) Can you please explain on how can we Integrate our custom module (say User's Profile details or any other module) with yours.
    2) How we can maintain user ( for vertex it is Client) extra data that is required with our module and not present in Vertex Api.
    Can you give me more clarification for what are you trying to do ??

  11. #26

    Default

    Like we have many functionalities in our Client App New Position,New Entry Order,Login,Logout,etc . So if we want to create a new functionality lets say a profile section for client where he can set his profile picture or upload his documents or details or any extra functionality then can we add it with your Api's. or we have to maintain it at our end.

  12. #27
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear

    1) Is there any Web Module of a) Vertex Backoffice
    Client
    We have the following web Module :

    - Backoffice WCF Service (Primitive) : Does not support all functionality and we are working to improve it , Check this article
    - Client WCF service : use integrate any of the market watch and trading operations with clients,Check this article .

    1) Is there any Web-App Module of Vertex Backoffice and Client like we have desktop App for both of them. If Yes please provide the Domain or Ip.
    We have client Web app module check this article for more information , for the domain check your private message

    2) Also once i create a client in vertex api and then he tries to Login with his credentials So at that time can we add other authenticators like Google Authenticator with Vertex Login to verify client with more security.
    If yes do your Vertex Api supports Google Authenticator.
    You can developed your own authentication with vertex Login and you can use any authenticator.


    Can we set-up Vertex Server on our Server (to set/get all data of Client,Account and trade from our end ),So that we can maintain Client ,Account Trade data on our end in our Database ?? what are the steps to follow to set up Vertex server on our machine.

    You can get all data for your clients , accounts and trades through your server without setup the vertex server to your server, then you can use this data where ever you want

    - To get client information , call GetClientInfo method then wait ClientInfoRecieved event to trigger
    - To get the trade info , wait TransactionLog event which fire after any transaction you do .
    Last edited by Rawan-HS; 04-25-2017 at 11:52 AM.

  13. #28
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear

    Like we have many functionalities in our Client App New Position,New Entry Order,Login,Logout,etc . So if we want to create a new functionality lets say a profile section for client where he can set his profile picture or upload his documents or details or any extra functionality then can we add it with your Api's. or we have to maintain it at our end.
    You can develop your own module beside the API's then you have to maintain it at your end .

  14. #29

    Default

    Hi,

    1. can u please provide us java sample not vb, Earlier You have send create client sample in vb

    Thanks

  15. #30
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    411

    Default

    Dear


    1. can u please provide us java sample not vb, Earlier You have send create client sample in vb
    Unfortunately our experience is at Microsoft language (Vb.net , C# ..etc ) , you can contact with Microsoft/JAVA experts to help you in this

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. client's data updation using VFX Backoffice API
    By Dilip in forum VertexFX API/VTL Forum
    Replies: 39
    Last Post: 01-24-2016, 08:09 AM
  2. Backoffice API questions
    By karolis in forum VertexFX API/VTL Forum
    Replies: 1
    Last Post: 02-20-2014, 01:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •