Hi Dario
I had (or still have...) the same problem and found the following link:
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-soapjax.html
I didn't get it to work yet, but it might give you an idea where to start.
Good luck, and I would appreciate if you let me know when you
Hi Zoltan,
You can also consider not handling the certificate yourself. When you deploy
Axis on a webserver, you can ask the webserver to authenticate using client
certificates for the axis web application. Depending on whether the default
behavior works for you, this can turn out to be the easiest
Hi,
Sometime ago I asked the same kind of question but never get any answer.
http://marc.theaimsgroup.com/?l=axis-user&m=106980002426486&w=2
http://marc.theaimsgroup.com/?l=axis-user&m=106911055830031&w=2
What I did for now (as a workaround) is to tell about the attachments in my webservice docum
Well good people of the list,
Here are a couple of interesting problems for you to mull over and maybe help
me out with.
1. I have a problem with Axis regarding the WSDL returned from a service as
generated by Axis i.e when the ?wsdl option is specified.
The auto generated wsdl is not usable w
Hi Steve,
A quick tip that I found out to work when dealing with custom exceptions (since I was enable to use a custom exception based on the Axis sample).
The tip is: "Do not extend java.rmi.RemoteException and don't implement java.io.Serializable for a custom exception, but simply extend java.l
Hello all,
I have a bunch of objects and exceptions to expose from my webservice and writting the wsdd start to be very teadious.
I was wondering if anybody of you knows a tool that allows to generate automatically the set of and from a java package containing the object/exceptions I want to ex
Thanks for the link, it has been very useful for me.
The wsdl example reports two different mime types for attachment,
image/jpeg and application/octet-stream.
To make the WSDL2Java work it is necessary to modify the second to
"application/octetstream". I think it is a bug in the
implementatio
Hi Axis users
I try to deploy and run my SAOP with attachments
axis program (Application server is tomcat).But I trying to axis wsdl
(http://127.0.0.1:8080/axis/services/urn:EchoAttachmentsService?wsdl
)It generates flowing error.
AXIS error
Sorry, something seems to have gone wrong
Hi Patrick
None of my custom Exceptions extend java.rmi.RemoteException or implement
Serializable.
My base exceptions extend only java.lang.Exception and all other custom
exceptions extend these base exceptions. The mappings in the WSDL I created for
them are correct and so is the definition i
Hi Patric,
The axis wsdl2java does this for you, it creates both a deploy.wsdd and an
undeploy.wsdd
Regards
Steve
Quoting "BLIS Webmaster (Patrick Houbaux)" <[EMAIL PROTECTED]>:
> Hello all,
>
> I have a bunch of objects and exceptions to expose from my webservice and
> writting the wsdd st
Hi Steve,
I don't understand, I thought wsdl2java was for generating a client stub from a given
WSDL.
I don't see anything in the "wsdl2java" documentation that could answer my question.
What I wan't is deploy the service so I don't have any WSDL yet.
Can you tell me more about that or point me
Hi Patric,
It can also generate the server side code so that you can build a web service
starting from a wsdl file and always creates the deploy.wsdd and undeploy.wsdd
files
Regards
Steve
Quoting "BLIS Webmaster (Patrick Houbaux)" <[EMAIL PROTECTED]>:
> Hi Steve,
>
> I don't understand, I
Plz, help me.
I have webapp and it use AxisServlet.
Plz tell me how can I stop Axis by invoking some my servlet? How can I
stop AxisServlet, put not stop all webapp?
PS sorry for my English..
Axis developers have solved the problem about mime type mapping!
(because I told'em to do so! ;) )
Dario
Dario Di Minno ha scritto:
Thanks for the link, it has been very useful for me.
The wsdl example reports two different mime types for attachment,
image/jpeg and application/octet-stream.
To
Hari,
If an element is defined as a local element within a schema (i.e., it is
defined within a type definition rather than as a direct child of the
element), and if you have not specified
elementFormDefault="qualified" in the schema, then the element
MUST NOT be namespace qualified in a schema
Hi Steve,
Thank you for your help but I'm a bit confused.
As far as I know (though I'm maybe wrong), you still need a WSDL to use with wsdl2java.
The fact is that I don't have a WSDL yet, it will actually be the result of my
deployment.
What I need now is to write the wsdd for deploying the servi
Hi:
I am trying to deploy a we service. All the classes needed for it are
part of .jar files in Axis lib folder and Tomcat common lib folder.
When I run my deployment descriptor, everything seems to be fine.
However, when I try to refresh the Axis servlet, I just see this message
"And no
Hi Patrick,
Then first run java2WSDL against either your compiled service class of better
stil an interface it implements (does not have to be deployed) this will then
generate a WSDL file for you. Then use the WSDL2java to create the deploy.wsdd
and undeploy.wsdd and just throw away all the ot
Hi Somesh,
The root cause is
java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
The Axis jar files are not available to your service. In your service WEB-
INF/lib directory ensure all of the Axis jar files are present and resart
Tomcat.
Regards
Steve
Quoting "Marepalli, Somesh" <[EMA
Thanks Steve.
axis.jar is part of webapps\axis\WEB-INF\lib folder. AxisFault clas sis
part of this .jar file.
When I undeploy my service, all other services come up fine...
I have an operation throwing an exception class which derives from
AxisFault. I have no beanmapping entry for that. Do u thi
Better yet -- used doc/lit with the "wrapped" style.
At 02:33 AM 3/18/2004, you wrote:
To combine the rpc and the message style, why don't
you use the rpc style adding an xml document as
attachment?
--- Jason Calabrese <[EMAIL PROTECTED]> ha
scritto: > Hi everyone,
>
> Is there anyway combine the
See the WS-I Attachments Profile [1] for a description of the standard way
to define attachments in WSDL. (Whether or not Axis supports the invocation
convention you describe below is a different issue.)
[1] http://www.ws-i.org/Profiles/Basic/2003-08/AttachmentsProfile-1.0.pdf
Anne
At 02:33 AM
Hi,
What would be the best approach to persisting info amongst handlers?
We have a series of handlers set on server side
-> that does some database look up for a user and loads user profile
-> depending on this loaded profile, perform some prep work such as
decryption
-> depending on this l
Is Basic Auth supported in Axis 1.1?
Our server side is Apache(basic auth)/Tomcat(Axis)
I've tried
call.setUsername( "user" );
call.setPassword( "password" );
or
String before_user = "user" + ":" + "password";
String euser = new sun.misc.BASE64Encoder().encode( before_user.getBytes() );
call.
I'm rather new to axis. I have got the happyaxis page working, and
created my own EightBall webservice similar to:
http://www-106.ibm.com/developerworks/webservices/library/ws-eight/
Which works as expected.
Once I add in some of my company's reusable classes I get a
ClassNotFoundException. I
I have the following problem in maintaining the session.
I have a webservice where the user need to login first and if the login is
successfull then the server sends a sessionid back to the user. Then the
client will perform the lookup and update operations.
My problem is that, the client is a we
Hi,
We're working on a "file archive" service. This service will need to let
its clients upload files for archiving and later retrive them. (Ok, its
more complex than that but that's the relevant bit...)
What I have thus far is working OK but I would appreciate some more
experienced eyes on it
Hi:
I have a service class fr my Java based web services throwing
exception from its methods (derived from AxisFault).
When I try to deploy this web service with a simple descriptor, it
deploys ok. When I try to view it in the list of servlets, AxisServlet
throws an exception (root Cause: Ax
Title: Message
Thanks
a lot for the detailed explanation, I will give it a go and let you
know.
__Hari
-Original Message-From: Anne Thomas
Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 6:35
AMTo: [EMAIL PROTECTED]Subject: RE:
SimpleDeserializer encount
Thanks for the idea, but I don't think an attachment will work. I don't want
the client of the service to have to parse to attachment themselves.
I'd like it to look like a normal rpc soap service, that follows the schema
declared in the types section. I just want to be able get lower level ac
Thanks for the info. Do you know of any urls where I can find out more about
this.
I tried changing the binding in my wsdl, but WSDL2Java still generates the
same code.
Should I just give up on using WSDL2Java? If so how can I figure out what the
method signatures should be.
Thanks,
Jaso
Hi Somesh,
You should have a been mapping yes.
Just let me get this straight, are you deploying your service to axis or do you
have your own context that you deploy your web service to i.e. NOT under
axis/WEB-INF and that context has the axis jar files in its lib directory
Regards
Steve
Quo
This is my deployment descriptor below...
I am running my web services within axis web app itself...
When I run this descriptor - it does not complain. But when I use
AxisServlet to list the services, it gives exception
Also, I have arrays as return types, how do I specify them
Descriptor:
http://
Title: Message
Hi
Anne,
The
name space in the SOAP envelop works as you had described. However I am still
having problem and my guess is it has to-do with the MapSerializer and
BeanSerializer (I use Doc/literal web service). When I add a complex type to
hashMap, the value element has two ch
Hi Paul,
Are you using any proxy server?
I found that this Axis fault - (302)Moved permanently - appeared is your
HTTP server is behind proxy.
OR
Just to verify, deploy the same service locally and see if you can
invoke the service.
Hope this helps.
Best regards,
Shrikant Wagh
QA Architect a
Hi Steve,
Thanks it worked.
The only thing is that it's automatically generating and I'm not able to
specify instead.
But as far as I understand this should not be a problem ... I can still use a
"Find&Replace" functionality from my favorite text editor still ;)
Thanks for your help.
Patrick.
Anne Thomas Manes helpfully writes:
>We will solve the security problem in the very near future.
>OASIS WSS SOAP Message Security (the standardized version of WS-Security)
>should be ratified as a formal OASIS standard by the end of the month.
I believe the documents are available here:
http://
from the user guide (http://ws.apache.org/axis/java/user-guide.html):
(The tag is really just shorthand for a tag with
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory",
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory", and
encodingStyle="http://schemas.xmlsoa
Hi Somesh,
Instead of trying to create your deployment by hand why don't you use the Axis
java2WSDL to create a WSDL file and then use WSDL2java to create your
deployment files named deploy.wsdd and undeploy.wsdd
This will save you loads of typing and generally does a pretty good job. Lots
of
I was looking again at your excellent cookbook for doing doc/literal
in Axis and had a couple of followup practical questions:
You specify using Axis 1.2 alpha. Is there any hope with Axis 1.1? And
do you mean the alpha release or the latest Axis CVS?
You mention that if you use ,
>Endpoint loca
Hi all
I'm wondering whether this is already a known bug in Axis because I didn't
get a reply so far.
Thank you for your help.
Oliver
*** BITTE BEACHTEN ***
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder ge
Is there any way to get System.out.println() statements print to screen
from a web service in Axis?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 3:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with Axis deployment...
Hi Somesh,
Is there any easy way for an exception's original stack trace to be
retrieved? For instance, on the server the service is using
AxisFault.makeFault to create an AxisFault from a reguler exception,
but it doesn't seem to effect the client's view of the exception and
it's stack trace. Is th
Hi Oliver,
It would help if this mail stated exactly what your problem is.
Regards
Steve
Quoting Oliver Wulff <[EMAIL PROTECTED]>:
>
>
>
>
> Hi all
>
> I'm wondering whether this is already a known bug in Axis because I didn't
> get a reply so far.
> Thank you for your help.
>
> Oliver
>
Hi all,
I was looking at the release notes for Apache Axis, and they
are currently listed for Axis 1.2. I was just wondering whether 1.1 is also
100% compliant with jax-rpc and saaj. Thanks.
-Wei
The definitive source of information for all things happening in the world
of XML is Robin Cover's Cover Pages [1]. I also plan to start a blog thread
that summariezes all the latest standards/specification efforts -- I just
need to find the time to do so. Perhaps this weekend...I'll post a note
Let me try this...I am in the process of doing so.
Thanks for the suggestion
Regards
-Somesh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 3:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Problems with Axis deployment...
Hi Somesh,
Instea
Hi Steve:
I got the deploy.wsdd generated from a .wsdl as suggested by you...
When I deploy, I get no complaints. However, when I go to viw service
in Axis (using AxisServlet), I get the following exception in log
file
Please help...
Regards
-Somesh
javax.servlet.ServletException: S
I'm not an expert on this stuff, but I believe that the beanserializer
only works with SOAP encoding.
At 05:57 PM 3/18/2004, Hari Lakshmanan wrote:
Hi
Anne,
The name space in the SOAP envelop works as you had described. However I
am still having problem and my guess is it has to-do with the
MapSe
Hi All:
I have a web service running under Tomcat 4.1 and Axis 1.1. It uses
JNI code (.dlls on windows).
I need to dynamically undeploy and deploy my web service using the
Axis "reloadable" flag setting...
I am running into some problems when I copy an updated .jar file into
Axis lib f
Title: Message
Thanks
Anne,
I just
needed a confirmation on this behavior of BeanSerialization
__Hari
-Original Message-From: Anne Thomas
Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:11
PMTo: [EMAIL PROTECTED];
[EMAIL PROTECTED]Subject: RE: Simpl
Hi folks,
I've got a bit of a quandry, and hope that someone else may have seen
something like this before.
We have a "generic" web service that someone put together which we are
now trying to use to deploy three different applications. Problem is,
if we deploy all three applications in a sin
I ran into the same problem as mentioned in one of the old post - I got
Exception:: org.w3c.dom.DOMException: `null' prefix expects a namespace uri
when running admin deployment. But I could find no solution in the mailing
list. Any hint?
thanks,
-Michael
_
Wagh, Shrikant wrote:
Hi Paul,
Are you using any proxy server?
I found that this Axis fault - (302)Moved permanently - appeared is your
HTTP server is behind proxy.
OR
Just to verify, deploy the same service locally and see if you can
invoke the service.
Hope this helps.
Best regards,
Shrikant
Hi,
I have a custom class like this
Public class XX {
private int ID;
...
...
}
Now I wanted to expose the member variable ID as Integer type on the
consumer side but on the provider side I would like to keep it as int. I
am using custom serializer on the provider side where as I use
BeanSeriali
Hi Somesh,
How big is your application, i.e. can you attach it to a mail with your wsdl
and I will have a look over the weekend for you. This would appear to be a
problem in the sevice and not with the deployment.
Regards
Steve
Quoting "Marepalli, Somesh" <[EMAIL PROTECTED]>:
> Hi Steve:
>
56 matches
Mail list logo