Title: Re: Does Java2Wsdl support EJBs?
Sorry if this is a dumb question, but why do you need Java2Wsdl?
on 26/1/03 11:42 AM, Naresh Bhatia at [EMAIL PROTECTED] wrote:
Does Java2Wsdl support WSDL generation from EJBs? I tried it but I am getting the following exception:
WSDLException: fault
Title: Re: How to deploy two web services in one web container?
So far as I am aware, Axis can support an arbitrary number of web services. In fact, if you look in the default server-config.wsdd file you'll probably see two services defined (though they may be commented out).
I'm not sure I fo
LS
I am trying to get AXIS working on Weblogic 5.1.
The problem I have is that I cannot find the changes I have to make to the
weblogic.properties files to get it all working properly.
I have tried this:
weblogic.httpd.register.*.jws=org.apache.axis.transport.http.AxisServlet
Administration do
Hello,
I try to define multiple fault message on a single operation:
But only the last exception class is generated i.e. FoobarException3 and the
others aren't (NOTE: they are also not thown in the method foobar generated
from this operation).
Is this a well known b
I had some SAXParser problems handling special characters in XML. If you find you
want to add hand coded character handling methods, I found the following links
helpful:
http://www.peerfear.org/alexandria/content/html/jxr/org/apache/xalan/xpath/xml/FormatterToHTML.html
and
http://iruka.n.is.
Title: Message
Hi
Alan,
I
would like to expose an EJB as a Web Service - I assume that Axis can to do
this because it supplies an EJB provider. Java2Wsdl creates a
WSDL automatically for Java classes that implement java.rmi.Remote but
seems to choke if they implement javax.ejb.EJBObject (
Title: Message
Hi
Alan,
I
think I get it. Please let me know if my understanding is incorrect - I can
use AdminClient to deploy the two web services (represented by two different
deploy.wsdd files). This will add both the services to server-config.wsdd. Axis
servlet will now handle both w
hi,
what u need to do in weblogic.properties is deploye AXIS as an application.
weblogic.httpd.webApp.axis=C:/axis-1_0/webapps/axis/
this is what I use "C:/axis-1_0/webapps/axis/" just put u r axis path here
and put all the jars in the classpath your axis will start working.
regards
abhinav
-
abhinav,
You are my saviour, thanks very much
regards
Bob
-Original Message-
From: Abhinav [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 28 januari 2003 13:29
To: [EMAIL PROTECTED]
Subject: RE: AXIS and weblogic 5.1 properties
hi,
what u need to do in weblogic.properties is deploye AXIS as a
I tried rolling back axis to v1.0 but I still get the same kind of
exception. As like you the weservices I am trying to
deploy rely on quite a few classes it doesn't seem to be possible to submit
it as a test case. Also creating a separate test case would not be plausable
due to our own configurati
Title: Re: How to deploy two web services in one web container?
Exactly - or you can enter the info from the deploy.wsdd files direct into the server-config.wsdd yourself.
on 28/1/03 12:18 PM, Naresh Bhatia at [EMAIL PROTECTED] wrote:
Hi Alan,
I think I get it. Please let me know if my under
"Brian Dillon (ext. 944)" wrote:
> I tried rolling back axis to v1.0 but I still get the same kind of
> exception. As like you the weservices I am trying to
> deploy rely on quite a few classes it doesn't seem to be possible to submit
> it as a test case. Also creating a separate test case would n
Mark,
As far as I know, WSDL does not have any sort of mechanism for describing
attachments... hence each vendors slightly different implementation of an
attachments interface. Your client (or server for that matter) will have to
be aware that an attachment is present and attempt to extract it fro
Title: Re: Does Java2Wsdl support EJBs?
Hi Naresh
Here's a sample of a basic deploy.wsdd. They can get rather more complex, but this is as good a starting point as any. In it I'm exposing all methods of a local stateless session bean. You'll probably want to narrow that down a bit :) Note that,
Hello,
I just change my Axis version from 1.0 to 1.1 beta and I have some issue
with some part of WSDL which are easily compiling with 1.0. Here the WSDL:
http://schemas.xmlsoap.org/soap/http"/>
http://schemas.xmlsoap.org/soap/encoding/";
namespace="t
fault element must have name attribute (from WSDL 1.1).
i think it was a 1.0 bug rather than 1.1 beta.
regards,
A.T.
> -Original Message-
> From: Fabien Guinet [mailto:[EMAIL PROTECTED]]
> Sent: martedì 28 gennaio 2003 15.33
> To: [EMAIL PROTECTED]
> Subject: WSDL2J: Fault is missing a
Josh,
Yes, I am trying to develop the service that is
language and platform neutral, so I'm trying to find
the "right" way to handle attachments. Unfortunately
I don't have other platforms to test on.
The W3C WSDL 1.1 Note shows a MIME binding that
supports attachments, but poking around on th
I posted a similar question to the one described here
earlier this month but got no responses, so I
apologize for repeating myself. But I'm getting
nowhere with my testing and wonder if anyone can shed
some light on the problem I'm experiencing.
My web service has overloaded methods like:
1) MyO
Hi,
when I start from the command line: %catalina_home%\bin\startup.bat
it will be resulted in errors when I launch the browser:
http://localhost:8080/axis/services/OrderBattle?wsdl
I receive an error instead of an XML doc. If I start from the menu it is
OK. can any one help me?
Eric
-Or
Hi,
when I start from the command line: %catalina_home%\bin\startup.bat
it will be resulted in errors when I launch the browser:
http://localhost:8080/axis/services/OrderBattle?wsdl
I receive an error instead of an XML doc. If I start from the menu it is
OK. can any one help me?
Eric
_
James,
The solution I found was to remove the opreation descriptions from my wsdd
completely (but leave the 'allowed methods' tag). I used define the
operations like;
But if I omit these everything is fine,
Thanks,
Brian
-Origina
Mark,
I have been working on a project were platform independance is my goal.
Microsoft .NET was my first non-java client that I figured I would be most
likely to run accross. For basic SOAP messages everything worked fine.
However, when implementing attachments I found that .NET Framework out of
- Original Message -
From: "Mark Mueller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 08:18
Subject: RE: Interoperative attachments
> Josh,
>
> Yes, I am trying to develop the service that is
> language and platform neutral, so I'm trying to find
> the "ri
Perhaps we need a temporary Ant task to do this until
the Java2WSDL task is updated to support EJBs. The EJB
provider seems to have gotten pretty short shrift. I
mean no docs and no support in Java2WSDL ?
--- Alan Buxton <[EMAIL PROTECTED]> wrote:
> Hi Naresh
>
> Here's a sample of a basic deplo
When I run nav to http://localhost/axis/service/MyTest?WSDL
I get:
faultString: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL
Document -'.: The value of the attribute "xmlns:tns3" is invalid. Prefixed
Namespace bindings may not be empty.: org.xml.sax.SAXParseException: The
v
Hello,
I have WebSphere service which is based on Apache SOAP 2.x that has
multipart WSDL.
When I try to create a client with this, WSDL2Java throws a Null Pointer
Exception.
I have tried this with both release 1.0 and 1.1b.
java org.apache.axis.wsdl.WSDL2Java
http://localhost:8080/simp
Hi,
I'm still quite new to all of this. But from what I understand, one of the main goals of using a Web Service Model is to essentially make its interface universal and accessible to anyone.
How does one protect one's Web Service from malicious attacks. One that comes into mind and can be done qu
I installed tomcat 4.04 and it will not allow me to open the manager. why,
how can I set the administrator rights in order to allow other IP adresses
to talk to tomcat?
Thanks,
Arie
i guess one would protect SOAP from DOS attacks using the same techniques as
one would use to protect HTTP from such attacks, right?
and, regarding authentication/authorization of web services... look at the
SAML (Security Assertion Markup Language) OASIS standard (www.oasis-open.org).
On Tue,
i guess one would protect SOAP from DOS attacks using the same techniques as
one would use to protect HTTP from such attacks, right?
and, regarding authentication/authorization of web services... look at the
SAML (Security Assertion Markup Language) OASIS standard (www.oasis-open.org).
On Tue,
You just asked yourself several million dollar questions.
First, Web Services are ever evolving, and it seems to me that there are way
too many standards and standards bodies out there. So you're not alone.
Second, Apache Axis implements SOAP 1.1, and security is beyond the scope of
the SOAP spec
I just tried them, and Chen's HTTPSender and HTTPInputStream work great, for
both http and https. The only issues I encountered were that when you
download the attachments from the mailing list, they have funky MIME
characters in them like =0A= and =3D that have to be converted. Also, Axis
has chan
I've had success with the Axis 1.1 beta DIME support demonstrated in the
echoAttachments sample (which also has a mode in which it uses MIME). Axis
1.1 beta DIME support interoperates both with gSOAP and .NET. For my money
DIME is the way to go, especially with attachments that would otherwise nee
Since you are most likely using SOAP over HTTP, you have the same tools used
to protect other HTTP services -- you can require client certificates,
restrict to certain IPs, use HTTP basic authentication, etc., which can all
be set up using your web application server. But these are probably usef
you're right on. it's at the forefront of sw technology right now...
On Tue, 28 Jan 2003 14:02:24 -0500, Anderson Jonathan wrote
> You just asked yourself several million dollar questions.
>
> First, Web Services are ever evolving, and it seems to me that there
> are way too many standards and
you're right on. it's at the forefront of sw technology right now...
On Tue, 28 Jan 2003 14:02:24 -0500, Anderson Jonathan wrote
> You just asked yourself several million dollar questions.
>
> First, Web Services are ever evolving, and it seems to me that there
> are way too many standards and
you're right on. it's at the forefront of sw technology right now...
On Tue, 28 Jan 2003 14:02:24 -0500, Anderson Jonathan wrote
> You just asked yourself several million dollar questions.
>
> First, Web Services are ever evolving, and it seems to me that there
> are way too many standards and
Norris,
Can you please submit a patch to Bugzilla?
(http://nagoya.apache.org/wiki/apachewiki.cgi?SubmitPatches)
Thanks,
dims
--- Norris Merritt <[EMAIL PROTECTED]> wrote:
> I just tried them, and Chen's HTTPSender and HTTPInputStream work great, for
> both http and https. The only issues I encou
you're right on. it's at the forefront of sw technology right now...
On Tue, 28 Jan 2003 14:02:24 -0500, Anderson Jonathan wrote
> You just asked yourself several million dollar questions.
>
> First, Web Services are ever evolving, and it seems to me that there
> are way too many standards and
I would think that a session-scoped service would be a much greater
risk. Like an induced memory leak.
I would also think that typically, most of the consumed resources in a
"well-formed" DOS would be in the parsing of the XML, and the
serialization / deserialization. So the application code, db
You could always use the axis-admin task - this seems (!) to work, something
like the following:
on 28/1/03 5:26 PM, Nicholas at [EMAIL PROTECTED] wrote:
> Perhaps we need a temporary Ant task to do this until
> the Java2WSDL task is updated to support EJBs. The EJB
> provide
Yes, but what if use SOAP over a different transport protocol?
Just curious...
-Original Message-
From: Steve Parker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 1:01 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Web Service Model - Security Issues
i guess one wo
I think we should separate "security" from "DOS" attacks. The current web
services standards has sufficient "technical" coverage in security, it is a
matter of rate of adoption.
DOS attack is different. In fact, by looking at the complexity in security
processing, the hacker doesn't need to s
Hi,I have a problem with deserialization.I created a sample service which takes a java bean and returns "OK".It works fine with serializing and deserializing.
Now i placed a client side handler and server side handler to process the message.Client Handler:encryt the envelope into encrypt.xml and se
Norris,
Have you had success with consuming an Axis web service with .NET WSE 1.0
using attachments? I had issues with Axis not accepting all the extra Nodes
.NET places in it's SOAP envelope request.
-Original Message-
From: Norris Merritt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Januar
- Original Message -
From: "Norris Merritt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 11:09
Subject: RE: Interoperative attachments
> I've had success with the Axis 1.1 beta DIME support demonstrated in the
> echoAttachments sample (which also has a mode
Agreed. I was not thinking in terms of DoS attacks when I replied, more in
terms of authentication and authorization. All three (DoS, authentication,
authorization) are very distinct problems.
My apologies Nicolas if I caused any confusion.
-Original Message-
From: Ricky Ho [mailto:[EMA
- Original Message -
From: "Benjamin Tomasini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 11:12
Subject: RE: Web Service Model - Security Issues
> I would think that a session-scoped service would be a much greater
> risk. Like an induced memory leak.
>
- Original Message -
From: "Ricky Ho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 11:24
Subject: RE: Web Service Model - Security Issues
> I think we should separate "security" from "DOS" attacks. The current web
> services standards
Axis generally does no validation of responses against the XML Schema.
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Jason Winshell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 12:30 AM
To: [EMAIL PROTECTED]
Subject: schema validation of non-nillable e
Hi there!
Is anybody using the new Axis 1.1 beta
for production purposes?
I'm currently moving from Apache SOAP
to Axis and would like to know whether its better to jump in for Axis 1.0
or go for 1.1?
thx alot
Johannes
> -Original Message-
> From: Norris Merritt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 2:09 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Interoperative attachments
>
>
> I've had success with the Axis 1.1 beta DIME support demonstrated in the
> echoAttachments sample (w
I'd go for 1.1beta as it does fix some security issues, interop issues and
is a superset of axis1.0, with the caveat that there will be full 1.1
release along soonish
- Original Message -
From: "Johannes Fiala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 12:
Hi all,
I am getting the following error when I am trying
to run my application:
Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/axis/client/Service
But I put all the jars in the /lib
directory on the classpath.
The example in /samples/userguilde/example1 works f
If you have an binary type of attachment such as image/jpeg, then it has to
be Base-64 encoded if MIME is used
-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 12:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Interoperative attachments
> -Ori
Folks,
I originally used the method in the EchoAttachments
sample which did use MIME to send the attahcment --
but the WSDL identified the type as
"apachesoap:DataHandler" and didn't mention MIME in
the generated WSDL. Intuitively, this didn't seem
very interoperative.
Josh showed me how to ad
Title: RE: Interoperative attachments
It doesn't when transported over an 8 bit clean transport (such as http), although Apache SOAP would encode it anyway, don't know if axis does. But that is an implementation limitation, not an issue with MIME itself.
Cheers
Simon
www.pocketsoap.com
Nicholas,
We are always looking for people to pitch in and help make Axis better.
If you would like to add the support in Java2WSDL for EJBs, that would be great. If
you would like to contribute some documentation for how to use the EJBProvider, that
would be great too.
Doing both would pr
I would say that Axis should use an exact match before it uses one that requires
conversion. Have you tried this with something other than Object? This may be an
edge case that Axis isn't getting right.
Filing a bug report with a test case would be the next step after checking something
othe
This sounds like a bug to me, but it looks like it might be the WSDL4J code and not
the Axis code. You might want to try just using WSDL4J to see if it can read the
multi-part WSDL without throwing a null pointer exception.
Tom Jordahl
Macromedia Server Development
-Original Message-
Tom Jordahl wrote:
> I would say that Axis should use an exact match before it uses one that requires
>conversion. Have you tried this with something other than Object? This may be an
>edge case that Axis isn't getting right.
>
> Filing a bug report with a test case would be the next step afte
Trying the most recent working build might be worth it too - I could've
sworn I saw something like this mentioned on this list (by Davinum?) as
being fixed post-1.1beta? I could be imagining things, but it's worth a
try...
-Original Message-
From: Tom Jordahl [mailto:[EMAIL PROTECTED]]
S
- Original Message -
From: "Norris Merritt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 13:07
Subject: RE: Interoperative attachments
> If you have an binary type of attachment such as image/jpeg, then it has
to
> be Base-64 encoded if MIME is used
For em
You might also try getting a more recent wsdl4j.jar
We had some problems with our own use of WSDL4j parsing multi-part
(imported) WSDLs a while back that were fixed in part by moving up to a more
recent WSDL4j (looks like ours was built in 8/02 from the class files I see
in the jar file) among ot
Then posting a fix to the source in the bug would be an even better option.
Make sure it passes all of the functional tests ("ant all-tests").
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 4:3
If this is the case, then could you please file a bugzilla report requesting an update
to the wsdl4j.jar file in the Axis tree.
Otherwise this may get lost in the shuffle.
Thanks!
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Mike Burati [mailto:[EMAIL PROTECTE
I thought MIME used separators, which would mean it requires some sort
of encoding/escaping to avoid the separator appearing in data. How
*does* MIME handle delimiting parts?
- Dennis
Simon Fell wrote:
It doesn't when transported over an 8 bit clean transport (such as
http), although Apache
Title: RE: Interoperative attachments
MIME does use separators (called boundaries in MIME). The code generating the MIME boundary is required to guarantee that the boundary doesn't appear in the payload.
Cheers
Simon
-Original Message-
From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]
Mark, since you have a current test-case, if you find it (newer wsdl4j.jar)
fixes your problem with your particular wsdl import issue, can you log the
bug with the new wsdl4j version you tried that works? I checked with our
WSDL expert/owner here and our update was from a wsdl4j.jar we picked up
I tried building the Axis 1.1 Beta source and
debugging, and found that the Axis RPCElement class
was trying to find a best-fit method signature match
instead of an exact match. It thinks that it is OK to
convert a single instance of "MyObject" into an array
containing one MyObject element. So it
- Original Message -
From: "Dennis Sosnoski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 14:15
Subject: Re: Interoperative attachments
> Hmmm. So this means SOAP implementations that *don't* encode MIME
> attachments work as long as the data being sent doe
Ha ha ! You nailed me ! Sorry, I usually try and avoid
whining about this stuff [because someone always
volunteers you to fix what you were whining
about..]
Anyways, I would be happy to submit an update to the
docs.
Back in a mo, when I'm done.
//Nicholas
--- Tom Jordahl <[EMAIL PROTEC
The wsdl4j.jar was updated last in December by dims.
http://marc.theaimsgroup.com/?l=axis-dev&m=103944535612272&w=2
Vidyanand.
-Original Message-
From: Tom Jordahl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 1:57 PM
To: '[EMAIL PROTECTED]'
Subject: RE: WSDL2Java throws a N
hi,
does any one have an example of a web page form that invoke a simple service
for a demo. (using JSP)
Thanks,
Aria
-Original Message-
From: Akacem Mohammed [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 3:03 AM
To: [EMAIL PROTECTED]
Subject: SAXParser throws carriage retur
Yup, so no need for the bug report to update it then...
But note, that update is post-1.1beta so the test below wouldn't have been
using that update - let us know if updating to the latest AXIS build, or
just to a recent wsdl4j.jar if that's easier, fixes your problem Mark..
-Original Messa
There is already some docs on using EJB provider and using EJBs which
was submitted through bugzilla.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14287
It just hasnt made into the source tree yet :(
Vidyanand.
-Original Message-
From: Nicholas [mailto:[EMAIL PROTECTED]]
Sent: Tu
Thanks, its useful to know that MIME over HTTP doesn't require encoding of
binary attachments.
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 1:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Interoperative attachments
- Original Message
Hi ,
can RMI service provider classes which implement
java.rmi.Remote
be directly exposed as soap service/web service
using JAVA2WSDL without writing a wrapper class
and exposing it.
Thanks in advance,
sunil.
-Original Message-
From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]]
Sent:
I am using axis and wstk. I am writing some handlers for my service.when does serialization take place.for example:1) if a client handler is there in between,does the axis serialize before it reaches client handler.2)if a server side handler is there,when does axis deserialize using the typemapping
On the server side whatever handlers are present in the request flow
will process the message before the message reaches the provider. The
response message is then sent through each of the handlers that are
described in the response flow.
You can check out an example at
$AXIS_HOME/java/samples/u
Thanks for reply,but i need more info .
the handlers get it before the provider.when does deserialization take place?
before handlers, or after handlers and before provider.
Vidyanand Murunikkara <[EMAIL PROTECTED]> wrote:
On the server side whatever handlers are present in the request flowwi
81 matches
Mail list logo