Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Windows COM PHP , +
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..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 15-Feb-12 2:17am
Comments
Kreagan Naicker at 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 at 15-Feb-12 23:34pm
   
Hi,
Thanks for reply.
please let me explain in more clear way.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
Thanks for reply.Smile | :) Smile | :)
 
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
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..
 
 
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[^]
  Permalink  
v4

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

  Print Answers RSS
0 Maciej Los 245
1 OriginalGriff 210
2 Manfred R. Bihy 190
3 CHill60 180
4 _Amy 155
0 OriginalGriff 7,445
1 Sergey Alexandrovich Kryukov 6,157
2 Maciej Los 3,774
3 Peter Leow 3,448
4 CHill60 2,702


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 16 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100