Hi
:
I am facing
issues with services deployment vis WSDL way.
I followed the
procedure below:
(1) I have an
EchoService.java as attached.
(2) I generated
the WSDL from the above java class file using
java
org.apache.axis.wsdl.Java2WSDL -o EchoService.wsdl -l"http://localhost:808
I am trying to get my Axis client to invoke a Web service which was
developed using JAX-RPC (JWSDP RI). When I invoke the Web service, my
JAX-RPC service throws an exception saying that the Axis client did not
include the port information in the HTTP POST request URL.
> [ERROR] http - -no port sp
I am trying to get my Axis client to invoke a Web service which was
developed using JAX-RPC (JWSDP RI). When I invoke the Web service, my
JAX-RPC service throws an exception saying that the Axis client did not
include the port information in the HTTP POST request URL.
> [ERROR] http - -no port sp
Found the problem... It is a server
side problem with the way we setup the CSRGroupOrder object... the
getter/setter for the csrList was overloaded (getCsrList()
and setCSRList() ). There was one
for getting and setting the list and another to get elements of the list given
an index as inp
I'm
trying to use "my own" (Castor from Exolab) serializer / deserialer to
marhsall/unmarshall my xml to/from Java Beans.
My
deploy.wsdd file looks like the following:
xmlns:ns="http://fmr.com/hw/"
qname="ns:FESCOHead"
type="java:c
Title: RE: Session ID from Axis
thanks. i
keep forgetting about the AxisServlet. i was debugging the actual session object
and looking at that api it works perfectly.
jill
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: Thursday, May 30,
200
Hi
Brenton!
So
you're saying that you observe the fault you posted below coming back across the
wire, and when that gets turned into an AxisFault you can't get at the
details? That sounds like a bug to me if that's the
case.
Regardless of whether or not Axis uses the details to constru
Hi, I'm on OSX and when I use gnutar ztf on the following file
xml-axis-beta2-src.tar.gz
Under beta2 distribution I get
xml-axis/java/wsdd/v2dd/docs/v2dd_p8.png
gzip: stdin: decompression OK, trailing garbage ignored
gnutar: Child returned status 2
gnutar: Error exit delayed from previous err
I finally found the reason of my problem.
I can use WSDL2Java included in the beta2 version to generate stub
compatible.
The bug of the alpha3 version with the return of byte[] doesn't exist
anymore in this new version of axis. So I'm happy.
I just regret that the use of attachment is'nt compat
Has anyone gotten Axis to run successfully on IBM's Websphere or on
BEA's Weblogic?
Thanks,
Bill
In case this question got lost inside a
previous
post I am re-asking it here:
I realy need to get at a custom fault code.
This
does not appear to possible through the
API
due to a disconnect between
SOAPFault
and AxisFault.
Does anyone know
a way to get at the raw SOAP
message retur
But I guess what I'm confused about is why you don't just write a messaging
client that manually adds this element to the request:
8
and then sucks the returned XML out of the SOAP Body? Seems so much more
straightforward...
Andrew
At 05:25 PM 5/30/2002 +0200, you wrote:
>Hi,
>
>I have some
Hi,
I have some methods which need an in-parameter (in most cases a primitive
type like int) and return a XML document.
Sadly, I haven´t found a way to tell Axis to use RPC mode for the request
and don´t apply any deserializers on the response, so that I can extract the
XML document from the res
You could deploy a separate servlet that you configure to start before
(load-on-startup) the axis-servlet which will pool your db-connections.
Or you could do it "on-demand" the first time the service was accessed (probably
pissing off the first user, but hey the world's not perfect!
/Jesper
I have limited programming experience, and I don't know what sorts of
things people are using SOAP for out there. One thing I wonder (possibly
because I just haven't needed to do it yet) is why so many people want to
write an RPC client that passes an XML document as a parameter. What is
the
Bob,
- use the system.xml.xmldocument to create a XMLDocument (DOM) object
- use the loadxml method to load a string into it
the precise syntax depends on which .net dialect you use
greetings,
Gertjan
-Original Message-
From: Robert Evans [mailto:[EMAIL PROTECTED]]
Sent: donderdag 3
HI,
I'm trying to migrate from a Soap 2.2. mindset to the Axis framework
and I have a question.
In SOAP 2.2 I had control over the init() method in the rpcrouter servlet. I
put a hook in there which setup some database connections and put them in
cache. When my implementation class was in
you will have to change the set classpath.sh file in tomcat/bin directory
and set the java.endorsed.dirs to point to the your "lib" in which you keep
ur jar file of the service.
eg:
in setclasspath.sh
-Djava.endorsed.dirs=:
also make sure that the classpath in setclasspath.sh has everything you
w
Greetings,
I have been trying to figure out how to pass an XML document to/from an
axis web server from/to a .Net client.
As near as I can tell, on the Java side I need to convert the XML
document to/from a string (no problem). The part I can't figure out is
how to convert the Xml String to
Hi!
I try to use Java2WSDL and WSDL2Java. I created a simple bean which I want to
return from a method of my service. When I invoke the service with a tester I
get the following exception:
Exception in thread "main" Internal Server Error
at
org.apache.axis.transport.http.HTTPSender.in
Axis.GetFaultDetails returns an array of Elements
Cycling on these elements all I get is a stack trace
in
element[0] and nothing else. I suspect that this
is
because Axis threw an exception when trying
to
read the details and put the stack trace in that
slot
for safe keeping...
Next
way
Title: RE: Session ID from Axis
The HttpRequest object is stored "as is" in the message context property bag. See org/apache/axis/transport/http/AxisServlet.java line 273:
msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST, req)
So, something like:
((HttpServletRequest)msgContex
There is a problem with calling a service that has an abstract complex type as a parameter. I am working on this right now.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
"St-Germain, Sylvain" <[EMAIL PROTECTED]>
05/30/2002 08:31 AM
Please respond to axis-use
I think that the problem was when debugging in Jbuilder6, JB does some magic handling
of the threads during debugging.
Axis uses Thread.currentThread().getContextClassLoader() but when debugging this in
Jbuilder this classloader seems to be the "application" classloader and not the
webapplicat
Use the -a switch on WSDL2Java.
Sylvain.
-Original Message-
From: Ronald Hütter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 5:19 AM
To: [EMAIL PROTECTED]
Subject: WSDL2Java: abstract class generated for referenced type?!?
I defined a service, which uses a complex type. The c
Thanks a lot...
I am not getting the deserialization exception but
some other exception.
After including your code (given below) i get
following exception:
- Exception:org.xml.sax.SAXException:
Bad types (null -> class test.service.Data) at
org.apache.axis.message.RPCHandler.onS
You also need to copy an implementation of the xml apis - such as xerces. Check the
install instructions at xml.apache.org/axis/.
-prabhakar
> I am trying to setup axis to work with Tomcat.
>
> I have copied axis directory from axis-beta2/webapps to
> TOMCAT_HOME/webapps/
> I have even copied
Hi All -
If my java bean has property "foo", then the SOAP
message contains a tag like this , but the WSDL
(generated using Java2wsdl) has a tag like this
(note that the case is
different). Axis ignores this case difference, but
other SOAP clients (like the MS Soap toolkit) do not.
Am I missi
Hi,
I've got this exception when trying to run a client with stub generated by
IBM toolkit wsdl2java. The toolkit was using axis alpha3 and I had a problem
with reception of byte[]. (i didn't receive everything, but just a part).
This problem doesn't appear with soap and .NET.
I though it was
I am trying to setup axis to work with Tomcat.
I have copied axis directory from axis-beta2/webapps to
TOMCAT_HOME/webapps/
I have even copied the jaxrpc-ri.jar and jaxrpc-api.jar along with
axis.jar to TOMCAT_HOME/common/lib.
Even then, whenever the Axis adminservlet is accessed, following err
You
have to put the same type of typemapping in your client, something like
this:
QName rt = new QName("urn:TestService",
"Data"); call.registerTypeMapping
(Data.class,
rt, new BeanSerializerFactory(Data.class,
rt), new
BeanDeserializerFactory(Data.class, rt));
Did you write your client using WSDL2Java ?
I assume that you have to insert the same type mapping
thing in your client code as well. From the client code
you need to do the following:
QName qn2 = new QName("http://hello.org/types","TableType";);
call.registerTypeMapping(Table
Hi all,I need some help on
serialization/deserialization.I have created a web-service whose code is
given below:package test.service ;public class
Service{ public Data
dataOperation()
{ return new Data()
; }}Data is a simple java
bean.
The definition of Data class is giv
I tested all my wsdl generated file trought Cape Studio toolkit and all is
ok!. I definitely think that XML Spy aren't following WSDL spec.
Thanks,
Jean Marc
- Original Message -
From: "Russell Butek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, Ma
I defined a service, which uses a complex type. The complex
type (at the service side) is described by an _interface_.
Running the sources through Java2WSDL and WSDL2Java results
in a client-side class being generated for the complex type
which is _abstract_. Now, if I execute the service method,
35 matches
Mail list logo