Click here to Skip to main content
15,902,812 members
Home / Discussions / C#
   

C#

 
QuestionFile Name Pin
-Yoyosh-19-Jan-07 10:30
-Yoyosh-19-Jan-07 10:30 
AnswerRe: File Name Pin
Mircea Puiu19-Jan-07 23:05
Mircea Puiu19-Jan-07 23:05 
GeneralRe: File Name Pin
-Yoyosh-20-Jan-07 8:13
-Yoyosh-20-Jan-07 8:13 
QuestionGetting TableName only from Northwind Database.......... Can someone help... Pin
nature027619-Jan-07 10:13
nature027619-Jan-07 10:13 
AnswerRe: Getting TableName only from Northwind Database.......... Can someone help... Pin
Pete O'Hanlon19-Jan-07 10:22
mvePete O'Hanlon19-Jan-07 10:22 
GeneralRe: Getting TableName only from Northwind Database.......... Can someone help... Pin
nature027619-Jan-07 10:37
nature027619-Jan-07 10:37 
GeneralRe: Getting TableName only from Northwind Database.......... Can someone help... Pin
Pete O'Hanlon20-Jan-07 8:09
mvePete O'Hanlon20-Jan-07 8:09 
QuestionWebService to WebService Communication [modified] Pin
DeepToot19-Jan-07 9:45
DeepToot19-Jan-07 9:45 
The webservice's are not ASP.Net Webservices but rather a remoteObject and its interface hosted on IIS. Just thought I would clarify that.

I have created plenty of WebServices this way to do database queries and such. But this time it is a bit different.

I have a client who will host their own Webservices via IIS and a remote app that also communicates through a webservice via IIS. What do I need for the two to communicate?

If my client webservice wanted to call a function on the servers Webservice would my client use the standard remoting code? example:

Reference the servers webservices' interface and in code do this to call:
<br />
robj =(RemoteInterface.IRemote)<br />
                Activator.GetObject(typeof(RemoteInterface.IRemote),<br />
                "http://" + ConfigurationSettings.AppSettings["IPAddress"]  + "/AHN/AHN_WS.rem");<br />
            try<br />
            {<br />
<br />
                HttpClientChannel theChannel = (HttpClientChannel)<br />
                ChannelServices.GetChannel("http");<br />
                theChannel.Properties["proxyName"] = null;<br />
            }<br />
            catch { }<br />


if this is the correct way to do it the server should use the same code to communicate with the clients webservice.

What the process flow will be is this:

Client app requests client data --- calls a function on the local(client ws) webservice -- 'client ws' then calls a function on the servers webservice(server ws) --- Server queried database to collect data --- populates an arraylist with data --- returns that arraylist back to 'client ws' --- 'client ws' then gives it back to the client app.

Hope that mades sense.

Am I on the right track or way off?

Thanks for the help


-- modified at 15:56 Friday 19th January, 2007

Steve Welborn
Software Engineer
BitWise Solutions

Questiontry to add new record with bindingsource component Pin
ABBASI_RA19-Jan-07 9:19
ABBASI_RA19-Jan-07 9:19 
AnswerRe: try to add new record with bindingsource component Pin
Christian Graus19-Jan-07 9:53
protectorChristian Graus19-Jan-07 9:53 
GeneralRe: try to add new record with bindingsource component Pin
ABBASI_RA19-Jan-07 10:03
ABBASI_RA19-Jan-07 10:03 
GeneralRe: try to add new record with bindingsource component Pin
Christian Graus19-Jan-07 11:59
protectorChristian Graus19-Jan-07 11:59 
QuestionArray question! Pin
C++NewBe19-Jan-07 8:51
C++NewBe19-Jan-07 8:51 
AnswerRe: Array question! Pin
Guffa19-Jan-07 8:56
Guffa19-Jan-07 8:56 
GeneralRe: Array question! Pin
C++NewBe19-Jan-07 8:59
C++NewBe19-Jan-07 8:59 
AnswerRe: Array question! Pin
Martin#19-Jan-07 9:07
Martin#19-Jan-07 9:07 
GeneralRe: Array question! Pin
C++NewBe19-Jan-07 9:13
C++NewBe19-Jan-07 9:13 
AnswerRe: Array question! Pin
Guffa19-Jan-07 9:53
Guffa19-Jan-07 9:53 
GeneralRe: Array question! Pin
Ed.Poore19-Jan-07 12:38
Ed.Poore19-Jan-07 12:38 
AnswerRe: Array question! Pin
David Domingues22-Jan-07 5:31
David Domingues22-Jan-07 5:31 
QuestionArray.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:08
C++NewBe19-Jan-07 8:08 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
jchigg200019-Jan-07 8:16
jchigg200019-Jan-07 8:16 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Guffa19-Jan-07 8:17
Guffa19-Jan-07 8:17 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
Dustin Metzgar19-Jan-07 8:18
Dustin Metzgar19-Jan-07 8:18 
AnswerRe: Array.getLength() vs Array.getUpperBound() Pin
C++NewBe19-Jan-07 8:29
C++NewBe19-Jan-07 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.