Yes...
Im instantiating class "B" in webservice "A" and then invoke a method
(of class "B" from webservice "A") which just returns "Hello"
when i try to do this, i get the following error:
java.lang.reflect.InvocationTargetException
harsh
On Wed, 2003-07-30 at 10:56, Yakulis, Ross (Ross) wrote
I don't think the issue is in the wsdd file, but in web.xml. Using
HTTPAuthHandler, how do I tell axis where the users are?
On Wed, 2003-07-30 at 01:23, Yakulis, Ross (Ross) wrote:
> Below is an example of a simple "CountSessionHandler" that I have.
> note the requestFlow and responseFlow tags.
Are you saying instantiating a class (Class B in your example) from with the
implementation of the web service A, where Class B does the actuall processing for
the Webservice A?
Ross
-Original Message-
From: Harsh Nagpal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:26 PM
To
Below is an example of a simple "CountSessionHandler" that I have.
note the requestFlow and responseFlow tags.
To activate the authentication handler you need to add tags to your
deploy.wsdd and redeploy your service as I suggested below. If this
does not solve your problem then I am not sure I
Can you call a another class from with a webservice??
eg
webservice "A" calls class "B" which does processing and returns value
to "A"??
Harsh
ok, after looking at the config file i found that the HTTPAuth handler
is used in the http transport. I can't find any examples as to how to
use this though. Could someone point to some docs or example
configurations?
Thanks
Marc Boorshtein
On Tue, 2003-07-29 at 21:09, Yakulis, Ross (Ross) wrot
I didn't notice this before -- there's another
problem in your WSDL. A Fault assumes document style, therefore your MyException
wsdl:message definition should reference an element definition rather than
specify a type definition. You also should remove the encodingStyle and
namespace attribu
Per the SOAP Binding Schema [1], the name attribute is required in the
soap:tFault type:
Likewise, per the WSDL Schema [2], the name attribute is also required in
the wsdl:tFault type:
[1] http://schemas.x
Hello,
Does anyone have created a custom deserializer for ArrayList?
Excellent! Thanks! I'll test this out and add it to the User guide!
On 7/29/03 8:54 PM, "Srinath Perera" <[EMAIL PROTECTED]>
wrote:
> Hi Adhamh
>
> there is a class called org.apache.axis.transport.http.SimpleAxisServer
> there is a main method too. if u run the main the axis will start on
> p
I found the error. I did not have the name attribute of wsdl:fault. I was focusing on the name attribute of the soap:fault, which is not really required: namespace="http://MyService/binding" use="literal"/> I can run WSDL2Java with the above change without any problem. But CapeClear does not vali
Hi Adhamh
there is a class called org.apache.axis.transport.http.SimpleAxisServer
there is a main method too. if u run the main the axis will start on
port 8080.
to start in other port (I haven done it with main method ) create new
SimpleAxisServer obj and set a socket in to it and call that obj
Try adding the following to your deploy.wsdd.
-Original Message-
From: Marc Boorshtein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 5:51 PM
To: [EMAIL PROTECTED]
Subject: Enabling SimpleAuthenticationHandler?
Hello,
I noticed that the simple aut
Hello,
I noticed that the simple authentication handler is present in my config
file, but it doesnt seem to be enabled. Am I supposed to add a
parameter to the service before I deploy it?
Thanks
--
Marc Boorshtein <[EMAIL PROTECTED]>
OctetString
Anne,
Thanks. But even with that change I get the same
error. It seems that javax.xml.BindingFault.getName()
returns null. I am not sure why it is not picking up
the name attribute. I could not step into that part of
the code which is creating the BindingFault, which is
in the wsdl4j.jar
Thanks,
Shantanu,
The name= attribute should specify a nmtoken, not a QName.
Therefore your WSDL definition should read:
http://MyService";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
Regards,
Anne
- Original Message -
From: "Shantanu Sen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
When I use the following WSDL file, I get this error,
even though the WSDL is validated by Cape Clear WSDL
editor, and I see the name attribute is there.
java.io.IOException: ERROR: Fault is missing a name=
attribute in operation "MyOperation", in binding
{http://MyService}rpc-encoded.at
I created a handler, based on the SimpleSession handler in the Axis code base
(basically a simpler version) and configured it for my service. The handler only
gets called before the pivot and therefore no session is returned.
If I ignore the pivot and just set the session soap header it is not
Title: Server Side Handlers and Setting SOAP Headers...
I am trying to add a header to the request/response when my service is invoked.
How do I know when the pivot occurs or do I really need to care.
I have tried:
Message message = MessageContext.getCurrentContext().getCurrentMessa
You'll have to do it during a post process. You can
do it manually, you can use XSLT, or you can write a little XML processing
program to do it.
Now that I look at the WSDL file again, I see that
the default namespace is already defined, so you don't need to add it. All you
need to do is
Anne,
We are
currently using a Microsoft Soap client written in _javascript_. Somehow it
doesn't like the names space in the WSDL file. That's why we want to remove the
namespace.
Could you let us know in which file you change
the xmlns="http://schemas.xmlsoap.org/wsdl/" and how do we re
Given that I've got a wsdl file and wsdd deploy file, how can
I generate a server-config.wsdd file without having a running
webserver with axis installed?
I would like to build a war file with axis and my jar files as
well as the server-config.wsdd. I do not want to have to call
the AdminClient to
The Axis user guide states that "Message" style services support four valid
signatures. All four appear to map request/response WSDL. Is it possible to use
"Message" style with a one-way operation so that Axis doesn't send SOAP back on the
HTTP response, but just a simple "HTTP 200/202"?
All,
Is there a public dtd/schema for wsdd? I just want to find a decent description of
the elements/attributes available to me. I've used the standard stuff for quite some
time and I'm just curious as to what I'm missing out on.
Thanks,
Cory
Stuart Barlow wrote:
If you drop a new war file into tomcat and this contains AXIS
plus a service defn for your new service plus the jars required
for service. Tomcat will auto deply the new war file.
Would that work?
Can you have multiple copies of axis running in the same tomcat?
Interesting idea
If you drop a new war file into tomcat and this contains AXIS
plus a service defn for your new service plus the jars required
for service. Tomcat will auto deply the new war file.
Would that work?
Can you have multiple copies of axis running in the same tomcat?
Richard Emberson wrote:
Can one dyna
I have a simple interface in which a method contains a Map parameter.
When I use Java2WSDL and then WSDL2Java the Map parameter has been
changed into a HashMap.
Is it possible to preserve the Map type or is the conversion to a
concrete type necessary in AXIS?
Thanks.
Stuart.
Hello,
The user guide states that Axis 1.1 supports "Standalone version of the
server (with HTTP support)".
However it does not state how to do this. If one wanted to deploy as a
standalone server, how would one do it?
Thanks,
Adhamh
If one uses the tag within a ... definition, does Axis
validate incoming SOAP msgs to that service against the schema specified by the
?
Hi,
I'm trying to connect a C++ client to (someone else's) Axis server to
retrieve a file object. The server wsdl for the service uses the
DataHandler datatype from the http://xml.apache.org/xml-soap namespace but
I have not been able to find an XSD or WSDL for the apache datatypes
anywhere a
I have it working with Axis v1.1
> -Original Message-
> From: Pardha Vishnumolakala [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: Unable to set header
>
>
> Hi,
>
> I am trying to set header using stub.setHeader() method ( just like
Can one dynamically deploy a new service using axis?
What do I mean by dynamic deployment? Well, I do not mean that
you have to know what you are going to deploy and put all the
needed jar files into the WEB-INF/lib directory before you
start the axis servlet - thats hardly dynamic.
Rather, I want
Hi!
My jar which includes all necessary for axis is trying to discover different BeanInfo, _Helper, Handler and .propertie files
which does not exist in reality.
This forces BIG additional traffic for each Class.forName() invocation!
How can I avoid this? Is there possibility to tell the system t
How can the username and password be set in code when using classes
generated by WSDL2Java? It looks like I can cast the resulting client
class to the stub class, but why aren't those interfaces generated by
WSDL?
Thanks
--
Marc Boorshtein, Software Engineer
Octet String Inc.
Phone: +1-847-466-
Can you explain why this matters to
you?
Axis uses namespace qualifiers for all elements in
the WSDL file. This is a good practice. If you want to remove the wsdl:
namespace qualifier, you'll need to do it manually. To do so, you must add a
default namespace definition:
xmlns="http://s
Hi,
I am trying to set header using stub.setHeader() method ( just like it
is mentioned in FAQ).
but I do not see any headers populated in my soap message.
I saw that some people were using this method successfully. Can u
mention what
axis release you are using?
Thanks
Pardha
Given the following scenario:
My server returns an arraylist of custom_class. Why is it that it returns an
empty arraylist to my client?
I did beanmapping with the arraylist in my wsdd file.
I registerTypeMapping the arraylist in my client source code.
I'm stuck. Please help me.
---
Hi...
I have a web service (describe by a wsdl file) with a method like this:
.
http://www.demoservice.org/demo";
xmlns="http://www.w3.org/2001/XMLSchema";>
http://www.demoservice.org/demo";
schemaLocation="http://www.demoservice.org/demo/ConsultasDemo.xsd"; />
The class AxisServletBase in Axis 1.0, does the following during
initialization:
String attdir= servlet.getInitParameter(AxisEngine.ENV_ATTACHMENT_DIR);
if (attdir != null)
environment.put(AxisEngine.ENV_ATTACHMENT_DIR, attdir);
I have not tested it, but I guess you can specify your attachment di
>From your example I can see you have access to the DataHandler from your
client code, so you could then remove the generated file manually.
I guess you want this to be done automatically. I think the generator do not
have semantic information enough to decide if the file should be temporary
or not
Hi !
I'm using RPC style web service, and a HttpServlet for invoking the
webservice. I wrote a WSDL, and I'm using the generated stub. I'm
successfully called the target method, and get back its return value.
Unfortunately I need the XML instead of the class.
How can I get an XML, from the returne
Hi all,
I have to send a SOAP message (and get a response) using HTTPS.
I use Apache Axis for sending the message.
The test client is simple:
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.n
I think it is a .net problem as well but because I had no luck to change the
behaviour there I thought it could be possible to let axis understand it. I
think this is nothing special and interopability should be possible.
I haven't found a bug reporter @microsoft but posted a message in the
dotn
Seems like the WSDD is not indented properly for
reading, I have the attached the deploy.wsdd for more
convienence.
Regards
Balaji
--- Balaji D L <[EMAIL PROTECTED]> wrote: > Hello
Dims,
> I had look into the CVS math/sample/deploy.wsdd.
> Could you please tell us how to write a WSDD for a
>
Or you can just write the wsdd file service entry yourself, so that
when you install tomcat the service is ready to run. You can always
copy what Axis wrote for you. :-)
Jerome Baumgarten wrote:
Once you published it, Axis / AdminClient will add en entry in the
server-config.wsdd file. So next time
Hello Dims,
I had look into the CVS math/sample/deploy.wsdd.
Could you please tell us how to write a WSDD for a
service which returns "bean containing bean array" as
a return type.
I tried the following WSDD but getting the
error:Couldn't find a matching Java operation for WSDD
operation "getDe
Don't know if this help, but on the server side, you can do that from a
Servlet :
AxisServer axisServer = AxisServlet.getEngine(this);
Jerome
-Original Message-
From: Frank Schoenau [mailto:[EMAIL PROTECTED]
Sent: mardi 29 juillet 2003 09:16
To: [EMAIL PROTECTED]
Subject: How to get the
Hi,
can anybody tell my how i can get the running AxisEngine?
I tryed to to get one, but it is not the running one??
Please help.
Thanks frank
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--
1. GMX TopMail - Platz 1 und Testsieger!
2.
48 matches
Mail list logo