Re: Empty arrays not serialized properly

2002-10-31 Thread Cun Yong Tan
Have you tried changing your bean from: public class MyBean { public String[] Values; } to: public class MyBean { private String[] Values; public String[] getValues(); public void setValues(String[] x); } to see if it makes a difference ? From: "Martin Jericho" <[EMAIL PROTECTED

RE: .NET multi dimensional array

2002-10-31 Thread Cun Yong Tan
lti dimensional array Date: Wed, 30 Oct 2002 11:51:43 -0500 What does 'remoting' mean? Is 'remoting' my scenario? I am simply using .NET C# client to go against an Axis web service. Where does the ASP.NET come into play? thanks, chris -Original Message- From: Cu

Re: .NET multi dimensional array

2002-10-30 Thread Cun Yong Tan
ASP.NET doesn't handle multi-dimensional arrays (even tho .NET Remoting does handle both multi-dim and jagged arrays). This is with .NET 1.0, don't know about .NET 1.1 Beta. See http://marc.theaimsgroup.com/?l=axis-user&m=102745381201131&w=2 From: "Peake, Chris" <[EMAIL PROTECTED]> Reply-To

RE: java:MSG vs. document binding style

2002-10-28 Thread Cun Yong Tan
Bug report has been filed: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13979 From: "Anand Hatwalne" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: java:MSG vs. document binding style Date: Mon, 28 Oct 2002 09:27:27 +0530 Welcome to the confusion clu

RE: Wrapped document/literal support in Axis 1.0

2002-10-25 Thread Cun Yong Tan
le a sample WSDL file to reproduces the problem in a bug report. Thanks! -- Tom Jordahl Macromedia Server Development -Original Message- From: Cun Yong Tan [mailto:cyongtan@;hotmail.com] Sent: Friday, October 25, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: RE: Wrapped document/literal s

RE: Wrapped document/literal support in Axis 1.0

2002-10-25 Thread Cun Yong Tan
-Original Message----- From: Cun Yong Tan [mailto:cyongtan@;hotmail.com] Sent: Friday, October 25, 2002 2:36 AM To: [EMAIL PROTECTED] Subject: Wrapped document/literal support in Axis 1.0 According to the Axis 1.0 user guide, it is possible to create a wrapped document/literal service. It says t

Wrapped document/literal support in Axis 1.0

2002-10-24 Thread Cun Yong Tan
According to the Axis 1.0 user guide, it is possible to create a wrapped document/literal service. It says that Axis will bind the Java representation to the XML. Is my assumption correct that the service class will look exactly the same as it would be if it were rpc/encoded ? I tried to create

RE: Client Handlers

2002-09-26 Thread Cun Yong Tan
from which you run your client. > >I hope this is what you are looking for. > >cheers, > >james. >- > >Rajal Shah wrote: > > I have a situation where I need to track performance metrics for every >SOAP call that we make from the client. > > > > I was

Deserializing without Call.invoke()

2002-09-18 Thread Cun Yong Tan
I have a xml string that is a SOAP message that is rpc/encoded or document/encoded. The message may have been received via a one-way notification message or a saved response message from a request/response at some previous time. Is there a way of deserializing this message into java objects with

RE: .NET Interop problem with jagged arrays

2002-07-23 Thread Cun Yong Tan
n handle multidimensional arrays--it supports both. > >In general, you're probably better off building the complex type "by hand": > > > > > > > > > > > > > >For best results with respect to interoperability, write your WSDL firs

.NET Interop problem with jagged arrays

2002-07-23 Thread Cun Yong Tan
There seems to be an interop problem with .NET with jagged arrays (array of arrays). I have a method exposed by Axis like so: public String[][] getArrayOfStringArray(String[][] arg){ return arg; } Here is the relevant part of the WSDL that was generated by Axis for the Stri

Re: AW: How do you get to the Call object from auto-genenerated client stub ?

2002-07-03 Thread Cun Yong Tan
> Address: Memmelsdorfer Str. 209a, 96052 Bamberg > Phone: +49 (09 51) 40 97 - 1 46 > Fax: +49 (09 51) 40 97 - 2 00 > E-Mail: mailto:[EMAIL PROTECTED] > Internet: http://www.t-systems.com > > > > > -Ursprüngliche Nachricht- > > Von: Cun Yong Tan [mai

How do you get to the Call object from auto-genenerated client stub ?

2002-07-03 Thread Cun Yong Tan
bject internally and does the invocation. Is it not possible to add headers with auto-gen source code ? Thanks Cun Yong Tan _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

Need help with custom provider (class not found)

2002-05-01 Thread Cun Yong Tan
I am trying to deploy a custom provider. My WSDD looks like this: The service worked fine when I just use RPCProvider. After installing the custom provider, I keep getting ClassNotFoundException: stackTrace: org.apache.axis.ConfigurationException: java.lang.Clas

Re: Java2WSDL breaks for me beta1 -> beta2

2002-05-01 Thread Cun Yong Tan
I'm curious as to what options "?wsdl" uses ? (i.e. what options do I specify to Java2WSDL to produce the same output as ?WSDL) >From: "Russell Butek" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Java2WSDL breaks for me beta1 -> beta2 >Date: Wed, 1 May 20

RE: Two things with AXIS beta 2 rc1...

2002-04-30 Thread Cun Yong Tan
>Just to be clear, I am talking about the WSDL ones gets when one deploys a >service and then requests WSDL using the ?WSDL postfix. It just so happens >I've built a base class for my web services (for helper methods, e.g. >logging W/S calls w/ caller IP context, managing W/S call lock-out times,

RE: WSDL2java error with .NET WSDL

2002-04-26 Thread Cun Yong Tan
I think the problem is because Axis only handles a subset of the XML Schema data types. The JAX-RPC spec specifies the XML Schema data types that a JAX-RPC implementation are required to support. (See "Appendix: XML Schema Support" of the JAX-RPC draft spec for details.) "time" is not one of th

Re: .Net question using HashMap from Axis

2002-04-23 Thread Cun Yong Tan
I had trouble with this before also. After much searching on the web, I've found out that there is no standard SOAP encoding for Map. Axis uses a what is known as "Apache Map standard" that is used by some toolkits (e.g. Apache SOAP, GLUE) but this is not recognized by .NET. See here for interest

Re: How to use a return type java.util.List

2002-04-17 Thread Cun Yong Tan
I don't use JWS but in the services I've created, when I return a List from a service method, the client receives it as an Object[] (not a List). And you don't need a bean mapping for List in your WSDD. >From: "Vaishakhi Ajmera" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PRO

Java2WSDL and mapping of names interop

2002-04-05 Thread Cun Yong Tan
I have an Axis WS method that returns a complex type (JavaBean). If my bean is coded like so: public class KeyValPair { private String _key; // NOTE the underscores ! private String _val; public KeyValPair(){} public String getKey() {return _key;} public String getVal() {

Map type and .NET interoperability

2002-04-03 Thread Cun Yong Tan
Hello, I have an Axis service that have a single method that returns a Map: public class ss { public Map echoMap() { HashMap mapOut = new HashMap(); mapOut.put("key", "value"); return mapOut; } } .NET's wsdl.exe tool is not able to generate a client proxy from the WSDL for thi

Re: example2 glitch

2002-03-13 Thread Cun Yong Tan
You have to add this before call.invoke(: call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING ); I am having trouble running example 3 and 4. After I deploy it using the AdminClient, when I try to acess the service using the client programs, in example 3, I get: java.lang.Class

Beta rc 1 userguide examples problems

2002-03-12 Thread Cun Yong Tan
I installed the beta RC 1 with Tomcat 3.2.1 and was able to run the samples/userguide/example1 and example2 fine. They are both .JWS examples. But running example 3 (which uses a .wsdd file), after deployment, I get: java.lang.ClassNotFoundException: samples.userguide.example3.MyService on the