Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi All,
I am new to the concept of running a dll/exe server and support calling it from outside of server as a SOAP call.So that
1>client don't have any dependency and even
  linux,mac .. user can access the window base parsing module.
2>my parsing /business logic will be centralized and secure.


Here is my requirement.

I have an VC++ based parser exe/dll that takes a company name as a WSDL request
and search in google[by Urldownloadtofile(...)]
and returns the company website.
[eg. 
    input :Service.wsdl:-
           ...
           <company>oracle</company>
    output:
           ...
          <website>www.oracle.com</website>
]

I want to run my application as a "thin client" by uploading in my windows based web server.
there will be another imtermediate exe/dll that will
1>run and listen to a port[say 3434]
2>will store all the request WSDLs in a message queue in server.
3>will fetch 1 company from the queue and will send to single instance of parser
exe/dll
that is already running in server.
4>will take back the response and send back to the client.

Now to access that imtermediate exe/dll
from client side the link will be something like:
www.<mydomain>.com:3434/parser_exe_dll.exe
client can have an html page where there will be 3 text box to input the his user name ,password,company_input
and a button.
once client click the button a javascript will create the wsdl
will
1> send the request to the url explained above.



then it will get back the response and will display.


please let me know is it possible.

main ly the concept of
www.<mydomain>.com:3434/parser_exe_dll.exe[^]

is feasable or not.

thanks in advance.
Posted
Comments
Kreagan Naicker 15-Feb-12 14:56pm    
Hi.

Your request is extremely confusing.

What is the objective of this application?
What does the client require it to do?

I'm almost certain there is an easier way to accomplish this.
shankha2010 15-Feb-12 23:34pm    
Hi,
Thanks for reply.
please let me explain in more clear way.

1 solution

Hi,
Thanks for reply.:) :)

Actually its about internet research logic that takes inputs like Company name,person name and what ever is known by customer and returns the other details about them.
[you can assume it like
C++
Struct AllmostEveryThing
{
CString Company,
CString PesonName,
CString PersonMailId,
CString AboutCompanyAddress,
CString emailDomain,
CString website,
CString linkedinId
.
.
.
} AllmostEveryThing;
BOOL GetAlmostEveryThing(AllmostEveryThing &obj)
{
  try{
  //search in google
  //do some complicated matching,
  //background research,
  //reverse engineering
  //ald fill the other part of the structure
  return SUCCESS;
  }catch(...)
  {
   return FAILURE;
  }
  
}

]

The whole code is already writen in vc++ [as MFC/WIN32 dll/exe ]
which is full of callbacks,sqliteDB access,google search quary creation etc.

As its writtent in VC++ so at present I can give it as a stand alone desktop application to the windows users
so now I want:-
    1>It should be used Windows,Linux,Mac,Android Mobile,iPhone with minimal
      configuration. [means I want it as a thin client].
      [thats why I want to upload the whole code in a windows based 
      server]
    
    2>It should be called from an application written by client 
      if he have the proper credential.[so I want it as a SOAP call  
      like sales force]
    
    3>It should process all the request coming from all the user[may be 
      after a certain delay]
      [So I want a message queue in server to remember all the  
      request and send 1 by 1 to the parser module.]




pleeeez... let me know..

C++
if(It's possible in more simple manner)
{
//how
}
else
{
//please let me know if there is any problem in the architecture 
//mentioned above. :)
}


Here is the Diagram
https://lh6.googleusercontent.com/-x45oGjplyII/TzyQ9y0Km_I/AAAAAAAAAAk/KrWUIEIt8sU/s640/Arch.JPG[^]
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900