Object array problem

2004-10-19 Thread park sunghyun
I use axis with obeject array as return value.  When a few files generated with wsdl2java, object array changed to obejct (TrafficJamInfo[] -> TrafficJamInfo) in generated locator and service java files.       Process:   1. Making TrafficJam.wsdl file with java2wsdl       * TrafficJam.java-

Re: newbie wsdl question

2004-10-19 Thread Tim Hu
dear tony: thanks for your reply. however, the Service object requires not only the wsdl file, but also a QName object which from the sample codes of axis-java, requires a name from the wsdl file itself. i will look into your other suggestions, thanks again, ye --- [EMAIL PROTECTED] wrote: >

Re: WSDL2Java and deploy.wsdd

2004-10-19 Thread Dan Ciarniello
Nathan Wardle wrote: Here's the template I'm using and ant target. Thanks, Nathan. I've never used XDoclet, though I had heard of it, and so wasn't sure how it worked. Your template gives me a much better idea of how to use it. Thanks again, Dan. begin:vcard fn:Dan Ciarniello n:Ciarniello;D

RE: Need to let axis check if parameter is null ?

2004-10-19 Thread Jairam, Roopnaraine
After I modified the wsdl and regenerated the skeleton code it is still the same as original code. So this doesn't help :( Thanks anyways Vince. -Original Message- From: WAJSBERG Julien RD-BIZZ [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 11:14 AM To: [EMAIL PROTECTED] Sub

Re: Need to let axis check if parameter is null ?

2004-10-19 Thread WAJSBERG Julien RD-BIZZ
Maybe, you can try to generate a service skeleton from your modified wsdl file... ? Jairam, Roopnaraine a écrit : Please help……. *From:* Jairam, Roopnaraine *Sent:* Monday, October 18, 2004 10:03 AM *To:* [EMAIL PROTECTED] *

Re: java.lang.reflect.InvocationTargetException

2004-10-19 Thread Luca Manganelli
Suzy Fynes wrote: There doesn't seem to be a stack trace in the tomcat logs , this is all I could get Go in tomcat dir then go to: webapps/axis/WEB-INF/classes edit log4j.properties as below, then restart Tomcat. Now you'll see the log in catalina.out # Set root category priority to INFO and i

RE: java.lang.reflect.InvocationTargetException

2004-10-19 Thread Suzy Fynes
There doesn't seem to be a stack trace in the tomcat logs , this is all I could get - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true - Initializing, config='org.apache.struts.taglib.be

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: QUERY: Dynamic Stubs, Same Service, Different IP possible?

