Was your non-JWS service relying on namespace mapping to do dispatch? (i.e. were you
calling it by using the "axis/servlet/AxisServlet" URL?)
If so, there was a bug in the namespace mapping code which allowed undeployed services
to be accessed. It has been fixed (Monday I think). Try tonigh
Axis can do this already to some extent:
FileInputStream fis = new FileInputStream("some.xml");
// The 2nd arg being "true" here causes the engine to interpret the
// input stream as the body contents.
Message msg = new Message(fis, true);
...use message...
Unfortunately, our serialization impl
Jim...
You are correct. With JAXM, you send the whole enchilada (envelope too).
Maybe this helps Steven, maybe not.
Stan
- Original Message -
From: "James McCarthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 5:27 PM
Subject: RE: document-style messaging and
hello,
i've created a JWS & NONJWS based web service
& have deployed NONJWS web service
both are working perfectly
but even after i undeploy the NONJWS web service
my client is able to place calls to it, why
how can i restrict my client to use that service
pl. suggest
VINK
thanks for your reply!
When using http://localhost:8080/axis/services/LogTestService,it works,
but when I take on ?wsdl and ?WSDL to the URL, there is nothing in the
Browser,and I also check the temp file and find that its size is zero.
So I turned to command line and wanted to find the .wsdl f
I try to generate Java stubs out of an WSDL file, using WSDL2Java from
axis alpha3. I use the example in the user guide:
java org.apache.axis.wsdl.WSDL2Java AddressBook.wsdl
but I keep getting this error:
java.lang.NoSuchMethodError
at com.ibm.swdl.xml.WSDLReaderImpl.parseDefinitions(Unkown
SOAP and XML-RPC are two different "animals" with XML-RPC sharing the same
goal as SOAP-RPC. Yes, SOAP-RPC is only a subset of SOAP, though a fairly
large one.
Do a search on Google to get more details.
/Pankaj.
-Original Message-
From: Monika Solanki [mailto:[EMAIL PROTECTED]]
Sent:
Stan,
I am not sure you can do this with JAXM. Unless I am mistaken the JAXM API
requires that you send the entire SOAP content as an input stream. I am
surprised that neither API allows you to specify just the BODY portion as an
input stream. Did I mis-read JAXM or is this the case?
Jim
Symmet
HI all,
I have a trivial question for the community (I am
fairly new to the area of web services).
I have read in one of the FAQs about web services,
that the two protocols currently used for XML messaging are
1. XML- RPC.
2. SOAP
I am confused here. Are they two entirely separate
th
To recap:
Java2WSDL takes a -p parameter that allows you to map
namespaces to package names.
Can anyone send me a complete example of a Java2WSDL
command line that has worked for them on Windows?
I've tried every permutation that I can imagine
including using -PkgtoNS and still no luck. someti
Also,
sun.tools.javac could not be found either.
While compiling
axis/attachments/ManagedMemoryDataSource.java, I got the following warning. I am wondering could
that be fixed in the Beta1 also.
Thanks,
-June
=
367.
Dear
AXIS development team,
I am
trying to rebuild the whole package bottom up. I noticed that javax.servlet
package is not included either in the axis.jar nor in the source code. But it is
used somewhere. Do you plan to include it for beta1 release
?
Thanks,
-June
Glen...
You are correct. Works perfectly with nightly download 3/12/02. Kawabunga!
Thanks for all your fine efforts!
Cheers.
Stan
- Original Message -
From: "Glen Daniels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 3:18 PM
Subject: RE: WSDL2Java interop is
I installed the beta RC 1 with Tomcat 3.2.1 and was able to run
the samples/userguide/example1 and example2 fine. They are both
.JWS examples.
But running example 3 (which uses a .wsdd file), after deployment, I get:
java.lang.ClassNotFoundException: samples.userguide.example3.MyService on
the
Stan,
As you use Axis Beta rc1did you get any problems to deploy a this service ? Does the AxisServlet updates correctly the WEB-INF/server-config.wsdd file ?!
I got all the time - Could not write engine config!org.apache.axis.ConfigurationException: Engine configuration is not present or
Try the current CVS. This works fine for me.
> -Original Message-
> From: Stan Jordan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 12, 2002 5:02 PM
> To: [EMAIL PROTECTED]
> Subject: WSDL2Java interop issue again (style="document")
>
>
> There are still interop problems with WSDL
There are still interop problems with WSDL2Java... For this service,
WSDL2Java creates stubs that compile fine, but the client fails...
http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService
/VB/MathService.asmx
This is sort of a "Hello World" example of .NET Web Services.
Thanks Scott,
Don't worry about he connection refused problem. You were right, something
wasn't running properly ;)
Eddie
- Original Message -
From: "Newman, Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 2:21 PM
Subject: RE: Getting started
> Hi Edd
Hi, AXIS/SOAP experts.
In one of our web service method, if certain conditions exist, we need to do
something like "response.sendError(SC_NOT_FOUND)" for the load balancer to
catch it. Since our method is getting called by AXIS, we do not have access
to the response object in our java code. How c
How does AXIS allow you to use a backed implementation class (the class
backing the service) when that class' constructor takes arguments? Is
there any way to do this?
---
Corbett J. Klempay
Trilogy
512.874.5176 (W) | 512.750.1372 (C)
[EMAIL PROTECTED]
Steven...
Good question. You can do this with JAXM, and I would speculate that Axis
may eventually
support too.
Cheers.
Stan
- Original Message -
From: "Steven Gollery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 10:32 AM
Subject: document-style messaging an
I've been working on a service that uses document-style messaging to
return an XML file as the body of the message: I parse the file into a
Document and return that as the return value of the service (I'm using
alpha 3: I know that in the nightly build I would be sending the root
element as the fi
I went to a different linux box and installed a
different tomcat server (3.3) and brought in axis,
copied /webapps/axis to $TOMCAT_HOME/webapps..
connected to tomcat server and it's serving examples
that run ... (took me seven tries for hi-lo)
connected to axis server and it's running too
cd'd
Yes ... now it works for me too ... merci Yann!
__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
- Could not write engine config!org.apache.axis.ConfigurationException: Engine configuration is not present or not WSDD!
What does it mean Engine configuration is not present or not WSDD ???
I hard-coded the path to the server-config.wsdd in the DefaultEngineConfigurationFactory.java file.
thanks
May this option have been broken recently? I do not see any differences on
the request between setting it to true and false...
It allways sends the refs encoding.
--
Sylvain
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or a
Title: RE: Array deserializer (was: [WSDL2Java] No deserializer defined for array type http://[.. .]/: QueryProperty)
Arggg
It
appears to be fixed now. Somehow when I changed my jars to the one with
the debug info. The bug disapeared. ??? The only
thing I can see is that I had a f
Hi,
I need to be able to generate a Complex type that will be sent in
the SOAP Header.
WSDL2Java ignores the type and Header message even tho it is present
in the WSDL.
Has anyone else attempted to generate code using the tool for this
purpose?
Cheers
Jas
+===
Good suggestion. I'll get it into the beta.
Russell Butek
[EMAIL PROTECTED]
"Token Scotsman" <[EMAIL PROTECTED]> on 03/12/2002 08:38:19 AM
Please respond to [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc:
Subject:WSDL2Java and javadoc comments - why not?
Hi there,
I am using WSDL
Dear Axis team,
you're really doing great work with Axis.
During my tests, the calculator example (userguide/example2) did not work. The
result returned was always "null".
I found that the following line was missing :
call.setRetu
That's a cryptic way of saying you are having problems accessing the
service. The client is expecting a SOAP message but is getting something
like Error 404 (url not found). Plug the url you're using into a browser
to see what the error is.
Russell Butek
[EMAIL PROTECTED]
Christian Erhardt <[
Hello,
i have a problem with axis
beta-rc1 and Tomcat 4.0.1.
the Axis service seems to
work (The AdminServlet tells me that the server is running).
But every time I try to
connect to the Servlet via the CalcClient I get the following error message:
Exception in thread
"main" o
Hi there,
I am using WSDL2Java from your axis project (thanks for the tool) and
all is working well for me.
I'm just wondering though why descriptions of functions from my web
service end up as regular comments in the generated java files? E.g:
package com.foo.ws;
public interface Fo
I'd suggest saving the WSDL from ?WSDL, seeing if there's anything
obviously wrong with it. Then running WSDL2Java on that file and seeing if
you have the same problems. Also, try running Java2WSDL directly on the
interface for MyService.
Could you send us the MyService interface and the W
I've noticed a few posts that says you should also have them in
tomcat/common/lib. Mine are there and it is working, but I never tested it
without having them there. Seems to make sense that they should be there
though, otherwise they won't be seen by tomcat. (me thinks)
Scott
-Original M
herve wrote:
>It sounds to be a connection issue
>I have a innocent question :
>Did you start and deploy axis with Tomcat before
executing the Adminclient command ? ;-)
When I access axis with browser, I can turn on and
turn off the axis server ...
The server is definitely turned on and I s
hi,i'm trying to send files via soap.i
tried it with byte[], but there are problemswith big files. ( up to 20 mb
)has anyone an idea why it isn't possible tosend big byte arrays.or
has someone a better idea to send files?
thank you very much
carsten
It's called Building Web Services with Java ISBN:0-672-32181-5, but, keep in
mind that although it's a new book, as Doug Davis said (one of the authors)
that the api's are still in flux, so I'm not sure if buying this book would
be a step in the right direction because of that. To tell you the tr
Hi Eddie
I just usually search the mailing lists at apache. The best solution
usually is to post it up here for someone to help you. That worked for me.
As for you connection refused, I only get that when trying to access a web
service when tomcat or the apache http server isn't running.
W
Title: BEA WLS LogConfigurationException
Try to use RC1 with BEA WLS6.0sp2
Following User's Guide
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide.html
lead to:
<[WebAppServletContext(8358178,axis
)] Servlet failed with Exception
java.lang.ExceptionInInitialize
hello,
i've created a WebService, initially as JWS
which is working perfectly
my directory structure:
MyProject\MyService.jws [For JWS Service]
MyProject\MyService.wsdd[For NONJWS Service]
MyProject\WEB-INF\classes\MyService.class [For NONJWS Servic
Title: RE: TCPMON Utility
Make your target to be this: nagoya.apache.org
Target port: 5049
Listening Port : 8080
and then invoke the client to the machine where TCPMON is running, if local, on the URL http://localhost:8080/axis/servlet/AxisServlet
I would guess your client is just talking dir
Which book are you talking about and where can I find it ?
Ed
>From: "Newman, Scott" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: Getting started
>Date: Mon, 11 Mar 2002 09:29:09 -0500
>
>Hi Dug
>
>Yeah, it confused the heck out of me for a while. Kinda
Scott,
Thanks so much, indeed I had the exact same problem as you had :)
I know have it deployed, only do I now have an Connection refused exception
with the client, but I think I figger this out.
It is only difficult to find the correct information/reference guide about
the usage of Axis. Wher
Hi,
C:\>java org.apache.axis.wsdl.Wsdl2java
http://localhost:8080/axis/services/MySe
rvice/?wsdl
org.xml.sax.SAXException: Fatal Error:
URI=http://localhost:8080/axis/services/M
yService/?wsdl Line=2: there are illegal characters at the end of file £¬
<£»¡£
what's wrong?
simon
___
I am trying to see the soap messages for the "Test Client" in the
usersguide with the TCPMON tool. I have configured it as:
listener:8080
target:: http://nagoya.apache.org:5049 [also tried with
http://nagoya.apache.org:5049/axis/servlet/AxisServlet ]
target port: 5049
when I run the client, it
46 matches
Mail list logo