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-
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:
>
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
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
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]
*
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
33 matches
Mail list logo