2004-10-19 Thread Hubble, Christopher
You can pass in a new URL to the Locator when you get your service on the client side. Chris -Original Message- From: William Fitzgerald [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 6:03 AM To: [EMAIL PROTECTED] Subject: QUERY: Dynamic Stubs, Same Service, Different IP possib

Re: HashMap problem

2004-10-19 Thread Dalibor Dostál
You went through an obstacle course sorry to hear that. 20041019 09:05:16 [ZP 0-2904]-11043 Sender vratil Tried to invoke method public java.lang.Object[] WebSluzbyFlat.zpracujPozadavekParams(java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer, java.l

Re: 3 questions

2004-10-19 Thread Jim Murphy
In my experience though this is not a standardized mechanism ?WSDL is very common - to return the WSDL over HTTP. For transports that have no GET like semantics there isn't such a simple solution. The WS-MetadataExchange[1] specification defines a protocol for returning WSDL from any endpoint

RE: HashMap problem

2004-10-19 Thread Bouche Paul
table to array of objects with similar problem. Then we moved to > service with 15 arguments (Strings and Integers) with following error > (still time to time): You went through an obstacle course sorry to hear that. > > 20041019 09:05:16 [ZP 0-2904]-11043 Sender vra

RE: 3 questions

2004-10-19 Thread Koney, Satish
Thanks a lot Mahen, For Question 3...does it mean that "?wsdl" cannot be used if someone wants strict portability? What are the other ways of getting WSDL? Question 2 remained unanswered...can ony one plz??? Thanks, > -Original Message- > From: Mahen Perera [SMTP:[EMAIL PROTECTED

java.lang.reflect.InvocationTargetException

2004-10-19 Thread Suzy Fynes
  Hi,   Can anyone tell me what this exception means when I run my client on a java web service using axis   java.lang.reflect.InvocationTargetException   Thanks Suzy    

Reading target endpoint from WSDL file

2004-10-19 Thread tom ONeill
Hi all, I want to read the target endpoint address from a WSDL file and I want to know the best way to do this. I can create a Service object by passing it the location of the WSDL file and the name of my web service. I can then use the service object to create a Call object by using a port nam

WSDL Sequence holding String[0] being received as Sequence holding null

2004-10-19 Thread Silvano Maffeis
Hi. In Axis 1.2 RC1 I defined the following WSDL sequence: as well as a simple "ping" operation returning a StringArray: Now, if my WebService returns a StringArray holding a zero sized String[]: return new StringArray(new String[0]) my "ping" client actually w

Re: HashMap problem

2004-10-19 Thread Dalibor Dostál
to time): 20041019 09:05:16 [ZP 0-2904]-11043 Sender vratil Tried to invoke method public java.lang.Object[] WebSluzbyFlat.zpracujPozadavekParams(java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String

Jboss 4.0.0 and typemapping trouble

2004-10-19 Thread Tysnes Are Thobias
Hello! Anyone encountered this issue before !? 14:28:35,968 ERROR [WSDDService] Unable to deploy typemapping: {http://www.test.com/webservices/common/types}int4pattern0Type java.lang.ClassNotFoundException: No ClassLoaders found for: int at org.jboss.mx.loading.LoadMgr3.beginLoadTask(Loa

Re: Obtaining the client hostname inside *BindingImpl.java

2004-10-19 Thread Luca Manganelli
Patrick Herber wrote: Nop... I've only found that: "Note that the request will be null if the message came in over a different transport." See: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest Good luck and Regards, Patrick But I use SOAP over HTTP (or I think), by typin

RE: Websphere 5.1 and Axis rc1

2004-10-19 Thread Pranay Parsatwar
Hi,   Me too using Websphere 5.1 for my service and I have never faced this problem. I guess you need to check up how ur deployment process is. I’ll list down my application structure as follows, might be helpful,   WEB-INF     web.xml     classes

RE: Websphere 5.1 and Axis rc1

2004-10-19 Thread Arijit Mukherjee
Hi Thomas   I had similar problems (with tomcat though). Tomcat needs all java.* and javax.* classes in TOMCAT_HOME/common/lib or TOMCAT_HOME/common/endorsed. There would probably be something similar in WebSphere. You need to make sure that the jar files in Axis and Websphere are equivalen

Websphere 5.1 and Axis rc1

2004-10-19 Thread Dorner, Thomas
Hello all,   I got an java.lang.IncompatibleClassChangeError when I make a call to my WebService using Websphere 5.1. I learn form the mailinglist, that the problem belongs to the jars delivered with AXIS and Websphere. Especially the saaj.jar causes the problem!?   Can someone tell m

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

3 questions

2004-10-19 Thread Koney, Satish
Hi Guys, I have 3 questions on usage of AXIS. Plz clarify 1. If the web service is developed in Axis, should all the requests coming from the clients go to AxisServlet first? ( which means that the Axis MUST be deployed as one web application in the server) 2. Should the web service

Re: logging and Axis

2004-10-19 Thread Luca Manganelli
Matthias Wessendorf wrote: hi, i have a class, using Axis' LogFactory.getLog(): Logger log = LogFactory.getLog(Foo.clazz.getName()); If I log via log.info("bar"); the output comes to console of my tomcat. now my quesion, can I config the logging of Axis? is axis using the logging of the used Servle

logging and Axis

2004-10-19 Thread Matthias Wessendorf
hi, i have a class, using Axis' LogFactory.getLog(): Logger log = LogFactory.getLog(Foo.clazz.getName()); If I log via log.info("bar"); the output comes to console of my tomcat. now my quesion, can I config the logging of Axis? is axis using the logging of the used ServletContainer (e.g. Tomcat

RE: Obtaining the client hostname inside *BindingImpl.java

2004-10-19 Thread Patrick Herber
Nop... I've only found that: "Note that the request will be null if the message came in over a different transport." See: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest Good luck and Regards, Patrick > -Original Message- > From: Luca Manganelli [mailto:[EMA

QUERY: Dynamic Stubs, Same Service, Different IP possible?

2004-10-19 Thread William Fitzgerald
Hi guys, I was wondering if anyone knows how I can go about generating dynamic stubs from a wsdl. what I already have: I have a server side bundle that advertises itself as a WSDL. I have a client build file that grabs that WSDL and generates stubs for my client. I use an ant file to generates s

Re: Obtaining the client hostname inside *BindingImpl.java

2004-10-19 Thread Luca Manganelli
Patrick Herber wrote: Hi, I think you could do something like: MessageContext context = MessageContext.getCurrentContext(); HttpServletRequest request = (HttpServletRequest) context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); String clientHost = request.getRemoteAddr(); request is null. A

RE: Obtaining the client hostname inside *BindingImpl.java

2004-10-19 Thread Patrick Herber
Hi, I think you could do something like: MessageContext context = MessageContext.getCurrentContext(); HttpServletRequest request = (HttpServletRequest) context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); String clientHost = request.getRemoteAddr(); Regards, Patrick > -Original Mes

Obtaining the client hostname inside *BindingImpl.java

2004-10-19 Thread Luca Manganelli
Hi, I've made a WSDL and then used WSDL2Java with it do create a web service. My question is: there is a way to know the client hostname of the request inside the *BindingImpl.java source? Thank you in advance

Re: newbie wsdl question

2004-10-19 Thread tony . q . weddle
I've used the org.apache.axis.client.Service constructors, that take a WSDL file name or URL, but haven't done the kind of dynamic invocation that you're talking about. I still needed to know the port name and operation that I wanted to call. However, the Service class does have a getPorts() metho

newbie wsdl question

2004-10-19 Thread Tim Hu
dear all: just started playing with axis (java) for some demo project, and have one fundamental question: if a wsdl file of a very basic service (e.g. invoke the service to get a string) is available to the client, is there some existing/easy way for the client to extract the required parameters