Axis as Client and Server?

2005-11-11 Thread Duane Murphy
Howdy Axis folks, Is it possible to use axis as a client and a server? We have an application that is somewhat peer oriented. The HTTP payload will actually include requests and responses in both directions. That is the XML portion can include a response from a previous request as well as new

[axis2] what is Axis2.obj ? Where should it be ?

2005-11-11 Thread trebor iksrazal
Hi all, Running the axis2.war, when I start tomcat thru a bash alias in linux, I get two files put in the directory where I start tomcat: Axis2.obj axis.log What does Axis2.obj do and where should it be put ? iksrazal None are more hopelessly enslaved than those who falsely believe they

RE: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType

2005-11-11 Thread Parikh,Pratik
Title: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType Hi Everyone, Please ignore this thread, I have solved this problem. Thanks, Parikh, Pratik From: Parikh,Pratik [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 7:42 PMTo: axis-user@ws.apache.orgSubject: No

Decorating request and response Xml

2005-11-11 Thread Parikh,Pratik
Title: Decorating request and response Xml Hi Everyone, Is there a way to decorate request and response xml. Below is what I get, in short is there a way to not include the element with xsi:nil=true and also I need to remove the xmlns = . ?xml version=1.0 encoding=UTF-8?

Re: Axis not conforming to WSDL response element definition

2005-11-11 Thread Kyle M Himmerick
Just as a follow up I ended up writing a simple Handler to modify the outbound response message. import javax.xml.soap.SOAPBody; import org.apache.axis.AxisFault; import org.apache.axis.Message; import org.apache.axis.handlers.BasicHandler; import org.apache.axis.message.RPCElement; public

Re: HTTP/SOAP messages to file

2005-11-11 Thread Ron Reynolds
we need to set up the FAQ so we can send links to specific questions in it as responses. this one comes up an whole lot. if you can, simply add this to your log4j.properties file on the server and/or client sides: log4j.appender.HTTPLOG = org.apache.log4j.FileAppender

RE: HTTP/SOAP messages to file

2005-11-11 Thread Jarmo Doc
I recommend Ethereal (general network sniffer) or Fiddler (Windows-only HTTP proxy). Fiddler is simpler to configure for HTTP (because you don't have to configure anything!) To get your Java client to use Fiddler as a proxy, run: java -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=

Re: HTTP/SOAP messages to file

2005-11-11 Thread Jeff Greif
Search in the axis user guide for samples.userguide.example4.LogHandler. Perhaps this would suit your needs. In the deployment file provided, you can also put the same handler into the response flow responseFlow handler type=trace/ /responseFlow to log both request and response messages.

Unit testing and TDD

2005-11-11 Thread Rakesh Patel
Hi, would be grateful if anybody has guidelines on how to do unit testing and TDD with Web Services. Thanks Rakesh

axis exception handling questions

2005-11-11 Thread Greg Adams
The Axis user guide states the following: If the server method throws a java.rmi.RemoteException then this will be mapped into a SOAP Fault. The faultcode of this will contain the classname of the fault. The recipient is expected to deserialize the body of the fault against the classname.

Jboss axis2

2005-11-11 Thread Alan Aguia
I new using axis2 but I would like to know what it going on on my jboss server Thank you Alan 11:25:32,339 WARN [JARDeployer] Failed to add deployable jar: file:/usr/local/jboss-3.2.7/server/default/tmp/deploy/tmp38727Axis2.obj java.util.zip.ZipException: error in opening zip file at

Jboss axis2 0.92

2005-11-11 Thread Alan Aguia
Im new using Axis2. I install it in my computer and I didnt have problems running the examples but when I try to deploy in my Jboss server I receive the next problem. The example that im running is EchoNonBlockingDualClient.java It worked fine with EchoNonBlockingClient.java. I would like to know

Form Based Authentication in AXIS_SOAP

2005-11-11 Thread Jayaraman, Venkatesh
How can I use form based authentication in AXIS SOAP Servers? http://www.onjava.com/pub/a/onjava/2002/06/12/form.html -Venky

WSDL2Java GeneratorFactory Example

2005-11-11 Thread Jalenak, Jerry
Does anyone have a working example of extending GeneratorFactory for use with the factory option of WSDL2Java? Im needing to use a custom bean serializer, and would like to have WSDL2Java write it out in deploy.wsdd. Thanks. Jerry Jalenak Software Engineer Netopia, Inc.

Fwd: WSDL SOAP headers

2005-11-11 Thread Greg Adams
-- Forwarded message --From: Greg Adams [EMAIL PROTECTED]Date: Nov 10, 2005 4:00 PM Subject: WSDL SOAP headersTo: axis-user@ws.apache.org I'm attempting to create a Java web service with Apache Axis 1.3. One of the requirements of this web service is that it must maintain

Re: Jboss axis2

2005-11-11 Thread Jesse Sightler
At a glance, I'd say that you have a corrupted jar file somewhere in your war.On 11/11/05, Alan Aguia [EMAIL PROTECTED] wrote: I new using axis2 but I would like to know what it going on on my jboss server Thank you Alan 11:25:32,339 WARN [JARDeployer] Failed to add deployable jar:

Re: Jboss axis2

2005-11-11 Thread Bruno Costacurta
On Friday 11 November 2005 22:10, Jesse Sightler wrote: At a glance, I'd say that you have a corrupted jar file somewhere in your war. On 11/11/05, Alan Aguia [EMAIL PROTECTED] wrote: I new using axis2 but I would like to know what it going on on my jboss server Thank you Alan

converting stubs to XML

2005-11-11 Thread Andy Foster
Hi all, I'm at my last chance now, so if someone can help that would be great else I'm going to have to hand code XML output. If you use WSDL2JAVA to generate stubs and call them you get a java response object back that represents the XML response I need to get that response back into XML not

[Axis2] Real Examples

2005-11-11 Thread Routis Babis
Does anybody know if there are some 'real' examples for Document/Literal examples. The term 'real' means web services that use data sources or EJBs or ... How do you access this kind of managed resources from within an 'aar'?

Re: converting stubs to XML

2005-11-11 Thread Pobzeb Armerding
This is how I have done it: SOAPInterface service = new SOAPInterfaceLocator().getSOAPInterface(new URL(Web Service URL)); service.callSomeMethod(Parameters); ((SOAPInterfaceStub)service)._getCall().getMessageContext().getMessage().writeTo(new java.io.FileOutputStream(Path to file)); This will

Re: converting stubs to XML

2005-11-11 Thread Pobzeb Armerding
Hey, guess what? That does not work after all! I guess that I hadn't ever tried to access the call object from my client. Instead, look in the SOAPInterfaceStub.java file for the call object and the invoke method that you want to get the response XML for. Then, Use the code that I had

WSDL2Java problem with complexType response

2005-11-11 Thread LiChung Liu
Hi, I've written a wrapped-style service WSDL, but have been unable toget the WSDL2Java to generate the right method signature. In the wsdl,I've specified a complexType for the request and response. However the generated method always result in a 'void method(param1, param2, param3...)'.I would

RE: converting stubs to XML

2005-11-11 Thread Ebert, Chris
You could try something like this: Serializer foo = GetBuddiesResponse.getSerializer(ignored, GetBuddiesResponse.class, new QName(http://my.nice.namespace;, GetBuddiesResponse)); final StringWriter stringWriter = new StringWriter(); foo.serialize(null, null, value, new

Re: Jboss axis2

2005-11-11 Thread Alan Aguia
Im using the last librarias 0.92 axis2 that I are in axis site. Even thought I get this error the web service works fine, but I would like to know whats going on. Maybe its getting a collision with the axis jars that are included in jboss 3.2.7 version. My directory name is axis.war so thats not

Re: Jboss axis2 0.92

2005-11-11 Thread Eran Chinthaka
Do you have commons-http client jar in the classpath ? Alan Aguia wrote: Im new using Axis2. I install it in my computer and I didnt have problems running the examples but when I try to deploy in my Jboss server I receive the next problem. The example that im running is