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_______________________________ <service name="SecurityMgrBeanClientAgentWrapperDoc" provider="java:RPC" style="wrapped" use="literal"> <parameter name="allowedMethods" value="authenticate"/> <parameter name="className" value="com.chordiant.webservice.wrappers.SecurityMgrBeanClientAgentWrapper"/> </service> __________________________________________________________________________________ ____________________________WSDL__________________________________________________ <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions targetNamespace="http://localhost/WebServices/services/SecurityMgrBeanClientAgentWrapperDoc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost/WebServices/services/SecurityMgrBeanClientAgentWrapperDoc" xmlns:intf="http://localhost/WebServices/services/SecurityMgrBeanClientAgentWrapperDoc" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://wrappers.webservice.chordiant.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <wsdl:types> - <schema targetNamespace="http://wrappers.webservice.chordiant.com" xmlns="http://www.w3.org/2001/XMLSchema"> - <element name="authenticate"> - <complexType> - <sequence> <element name="userName" type="xsd:string" /> <element name="password" type="xsd:string" /> </sequence> </complexType> </element> - <element name="authenticateResponse"> - <complexType> - <sequence> <element name="authenticateReturn" type="xsd:string" /> </sequence> </complexType> </element> </schema> </wsdl:types> - <wsdl:message name="authenticateResponse"> <wsdl:part element="tns1:authenticateResponse" name="parameters" /> </wsdl:message> - <wsdl:message name="authenticateRequest"> <wsdl:part element="tns1:authenticate" name="parameters" /> </wsdl:message> - <wsdl:portType name="SecurityMgrBeanClientAgentWrapper"> - <wsdl:operation name="authenticate" parameterOrder=""> <wsdl:input message="impl:authenticateRequest" name="authenticateRequest" /> <wsdl:output message="impl:authenticateResponse" name="authenticateResponse" /> </wsdl:operation> </wsdl:portType> - <wsdl:binding name="SecurityMgrBeanClientAgentWrapperDocSoapBinding" type="impl:SecurityMgrBeanClientAgentWrapper"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="authenticate"> <wsdlsoap:operation soapAction="" /> - <wsdl:input name="authenticateRequest"> <wsdlsoap:body namespace="http://wrappers.webservice.chordiant.com" use="literal" /> </wsdl:input> - <wsdl:output name="authenticateResponse"> <wsdlsoap:body namespace="http://localhost/WebServices/services/SecurityMgrBeanClientAgentWrapperDoc" use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="SecurityMgrBeanClientAgentWrapperService"> - <wsdl:port binding="impl:SecurityMgrBeanClientAgentWrapperDocSoapBinding" name="SecurityMgrBeanClientAgentWrapperDoc"> <wsdlsoap:address location="http://localhost/WebServices/services/SecurityMgrBeanClientAgentWrapperDoc" /> </wsdl:port> </wsdl:service> </wsdl:definitions> ________________________________ 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
<<winmail.dat>>