WSDL --> Java / .NET interoperability issue?

2005-01-26 Thread Mahen Perera
Hi everybody, I generated a WSDL for a .NET Web Service. In the WSDL there are two operations by the same name under one Port type tag. however in the binding section these two operations are attacjed to two different Soap actions. When I try to generate the java client using this WSDL,,, it give

Re: SOAP Monitor - Applet class not found

2004-11-04 Thread Mahen Perera
copy the generated class files to the place where the source of SOAPMonitorApplet.java class was there and see. It worked for me !! Regards Mahen On Thu, 4 Nov 2004 15:43:10 -0300, Thyago Mota <[EMAIL PROTECTED]> wrote: > I am an AXIS newbie. I am trying to use SOAP Monitor application but I >

Re: (newbie) returning boolean value

2004-11-03 Thread Mahen Perera
I guess the method would return the wrapper class of the boolean , ( that is Boolean) ... so u have to cast the return type to Boolean and call the .booleanValue method to get the return value. Regards Mahen On Wed, 3 Nov 2004 19:28:57 -0800 (PST), Tim Hu <[EMAIL PROTECTED]> wrote: > dear all:

Re: How do I safely evolve data structures?

2004-10-25 Thread Mahen Perera
Hi James, U can adopt ur own WS- versioning policy to overcome the effect of changing the Web service on the client. However, here the client will have to go thru UDDI to find the appropriate Web service version to interact with. When u do some changes to the Web service , which will affect the

Re: java.lang.reflect.InvocationTargetException

2004-10-19 Thread Mahen Perera
Hi suzy,, send the full stack trace pls,, cos with the info u have provided cant get any clues. The invocationtarget exception comes when using reflection to call a method of a java class. The method which is called using reflection throws an exception, this is wrapped inside an invocationtargete

Re: 3 questions

2004-10-19 Thread Mahen Perera
Hi , Listed some answers,,, not sure on the second Q.. Answers 1) Yes, must go thru the Axis Servlet,, however if u want u can have some filters which get called before the Axis Servlet .. 2) No idea 3) Most of the SOAP engines provide that feature of getting the WSDL using ?wsdl appende

Re: Axis bean and arrays

2004-10-14 Thread Mahen Perera
Hi Suzy, U will have to use the appropriate Serializer and Deserializer Facories for Arrays provided by Axis An example is shown below... http://schemas.xmlsoap.org/soap/encoding/"; qname="ns22:ArrayOf_tns1_NumericKeyVO" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type

Re: axis Cant find class

2004-10-14 Thread Mahen Perera
Hi suzy, I hope u have copied the package structure to axis\Web-Inf\classes and not in webapps\classes , as u have mentioned Regards Mahen On Thu, 14 Oct 2004 12:40:56 +0100, Suzy Fynes <[EMAIL PROTECTED]> wrote: > > > > > > Hey, > > > > I'm getting the following fault when I try t

Re: How to extract the SOAP object from a HttpServletRequest

2004-10-12 Thread Mahen Perera
Hi Burkhard, If ur using a SOAP engine such as Axis, then u dont have to worry about this. The SOAP engine itself will extract the SOAP message and call the correct Web Service. Hope this answers ur Query.. I guess I Need more elaboration on ur Q. Mahen On Tue, 12 Oct 2004 11:05:08 +0200, Vogt

Re: java reminders how

2004-09-19 Thread Mahen Perera
Hi Bethana, Why dont u try using the EJBTimerService? Mahen On Thu, 16 Sep 2004 07:40:53 -0700 (PDT), bethana kumar <[EMAIL PROTECTED]> wrote: > > > > Dear All > > I have the following requirements.I need your suggestions for implementing. > > I have an webbased system,in which enduser cre

Re: .NET supports DIME, Axis Supports MIME,,,, how to interoperat e?????

2004-09-14 Thread Mahen Perera
Hi Jai, Thanx for the info. I will try that Mahen On Tue, 14 Sep 2004 09:58:31 -0500, THOMAS, JAI [AG-Contractor/1000] <[EMAIL PROTECTED]> wrote: > Yes it does. > Have a look at the EchoAttachments sample that comes with Axis. > Jai > > -Original Message- > Fr

