Asynchronous Web Service call possible in Axis?

2004-12-03 Thread Luca Manganelli
Hi, I want to make an asynchronous web service call in Axis. In particular, can call.invoke(...) return an object that will be filled in the future with the webservice's response? There's a way to do call.invoke() and do other computation (without the use of Threads in my source)?

WSDL2Java produces source with incorrect parameter names

2004-11-15 Thread Luca Manganelli
I have the WSDL (at the end of this message). I think there's a WSDL2Java bug: when I invoke the "Ciao" operation, my ActiveBPEL server (with its Axis server) returns me an error: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString

Re: WSDL2Java parse tree

2004-11-02 Thread Luca Manganelli
Chetan Vora wrote: Hi, Is there any way to get access to the parse tree that is generated by WSDL2Java ? For our project, we need to create custom output (classes probably) from the WSDL instead of the interfaces/stubs that WSDL2Java generates. Any help or pointers will be appreciated. CV See o

Problem with a WSDL

2004-10-26 Thread Luca Manganelli
Hi, I have this WSDL (that I cannot modify): http://acm.org/samples"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"; xmlns:tns="http://acm.org/samples"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> http://acm.org/samples";

Re: How do I safely evolve data structures?

2004-10-25 Thread Luca Manganelli
Mahen Perera wrote: Hi James, U can adopt ur own WS- versioning policy to overcome the effect of changing the Web service on the client. Which WS-Versioning policy are you referring?

Bugs in AXIS 1.2RC1 (as in beta3)?

2004-10-25 Thread Luca Manganelli
Hi, I have the following wsdl (in attach) that I cannot modify. If I do WSDL2Java, there are two strange things: * the service name in "deploy.wsdd" is mistaken. It is named as clientServicePort and NOT clientService (as in of the WSDL) * as you can see, in same file there's a (?) wrong

Re: How does WSDL2Java know the filename for the bindings?

2004-10-25 Thread Luca Manganelli
Dan Ciarniello wrote: According to the WSDL2Java reference in the documentation, you can use the -c argument to tell WSDL2Java what the implementation class is called. Yes, but it doesn't work for one WSDL with two services. They need TWO implementation classes. I want to know the Axis method to

How does WSDL2Java know the filename for the bindings?

2004-10-22 Thread Luca Manganelli
Hi, given a file WSDL and the well-known WSDL2Java to generate server-side java classes, how does Axis generate the filename for binding implementation java sources? The normal filename shouldbe be (servicename)BindingImpl.java, but not always. Any idea? Thanks Luca

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: 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: 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

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

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