if you have visual studio .net it's very simple.  create a c# project and then add a web service via wsdl definition.  a set of classes will get generated for calling from your client app.  i did this for the mappoint .net web service and had a very simple app in 10 minutes.
-----Original Message-----
From: bethana kumar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:36 AM
To: [EMAIL PROTECTED]
Subject: RE: .NET client

Hi
 
         Does anybody have an idea,how to access  Webservices (java) from C#, I would like to know how it works. Does any body help for getting an overview(i.e white paper)  on this.
 
         If anybody provide me some sample sites where i can get more info.
 
Thanks
shanta.B

Sagar Pidaparthi <[EMAIL PROTECTED]> wrote:
OK here is the service code. I shortened my service name earlier. It is actually SecurityMgrBeanClientAgentWrapper. The method that I need is authenticate. WSDD is given below.

Thanks for your help

regards

Sagar





__________________________________JAVA CODE______________________
package com.chordiant.webservice.wrappers;

import com.chordiant.userprofile.ejb.security.client.SecurityMgrBeanClientAgent;

import com.chordiant.service.clientagent.ClientAgentHelper;

public class SecurityMgrBeanClientAgentWrapper

{

private SecurityMgrBeanClientAgent sca = null;

public SecurityMgrBeanClientAgentWrapper()

{

try

{

sca = (SecurityMgrBeanClientAgent) (ClientAgentHelper

.getClientAgent(SecurityMgrBeanClientAgent.CLASS_NAME));

}

catch ( Exception e)

{

System.out.println("Exception: "+e);

}

}

public String authenticate(String userName, String password)

{

String retval = null;

try

{

retval = sca.authenticate(userName, password);

}

catch (Exception e)

{

retval = null;

System.out.println("Exception: "+e);

}

return retval;

}

}

__________________________END OF JAVA CODE__________________

__________________________WSDD_______________________________









__________________________________________________________________________________



____________________________WSDL__________________________________________________




-
-
-
-
-
-





-
-
-






-


-


-
-




-

-

-


-




-
-

















________________________________

From: Lyndon Tiu [mailto:[EMAIL PROTECTED]
Sent: Tue 12/14/2004 8:04 AM
To: [EMAIL PROTECTED]
Subject: Re: .NET client



Sagar Pidaparthi wrote:

>Hi,
>
>I wrote a simple .NET client and it does not work. I would appreciate any help.
>
>Here are my steps on AXIS 1.1
>
>1. I write a simple class called SecurityMgr and publish as wrapped literal
>
>

Without sending us the Java web service code and the Java web service
wsdl, it will be hard to determnine the issue.

Your problem is typical of Java and C# iterop. No such things as easy.

--
Lyndon Tiu




> ATTACHMENT part 2 application/ms-tnef name=winmail.dat


Do you Yahoo!?
The all-new My Yahoo! – Get yours free!

Reply via email to