Re: Axis generating temporary files

2004-09-14 Thread Mahen Perera
ess to a wsdd file. > > Thanks for the info though - should get me closer to the answer. > > James > > Mahen Perera <[EMAIL PROTECTED]> > 14/09/2004 12:14 > Please respond to > [EMAIL PROTECTED] > > To > [EMAIL PROTECTED] > cc > > Subject >

Re: Axis generating temporary files

2004-09-14 Thread Mahen Perera
Hi James, I dont know whether u can make a setting so that Axis wont save these temporary files. However, u can change the directory which is used to store these templ files by using parameter in the wsdd file. Ex: Note the attachments.Directory parameter Mahen On Tue, 14 Sep 2004 1

.NET supports DIME, Axis Supports MIME,,,, how to interoperate?????

2004-09-13 Thread Mahen Perera
Hi ! I want to send a SOAP Attachments from .NET client to Axis Java. Have anyone tried this before? Since .NET packages the attachment according to DIME, will Axis in the server side (which uses MIME) be able to correctly interpret it? Thanx in advance Mahen

Re: rpc vs. doc/literal interop

2004-09-12 Thread Mahen Perera
Hi all, If we consider interoperating with .NET and Axis, IMO doc/literal is better than rpc/encoding Mahen On Fri, 10 Sep 2004 14:25:13 -0700, Nelson Minar <[EMAIL PROTECTED]> wrote: > >Whilst everything Jim said is true, rpc/enc has been around the longest > >in the current tools and I think

Re: server-config.wsdd

2004-09-09 Thread Mahen Perera
Hi Chris,, There is no problem, u can add a request flow, response flow inside a service tag. Then the content in the request flow/response flow will be executed only when a request come for the containing service. Just add the request flow inside the service tag in the server-config.wsdd file a

Re: deploy problems with axis and JBoss EJB

2004-09-09 Thread Mahen Perera
OK, Well Done Edward On Thu, 9 Sep 2004 20:24:31 -0400, edward winston <[EMAIL PROTECTED]> wrote: > Thanks everybody for your help. The suggestions were all good and i tried > most of them to no avail... mainly because the problem was simple and with > the deployment descriptor. > > The problem

What are the design patterns used?

2004-09-08 Thread Mahen Perera
Hi ! I want to what are the design patterns used in Axis. Not the general stuff like Factory pattern, but more specific things such as Chain of Responsibility , Mediator etc. Specifically, I would like to know whether the Chain of Responsibility pattern is used in the Handler Architecture (invoca

Re: Scope - Performance

2004-09-08 Thread Mahen Perera
Hi Patrick, I think u have used the wrong word, as in *local varibales*. Since ur Web Service does not maintain state, it is not appropriate to contain *instance variables* (not local variables). The following was quoted from the Axis user guide, "Axis supports scoping service objects (the actua

Re: Sessions across different services

2004-09-08 Thread Mahen Perera
if u remove it (client- config.wsdd) from the class path, does it make a connection? On Wed, 08 Sep 2004 15:06:36 +0200, Jochen Schwörer <[EMAIL PROTECTED]> wrote: > Thats not the problem. The config file is used by axis, but it does not > make any connection. > > Joche

Re: Sessions across different services

2004-09-08 Thread Mahen Perera
try this use the following java option when running the client , as in -Daxis.ClientConfigFile=\\client- config.wsdd Mahen On Wed, 08 Sep 2004 14:36:30 +0200, Jochen Schwörer <[EMAIL PROTECTED]> wrote: > Hi Mahen, > > > Joschen>> can u tell me how ur invoking the two services from the > > cl

Re: Sessions across different services

2004-09-08 Thread Mahen Perera
> > > > > > > > When watching the request/responses with TcpMon, I see that when I query > the 2nd service for the first time, the client does not pass the > previous received sessionID. > > Any further ideas? >

Re: Sessions across different services

2004-09-08 Thread Mahen Perera
Hi Jochen Have u put the SimpleSessionHandler in both request flows and response flows in both the services? If this is so , there will not be a problem I guess. And see whether ur sending the same session id from the client side when invoking both services , using tcpmon. Mahen On Wed, 08 S

Re: Expose a java class in only once with Axis ?

2004-09-07 Thread Mahen Perera
mm... good point raised!!! + 1 for that On Wed, 08 Sep 2004 13:47:15 +0800, Roslan Amir <[EMAIL PROTECTED]> wrote: > No. The documentation clearly states that the BindingImpl class will not > be overwritten by wsdl2java if it already exists. > > Roslan > > > > Chandrasegaram Jeyakumaran wro

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread Mahen Perera
n > depth) it does look like the ability is there because the EJBProvides extends > the RPCProvider which extends the JavaProvider which has the generateWSDL > method. I haven't had much luck turning on debug statements in the axis > servlet so i can't see where the code is

