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
>EchoNonBlockingDual
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 th
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
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
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 posted
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 w
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'?
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 th
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
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: file:/usr/
-- 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 convers
Does anyone have a working example of extending
GeneratorFactory for use with the –factory option of WSDL2Java? I’m
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.
How can I use form based authentication in AXIS SOAP
Servers?
http://www.onjava.com/pub/a/onjava/2002/06/12/form.html
-Venky
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
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
a
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.
but
Srinath Perera wrote:
Hi Routis;
1)I think if you copy the content of the war to yours and preserve the
structure it should work.
2) if you need to add a service via the deployment module it should
agree with the aar file format. But if you have the classes in the
classpath if you just have se
I need to know how to debug a call to a webservice.
It appears as though it's formatted correctly, but the webservice on the
other end says our first parameter is missing, or coming through as ""
rather than a date.
I show a date being passed to the invoke method... Is there a way to output
the X
Hi,
would be grateful if anybody has guidelines on how to do unit testing
and TDD with Web Services.
Thanks
Rakesh
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
to log both request and response messages.
Also see the javadoc for org.apache.axis.hand
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= mytestcl
Hello all;
well figured out a solution and this works for me. Came up with a
solution aftre looking into the axis code.
Posting the snippet below:
--
String cookieValue = "someusercookie";
Service service = new Service();
service.setMaintainSession(true
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
log4j.appender.HTTPLOG.layou
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 cla
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 = "".
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:
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 a
27 matches
Mail list logo