基于SOAP的瘦客户端Windows应用程序体系结构 [英] SOAP based Thin client Windows application architecture

查看:111
本文介绍了基于SOAP的瘦客户端Windows应用程序体系结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我对运行dll/exe服务器的概念是陌生的,并且支持从服务器外部以SOAP调用方式对其进行调用.因此

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.



这是我的要求.

我有一个基于VC ++的解析器exe/dll ,该公司将公司名称作为WSDL请求
并在Google中搜索[by Urldownloadtofile(...)]
并返回公司网站.



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>
]


我想通过在基于Windows的Web服务器中上载,将应用程序作为瘦客户端"运行.
将会有另一个即时exe/dll ,该文件会
1>运行并监听端口 [say 3434]
2>会将所有请求WSDL存​​储在服务器的消息队列中.
3>将从队列中提取1家公司,并将其发送到 parser
的单个实例 exe/dll
已在服务器中运行.
4>将取回响应并发送回客户端.

现在访问该即时exe/dll
从客户端链接将类似于:
www.< mydomain> .com:3434/parser_exe_dll.exe
客户端可以有一个html页面,其中将有3个文本框,用于输入他的用户名,密码,company_input
和一个按钮.
客户端单击按钮后,javascript将创建wsdl

1>将请求发送到上面说明的网址.



然后它将返回响应并显示.


请让我知道是否可能.

主要是
的概念 www.< mydomain> .com:3434/parser_exe_dll.exe [


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.

推荐答案


感谢您的答复.:) :)

实际上,它是关于互联网研究逻辑的,它接受诸如公司名称,人名以及客户所知道的内容之类的输入,并返回有关它们的其他详细信息. [您可以像
那样假设
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
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;
  }
  
}


]

整个代码已经在vc ++中写成[作为MFC/WIN32 dll/exe]
其中充满了回调,sqliteDB访问,google搜索库创建等.

由于它是用VC ++编写的,因此目前我可以将它作为Windows用户的独立桌面应用程序


]

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 ...让我知道..





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. :)
}



这是图
https://lh6.googleusercontent.com/-x45oGjplyII/TzyQ9y0KKt_I/AAAAAAAk s640/Arch.JPG [ ^ ]



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


这篇关于基于SOAP的瘦客户端Windows应用程序体系结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