Re: NoSuchMethodException with Axis1.2

2004-09-07 Thread Mahen Perera
I think some problem with the client and server side WSDD files (the type mapping sectons)... or that the serializers /deseralizers are not in the classpath. send the server-config.wsdd file Mahen On Tue, 7 Sep 2004 13:58:24 -0500, sandeep arshanapally <[EMAIL PROTECTED]> wrote: > Hi, > >

Re: changing HTTP header values from Axis

2004-09-07 Thread Mahen Perera
U mean u want to do this using a servlet? Mahen - Original Message - From: Samir Shaikh <[EMAIL PROTECTED]> Date: Tue, 7 Sep 2004 15:14:27 -0700 Subject: changing HTTP header values from Axis To: [EMAIL PROTECTED] Hi, I am wanting to change the value of the HTTP Header Host. Does any

Re: deploy problems with axis and JBoss EJB

2004-09-07 Thread Mahen Perera
EJB provider. > > edward > > On Tue, 7 Sep 2004 09:30:21 +0600 > > > Mahen Perera <[EMAIL PROTECTED]> wrote: > > > Hi edward, > > > > Need some more info as to how u have set up the ear. > > > > Are u using the EJB provider to call ur

Re: How to create interoperable web service with axis, with method taking xml document as argument?

2004-09-06 Thread Mahen Perera
Hi navkalp, U will have to deploy the service as a message style service , In the axis user guide : - http://ws.apache.org/axis/java/user-guide.html there is an example message service. test this out and see how it works,,, the deploy.wsdd and the related java code for the service are given

Re: deploy problems with axis and JBoss EJB

2004-09-06 Thread Mahen Perera
Hi edward, Need some more info as to how u have set up the ear. Are u using the EJB provider to call ur Session Bean directly. In other words , does the flow goes like the following Client --> Axis servlet --> EJB Provider --> ur Session Bean OR r u using the Java provider as in Client --

Re: BeanSerializer

2004-09-06 Thread Mahen Perera
loper and just a question of correct specification in the wsdd-file? Sandro Mahen Perera <[EMAIL PROTECTED]> 06.09.2004 08:21 Please respond to [EMAIL PROTECTED] [EMAIL PROTECTED] cc SubjectRe: BeanSerializer Hi Sandro, if the sub beans are also specified using the tag, t

Re: BeanSerializer

2004-09-05 Thread Mahen Perera
Hi Sandro, if the sub beans are also specified using the tag, then there should be no problem. No need to use Custom Serialization/Deserialization Hope this answers ur Q. Mahen - Original Message - From: Sandro Ruch <[EMAIL PROTECTED]> Date: Mon, 6 Sep 2004 08:18:36 +0200 Subject

Web Sphere 5.1 , SOAP engine --> Can I add handlers????????

2004-09-05 Thread Mahen Perera
Hi Is it possible to add *handlers* to the configuration file,, webservices.xml or whatever in Web Sphere App server 5.1. Since Web Sphere 5.1 uses Axis as the SOAP runtime, this would be possible i guess, but not sure. If i can add handlers, how to do it? Has any one tried it ??? Thanx

