Hi,
Ok, so I am trying to invoke a service that has attachments as
parameters.I looked at the test for attachments under java/test/mime.I
am wondering:
- Does WSIF use SAAJ API??
- If I am dealing with only SOAP bindings is it a good idea to use
SAAJ API??
Thank you
Back to the original question:
You can build a Web service using any of a variety of XML protocols, such as
SOAP, ebXML, XML-RPC, RosettaNet, or some proprietary protocol (e.g., UPS
offers a web service interface to UPS online based on a unique XML protocol
defined by UPS).
A SOAP service is a we
Is there a simple way to map an endpoint URL like /axis/aservice.asmx to the
JWS mechanism so that the client can continue to think it is talking to a M$
server?
I have a client that hardcodes the endpoint URL and I am trying to replace
the .NET server with an Axis server. (I can change the name
Thanks for taking a bite.
Believe it or not, 1 is the message that a GLUE client sends based on the
WSDL (which is GLUE generated). 2 is the message I've created with AXIS
based on my parsing of the WSDL.
Personally, I think that 2 is more correct than 1 - neither seems wrong -
but I'm not sure.
I tried parameter, but it complained about not having option. The servlet
mapping got me through the 404, but I am now getting a NoClassDefFoundError:
javax/ejb/EJBObject.
I am not using EJBs - any idea what could cause this error?
-Original Message-
From: Vidyanand Murunikkara [mailto:[
Jeehong Min wrote:
My question is: which is the correct serialization to XML based on
WSDL? 1 or 2 or both? (And why?) Fragment shown is from inside the
SOAP-ENV:Body.
1.
http://tempuri.org/soapservices.Echo";>
2.
http://tempuri.org/soapservices.Echo";>
http://www.theminde
think it should be parameter and not option under service.
-Original Message-
From: David Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: RE: deployment problem without .jws
Here is the deployment result in server-config.xml in
Can u try changing the servlet mapping entry to
AxisServlet
/services/*
This shld hopefully fix the 404
-Original Message-
From: David Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: RE: deployment problem without .j
Here is the deployment result in server-config.xml in webapps\axis\WEB-INF:
Seems simple enough, but does anything look suspicious?
-Original Message-
From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 12:38 PM
To: [EMAIL PROTECTED]
Subjec
Here are my servlet mappings from the web.xml file in webapps/axis/WEB-INF:
AxisServlet
servlet/AxisServlet
AxisServlet
*.jws
AxisServlet
/services
AdminServlet
servlet/AdminServlet
Seems to indicate that I should getting to the Axis Serv
You might want to try using Axis beta 1 or the latest source tree. You
might want to check out this thread
http://marc.theaimsgroup.com/?l=axis-dev&m=103774880029351&w=2
Vidyanand.
-Original Message-
From: Ma, Yongjie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:23 AM
T
Here are some fragments from a
WSDL:
http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.themindelectric.com/wrappers/">
...
...
In addition,xmlns:ns11="http://www.themindelectric.com/wrappers/"
soap:body use="encoded" with encodingStyle="http
You could have one instance of a singleton per classloader depends if the
class is 'visible' to the parent classloader.
Frank
-Original Message-
From: Daleiden, Mike [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: RE: AXIS App. Design/Arch
Singleton will work as well. You would only have one instance of the
singleton class PER JVM, not per thread. The biggest issue with a
singleton is making sure that its methods are thread-safe. The best way
to do this is to write very small, atomic methods and protect critical
sections of a meth
Axis 1.0 release and tomcat 4.1.18.
-Original Message-
From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:07 AM
To: [EMAIL PROTECTED]
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?
which versio
sounds good to me
On Fri, 24 Jan 2003 19:20:20 +, Nicolas Dinh wrote
> Will the Singleton work?
>
> Manager.getInstance() will be called by the 'Server' object during
> construction however, this construction will be called every
> time a session is started. This means that each Server
Will the Singleton work?
Manager.getInstance() will be called by the 'Server' object during
construction however, this construction will be called every time a
session is started. This means that each Server object thread will have its
own instance of the Singleton Manager object since it's
Axis is looking up a message in the message file and it can't find it.
See the file org/apache/axis/18n/resource.properties.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 4:16 AM
T
Thanks, but same "not found" problem...
AxisFault
faultCode: http://xml.apache.org/axis/:HTTP
faultString: Not Found
faultActor: null
faultDetails: [[#text: Not Found (404)
Not Found (404) Original request:
/axis/services/Product Not found request:
/axis/services/Product ]]
Any other idea
which version of Axis are u using ? I think there was a bug fix on this
post 1.0
Vidyanand.
-Original Message-
From: Ma, Yongjie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:08 AM
To: [EMAIL PROTECTED]
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
Who is making the Manager.getInstance() call ?
Is it simpler by just declaring the object class in "application" scope ?
Rgds, Ricky
At 08:25 AM 1/24/2003 -0700, Wes Devauld wrote:
The approach you can take is to create your 'Manager' classes as singletons.
The idea is to make the constructors
I tried it before, it didn't work.
-Original Message-
From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list from Client?
try placing t
Could you try using http://localhost:8080/axis/services/Product as the
URL
> -Original Message-
> From: David Gilbert [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: deployment problem without .jws
>
> I am runnin
I am running Axis beta 2 (pre 1.0) on tomcat 3.2.4 on Windows2000 and cannot
deploy a web service without using the instant deployment via .jws. I have
successfully deployed using .jws (using the URL
http://localhost:8080/axis/Product.jws in my client). Then I run a
deployment script: (product_d
try placing the wsdl in WEB-INF/classes and setting
/GetQuote.wsdl
Vidyanand
-Original Message-
From: Ma, Yongjie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service
This file was created by myself. I want to override automatically generate wsdl
feature.
-Original Message-
From: Ghershony, Arie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to Override '?WSDL' to generate WSDL file and How t
There is no file getQuote.wsdl.
-Original Message-
From: Ma, Yongjie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 12:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: How to Override '?WSDL' to generate WSDL file and How to
get web service list
"Brian Dillon (ext. 944)" wrote:
> So re-installing Tomcat and Axis (which is what I am in the middle of doing)
> won't get rid of the problem ? It sounds like my best solution may be to
> rollback Axis to verison1.0 (since I can't really create another service
> because of configuration issues) ?
it's a classic case of industry buzzwords. the best approach is to have
people give their definition of the term before assuming anything.
EAI is another... app integration could be done any number of ways, but EAI
usually implies that you use an integration broker middleware
On Fri, 24 Jan 2
James,
So re-installing Tomcat and Axis (which is what I am in the middle of doing)
won't get rid of the problem ? It sounds like my best solution may be to
rollback Axis to verison1.0 (since I can't really create another service
because of configuration issues) ? What do you think ?
Thanks,
Bri
Hi James,
I've been running some experiments with the Jabber transport for SOAP.
One thing that I'm hitting a wall with is that it seems like the
TypeMappings aren't being registered properly when serializing the
response message.
I can deploy the app with exactly the same axis.jar files using H
"Brian Dillon (ext. 944)" wrote:
> What I am tying to figure out what is checked agains what, that way I can
> try to find what has changed (this service used to work fine).
I think it was due to a change in axis, but I don't know when it began to
fail.
The only solution I have found is to t
I still did not get it.
I played it using CATALINA_HOME/webapps/axis/WEB-WEBINF/classes/samples/stock example,
and I put GetQuote.wsdl in same directory too.
In the deploy.wsdd, I defined:
full_path_to_wsdl_file
.
After deployment, I can get custom wsdl file successfully from ?wsd
When I have a class that is in a package and I deploy using .jws I get a
class not found error. The class is compiled and put in the package
directory, but it appears that Axis expects it to be in the same directory
as the .jws. Is this a correct understanding and thus a limitation of .jws
deploy
Ben is exactly right, and big companies use marketing hype to blur the
use of the terms, everyone from Adobe to Oracle have stated they
use/have "Web Services" and they aren't necessarily talking about SOAP.
Michael Oliver
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone:(520)574-1150
Last cross-posting, i promise...Added a IRC section on the web site. Anyone can use
this channel
to discuss web services related topics. Drop by if you have any questions.
Thanks,
dims
--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Folks,
>
> Please visit http://ws.apache.org. Subscribe to g
Sorry for the cross post!
This announcement is now on the O'Reilly Weblog page -
http://www.oreillynet.com/weblogs/
Kevin
Hi,
I am trying to depoy a service in axis (I have had services deploy for me
before but lately things seem to be going backwards rather than forwards).
When I go to invoke on the service or click on the wsdl using;
http://myserver:8080/axis/services/Garage/TestService1?wsdl
I get an exception
Folks,
Please visit http://ws.apache.org. Subscribe to general mailing list. Let's start
rockin'...
Thanks,
dims
=
Davanum Srinivas - http://xml.apache.org/~dims/
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://
Hi,
(I sent this before but it didn't seem to get through)
I am trying to depoy a service in axis (I have had services deploy for me
before but lately things seem to be going backwards rather than forwards).
When I go to invoke on the service or click on the wsdl using;
http://myserver:8080/axis
Wes,
Though this list isn't intended for servlet discussion...I'm fairly certain that there
is (by default) exactly one instance of a servlet produced by an application server
(unless you go the SingleThreadModel route). I think the servlet specification will
back me up on this one: http://www
Yes, and remember to make the getInstance() method static so you can call it
before the class has been instantiated.
On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote
> The approach you can take is to create your 'Manager' classes as singletons.
> The idea is to make the constructors
Yes, and remember to make the getInstance() method static so you can call it
before the class has been instantiated.
On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote
> The approach you can take is to create your 'Manager' classes as singletons.
> The idea is to make the constructors
Yes, and remember to make the getInstance() method static so you can call it
before the class has been instantiated.
On Fri, 24 Jan 2003 08:25:41 -0700 (MST), Wes Devauld wrote
> The approach you can take is to create your 'Manager' classes as singletons.
> The idea is to make the constructors
Hi,
WSIF version 2.0 RC4 is now available off http://xml.apache.org/axis/wsif.
This is likely to be the final release candidate and promoted to the 2.0
release shortly.
Thanks,
WSIF development team.
Firstly I don't think there is only one instance of a servlet for all calls
to a web context. The reason all member variables are static is because it
does create several servlets. With Servlets you do have to deal with
mulitple threading issues.
Second, MessageContext.getCurrentContext does co
I agree with you and I'm reading the Axis source code. I checked your
site several times and found a lot of useful information. Can I ask you
a big favour: put a tutorial there about how to write custom
serializer/deserializer. That would benefit all of us here. I'd like to
contribute once I fi
Two questions:
1) Like servlets, is there exactly one instance of the service I've exposed via axis?
2) If so, can I operate under the assumption that MessageContext.getCurrentContext()
directly correlates to the current request? Much like Thread.currentThread()?
Thanks!
Cory
The approach you can take is to create your 'Manager' classes as singletons.
The idea is to make the constructors for the class private and then use
Manager.getInstance() like calls to get a hold of the object. An example
class Manager {
private Manager theOne;
private Manager() {
Hi,
This is my first time designing and implementing a system on AXIS.
I'm trying to design an application that will require the use of such resources as sockets, database connections, file I/O. If i'm not mistaken, whenever I invoke a method on an object that is running on top of the AXIS servlet
I've found the beginning of a solution for this problem, but I still
have questions.
Now my server code looks like :
try{
...
} catch (MyException e) {
String code = "Server";
String faultString = "The following exception has been raised by
the server : " + e.getCl
ClassNotFoundException means that he cant find the class you are pointing on
in your deployment. In this class StockQuote.
Asure that this class is reachable by axis (classpath) or delete the entry
from your wsdd-file.
hope it helps
-Ursprüngliche Nachricht-
Von: Ghershony, Arie [mailto:[
Make sure that com.wrox.jws.stockquote.StockQuote is in the classpath of the context
to which you're deploying your service.
Cory
-Original Message-
From: Ghershony, Arie [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 8:28 AM
To: '[EMAIL PROTECTED]'
Subject: service deployment
I am trying to deploy a service.
can any one help me with that error:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - java.lang.ClassNotFoundException: com.wrox.jws.stockquote.StockQuote
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userExceptio
Classpath for the particular service running in Tomcat. You can place it in
service/WEB-INF/classes for instance, or within a jar in the lib directory.
> Does this mean relative to the classpath at the time the service is
> deployed into axis using AdminClient on a wsdd file, or some classpa
Hi,
I would like to share your ideas about exception handling in WS.
When I use a user-defined exception in my service method, I just got the string format
of the exception, but not the exception object with the encapsulated attributes.
I can surely understand, that such a exception class makes
Hi,
I have a very simple method called
public void hello(String name);
When I tried to invoke this method, everything seems fine when I just use
call.invoke(new Object[] {"World"});
But if I call
call.addParameter("name", Constants.XSD_STRING, ParameterMode.IN);
before the invocation, I am force
you just have to define the handler in -tag of your
client-config.wsdd
example:
hope it helps
Greetings from Hamburg/Germany
Seppo
-Ursprüngliche Nachricht-
Von: Lars Girndt [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 24. Januar 2003 11:26
An: [EMAIL PROTECTED]
Betreff: han
hello,
is it possible to attach a handler to the clients response flow and if it is,
how do i do it.
i want to receive a soap attachment part which i successfully added to the
soap message on the server side via a handler. now i want to do it the same
way on the client side.
thanks,
lars girnd
> Hi,
>
> Is there anyway in the WSDD to specifiy extra 'user' configuration which
> is needed by a SOAP application. For example the '' in ejb
> provides this for EJB applications;
>
>
> UserEntry
>
> java.lang.String
>
> SomeStr
Hi,
When I try to run a client against a deployed SOAP service I get an
exception with the following error;
Error:
com.fineos.ta.test.driver.OTestCases.PersistenceTest.PersistenceTest_0001jav
a.lang.reflect.InvocationTargetException: AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userE
61 matches
Mail list logo