Serializable Class=> what is the type maping info to be included in the WSDD

2004-09-01 Thread Mahen Perera
Hi I am having a web service method like the following public Serializable Method(String key){ } What is the required Type Mapping information (typemapping section in WSDD) to be included in the WSDD , in order to deploy this web service in Axis. Mainly,,, the concern is the "Serializable"

Re: Axis1.2 and Websphere 5.1

2004-08-30 Thread Mahen Perera
use the jars suppiled in the Axis 1.2 distribution. Since ur using Axis as the SOAP engine instead of the one provided in Web Sphere, no need to have the jars provided by WebSphere does this answer ur Q? Can u elaborate on what u did to set up the EAR file... then I will be able to give more inf

Wrapping statefull session beans in a web service deployed as session scope................?

2004-08-30 Thread Mahen Perera
Hi I want to wrap a statefull sesion bean in a web service deployed as session scope. In other words, I will be calling the session beans remote interface methods inside the web service methods... Is this possible? And if i use a .NET client , is it possible to have the counterpart of statef

Re: AW: AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
parment EPDM/D > Fasanenweg 5, D 70771 Leinfelden > > Tel.:+49/711 971- 44747 > Fax.: +49/711 972-90330 > > mailto:[EMAIL PROTECTED] > http://www.t-systems.de > > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet:

Re: AW: Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
nweg 5, D 70771 Leinfelden > > Tel.:+49/711 971- 44747 > Fax.: +49/711 972-90330 > > mailto:[EMAIL PROTECTED] > http://www.t-systems.de > > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 30. August

Deploying Web servics as "Session" Scope

2004-08-29 Thread Mahen Perera
Hi ! I know that s web service can be deployed as session scope by having the following in the service tag of the Web Service in the deploy.wsdd file However, What i am not sure is how the session information sent to the service side by the client side, in this case. For example, how long wil

Re: How to stop my ws reloading for each invocation?

2004-08-27 Thread Mahen Perera
Deploy the Web Service as *session* scope, Then the same instance will be used througout the session. Currently the scope is *request*, where a new service insatnce is created for each method call Mahen On Fri, 27 Aug 2004 16:29:14 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Each time

SimpleSessionHandler

2004-08-27 Thread Mahen Perera
hi Has somebody used the SimpleSessionHandle successfully for SessionManagement Please let me know Mahen

Session Management using SOAP headers

2004-08-27 Thread Mahen Perera
Hi ! I am using .NET as the client and AXIS SOAP engine deployed in WebSphere as the server . I used the SimpleSessionHandler in the server side.. It is sending some session id the response message. Now i want to use this session id and do session management in the .NET client.. I am thining

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-26 Thread Mahen Perera
the relevant is: > > > > > > > > > > See above in your file how handlers have to be declared. Transport (e.g. java:) is > missing: > > > > > Yves > > > > Mahen Perera wrote: > > >this is the client-config file > > &g

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
ice.poc.fm.com"/> http://schemas.xmlsoap.org/soap/encoding/"; qname="ns25:SaveAppDetailVO" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.fm.poc.service.domain.dataaccess.vo.SaveAppDetailVO" xmlns:ns25="http://vo.dataa

Re: Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
hi Thanx for the reply I tried that too. Still didnt work :( Mahen On Wed, 25 Aug 2004 15:58:44 +0200, Yves Langisch <[EMAIL PROTECTED]> wrote: > Mahen, > > put the client-config.wsdd into the WEB-INF/classes folder not into the > root of WEB-INF. > > Yves >

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
tent\\WEB-INF\\client- > config.wsdd > > -----Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. August 2004 15:31 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS > > what do u mean by pat

Re: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
T-Systems International GmbH > Service Line Systems Integration > Competence Center EDM > Deparment EPDM/D > Fasanenweg 5, D 70771 Leinfelden > > Tel.:+49/711 971- 44747 > Fax.: +49/711 972-90330 > > mailto:[EMAIL PROTECTED] > http://www.t-systems.de &g

Re: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
n put it in the WEB-INF\ folder where your > Server-config.wsdd lies too! > > See my email before, you can put where you want and set the JVM > > Tomi > > -Ursprüngliche Nachricht- > Von: Mahen Perera [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. August 20

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
I am using WebSphere 5.1 to deploy the WAR On Wed, 25 Aug 2004 18:39:52 +0600, Mahen Perera <[EMAIL PROTECTED]> wrote: > Thanx > > more problems... > > I am using JSP as the client to call the Web Service. The JSP calls > the stub genereted by the WSDL2Java tool. >

Re: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
Thanx more problems... I am using JSP as the client to call the Web Service. The JSP calls the stub genereted by the WSDL2Java tool. I have put AXIS.jar in the WEB-INF\Lib folder of the WAR file Now where do i have to put the client-config.wsdd file. Thanx Mahen - Original Message

Re: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Mahen Perera
> > > > --- > T-Systems International GmbH > Service Line Systems Integration > Competence Center EDM > Deparment EPDM/D > Fasanenweg 5, D 70771 Leinfelden > > Tel.:

Session Management using SOAP Headers in AXIS

2004-08-24 Thread Mahen Perera
Hi ! I want to manage Session using SOAP headers. For this i am using the "SimpleSessionHandler" provided by AXIS. I added this handler successfully to the server side and it is getting executed. I noticed the SOAP headers containing the Session id using the TCPMON tool. However, I was unable to

Re: How to add AXIS to Web Sphere 5.1

2004-08-19 Thread Mahen Perera
Thomas Manes <[EMAIL PROTECTED]> wrote: > WAS 5.1 interoperates with WSE 1.0 > WAS 6 interoperates with WSE 2.0. > > Anne > > > > -Original Message- > From: Mahen Perera [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 9:22 AM > To: [EMA

Re: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Mahen Perera
ne > > > > -Original Message- > From: Mahen Perera [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 1:21 AM > To: Barlotta, Timothy - Arlington, VA - Contractor > Cc: [EMAIL PROTECTED] > Subject: Re: How to add AXIS to Web Sphere 5.1 > > Hi &

Re: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Mahen Perera
gt; WS-Security 2004 standard, you must upgrade to WAS 6. I don't believe that > IBM has delivered support for WS-Trust and WS-SecureConversation yet. > > Or you can install Axis 1.2 and WSS4J. > > Anne > > > > -Original Message- > From: Mahen Perera [

Re: How to add AXIS to Web Sphere 5.1

2004-08-17 Thread Mahen Perera
/services/* > > > It has been a while since I ran any of the test code, sorry if it > doesn't help. > > HTH, > Tim > > > > > -Original Message- > > From: Mahen Perera [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, Augu

How to add AXIS to Web Sphere 5.1

2004-08-17 Thread Mahen Perera
Hi I want to use the AXIS SOAP engine in Web Sphere, instead of the built in SOAP engine provided by Web Sphere. To do this, I deployed AXIS as a normal Web Application (i.e packaging the webapps\axis folder in the AXIS 1.1 distribution in to a WAR file called axis.war and deploying this WAR fi

RE: SOAP Monitor applet problem

2004-01-29 Thread mahen perera
Hi Shanta I also got the same problem when trying to run the SOAP monitor Applet. I rectified the problem by doing the following things. The SOAPMonitorApplet.java file is inside the Axis folder which u placed in the Tomcat webApps folder. After setting the classpath variable correctly to inclu

RE: Newbie: TestClient example does not work

2004-01-22 Thread mahen perera
check the package declaration of the Test Client class. If it is package samples.userguide.example1 then u must add to the classpath variable "axis/1.1/" or whatever the directory under which the samples directory is placed. Not the samples\userguide\example1\TestClient path, and then run using

JNDI to access a web service?

2004-01-22 Thread mahen perera
Can i use JNDI to invoke a web service published in Axis, without using the standard client API provided by Axis? Mahen _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

JNDI to access a web service?

2004-01-22 Thread mahen perera
Can i use JNDI to invoke a web service published in Axis, without using the standard client API provided by Axis? _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail