Dear all,
I just downloaded IBM WSTK-3.0.
There is a module called wsldgen.sh. But it is deprecated. I should use
Java2Wsdl instead.
However I can use the following
command to generate a WSDL file. It seems to be the service interface file. As I
learned, wsdlgen.sh is able to generate th
- Original Message -
From: "Evan Jehu" <[EMAIL PROTECTED]>
To: "axis user mailing list" <[EMAIL PROTECTED]>
Sent: Monday, April 01, 2002 8:13 PM
Subject: pass by reference in Axis
> Is it possible to pass a remote reference using SOAP and Axis? I would
like
> to establish a publisher-s
Can anyone give a clue as to what's going on here? If I try to use any of
the AdminClient commands I get this 'could not get DOM' error:
D:\jdev\soap\xml-axis-beta1\samples\userguide\example3>java
org.apache.axis.client.AdminClient -p list
- AxisFault: AxisFault
faultCode: ns1:Server.userEx
Hello ,
i hope anyone can help me
The problem is that I get'nt back any attachment I send to axis.
I always get the message in tcpmon
Internal server error
No data
I have activation.jar and mail.jar at the classpath...
Any ideas
You can see also what WebLogic Workshop (formerly Cajun) does with
callbacks.
There is a 30 days trial on their website.
However, I don't think it is possible to do so with Axis.
Moreover doing so with http means that the client must be running in a web
server
I you use polling as an alternativ
Can someone give me an example of wrapping an EJB
Session Bean as a web service. Especially how to write the deploy
descriptor. I'm new to web services and loving what I see, just I cannot
find information on how to do this.
I am new to Axis and can't seem to resolve the error below when running the purchase
order example in the users guide.
I am using Catalina as my server. Thanks for your help.
NamespaceURI: urn:BeanService Error : org.xml.sax.SAXException: Deserializing
parameter 'arg1': could not find deseria
Are you trying to use utilities in WSTK or
Axis?
By default Java2WSDL in Axis generates a single
WSDL file that descriptions the interface AND location of a web service. To
generate two files, one describing the interface and one describing the
implementation, you have to invoke it twice,
I see two options.
1) modify the generated stub to do this
2) use an Axis engine on the client-side with a request handler that
encrypts and a response handler that decrypts (I've never used client-side
handlers before, only read about them.)
- Original Message -
From: "Michael Schwarz" <
Dear Mark,
Thanks so much for your help! You
have given me many good ideas!
Have you ever installed IBM UDDI
Registry on your local machine? I tried it right now. I have installed IBM HTTP
Server 1.3.19, DB2 7.1, IBM WebSphere Application Server 4.2 and Netscape
6.1 successfully. All the
What we did was override the client side deployment descriptor file to
define a global handler that signs the request. I don't recommend modifying
the stubs since you have to remember to modify them every time.
-Matt
- Original Message -
From: "Mark Volkmann" <[EMAIL PROTECTED]>
To: <[EM
The parameters I want to encrypt are serialized in the
Call.invoke() method. But this method send's the Request at the
same time. Futher i dont want to change the client stub.
But, thank. I will check your second option.
- Original Message -
From: "Mark Volkmann" <[EMAIL PROTECTED]>
To:
Hello guys..
the same problem again and again. I get a lot of error messages when I
try the attachment example... What I am doing wrong... ?
Iam sending the messages in two ways: one using the commandline...like
java samples.attachments.EchoAttachment C:\attach\attach.txt
then i get
Internal Ser
hi there,
I've checked out the release notes of beta1, but no info about this.
Since WSDL allows mime binding, let me ask if this feature is not
implemented, not yet.
I've successfully deployed the attachment sample. It works, but when I
ask for the wsdl through the url:
http://localhost:8080/ax
Do you have a code example ?
- Original Message -
From: "Matt Baldree" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 2:33 PM
Subject: Re: axis and cryptography ?
> What we did was override the client side deployment descriptor file to
> define a global handle
For brevity:
Set the system property "axis.ClientConfigFile" to the
location of your WSDD client side file. For us, the
WSDD file looked something like this -
http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
W
On Tue, 2 Apr 2002, Steve Loughran wrote:
> > Is it possible to pass a remote reference using SOAP and Axis? I would
> like
> > to establish a publisher-subscriber style relationship between a client
> > (which implements a listener interface) and an Axis web service.
> >
> > I have created the
Would it be possible to do something like SOAP over Jabber (the open source
chat system) this could allow a 2 way 'conversation' between the client and
server?
If you think that could work? is so any thoughts on how it could be
implemented?
Evan
- Original Message -
From: "Jim Dixon" <
Hi,
Anyone else trying to get Beta1 to run on SilverStream 3.74? Reading through
the mailing lists I believe I am having similar issues to the problems as
those from ServletContext.getRealPath in WebLogic. The stack trace I am
getting from the "Administer Axis" link on index.html is :
java.lang.
On Tue, 2 Apr 2002, Evan Jehu wrote:
> Would it be possible to do something like SOAP over Jabber (the open source
> chat system) this could allow a 2 way 'conversation' between the client and
> server?
>
> If you think that could work? is so any thoughts on how it could be
> implemented?
The or
For the client, I have turned off multirefs. The schema defines some
values as type xsd:anyType, but the client serializes the type as
xsd:anyType instead of its true type. Then the server returns a fault
being unable to deserialize anyType.
e.g.
collapseWhiteSpace
true
Hi Glen...
Attached is a simple example of stateful web service. When I built this,
the thing that surprised me is that I need *both* this line in the
deployment descriptor:
and this line in Client.java:
call.setMaintainSession(true);
If you say that's "normal", then I will accept that. I
Hi,
I'm running the beta1 version which I deployed on Oracle OC4J ( a version of
Orion).
When I run the AdminClient to do a list I get the following error on the
server side:
- Exception:
org.xml.sax.SAXException: Fatal Error: URI=null Line=1: :
XML-0124: (Fatal Error) An attribute cannot appea
Sorry, I may have become sidetracked.
Passing the clients IP/FQDN:port to the server to allow callback would
effectively make the client a web service in itself? To set this up would I
need to run the axis servlet (and servlet engine) on the client side as
well, or is it possible to run a more m
Hi
where can I find the DTD for the deployment descriptors in Axis please
Ramzy
Title: RE: deployment descriptor
Download the source for Axis and look in the java/wsdd directory.
You'll find both a DTD and an XML Schema there.
> -Original Message-
> From: Ramzy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 9:20 AM
> To: [EMAIL PROTECTED]
> Subject:
Title: RE: deployment descriptor
Both
of which are, alas, way out of date. Sigh. This is on my list, but
keeps getting bumped due to higher-priority stuff.
--G
-Original Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 02, 2002
10:36 AMTo: '[EMAI
I'm new to AXIS and desperately need help as we
have a project that requires Web Services. Is there any books available
that can give me a really good understanding of Web Services (hopefully with a
focus on AXIS) and how to do things like stateful Web Services that are
specific to each cli
Building web services with java. Isbn:
0-672-32181-5
Api's may be a little out of date,
but nonetheless a good resource.
Newman
-Original Message-
From: Adam Greene
[mailto:[EMAIL PROTECTED]]
Sent: 02 April, 2002 10:57 AM
To: [EMAIL PROTECTED]
Subject: Any good books
Title: RE: deployment descriptor
There's some syntax in the DTD that I don't
understand.
For
example,
It seems that a lot of those parens aren't
necessary.
Also,
I've never seen a solitary * in a DTD.
I
don't think that's a valid way of saying that any element can follow the handler
eleme
Hi
I can
recommend "Building Web Services with Java" by Steve Graham and
more..
It has
been very helpful for me to read.
It
describes Axis (but the alpha not beta version).
Lene
-Original Message-From: Adam Greene
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 02, 2002 10:
Title: RE: Any good books
I recommend Building Web Services with Java: Making Sense of XML, SOAP, WSDL and UDDI
by Steve Graham, Simeon Simeonov, Toufic Boubez, Glen Daniels, Doug Davis, Yuichi Nakamura, Ryo Neyama. I'm going to be teaching a course on web services soon and I've selected that
Adam,
The book "Building Web Services with Java" is unique in that it covers Axis,
albeit it an earlier version.
Alan
Building Web Services with Java: Making Sense of XML, SOAP, WSDL and UDDI
by Steve Graham, Simeon Simeonov, Toufic Boubez, Glen Daniels, Doug Davis,
Yuichi Nakamura, Ry
An O'Reilly book was published within the past week
"Java Web Services" but I have not seen it. May not be in the bookstores
yet.
- Original Message -
From:
Newman,
Scott
To: [EMAIL PROTECTED]
Sent: Tuesday, April 02, 2002 8:57
AM
Subject: RE: Any good books
Greetings,
I can't follow the
instructions for using tcpmon. It says to select a "local port" to
monitor.
Tomcat is configured
to port 8080. Isn't that the port I want to monitor? When I do
that,
I get a bind
error.
What do you mean by
" target host where it will forward such connec
In the first textbox, set it to listen to
port 8181, and in your code, sent the request to that port, not 8080. In the
second textbox, is where the call that you sent to 8181 will be forwarded to.
It got me as well.
Newman
-Original Message-
From: Walden Mathews
[mailto:[
Hi Walden,
I just figured this one out.
You create a local port at whatever number you like, say 5000.
You then give this port a 'forwarding address' to Tomcat.
e.g. host = localhost and port=8080
then in your client code you alter your url so it uses localhost:5000.
So your port 5000
I
haven't used tcpmon, but have used the similar TcpTunnelGui. The
monitor acts like a proxy, and will forward all of the soap traffic to port 8080
for you. You need to tell it to listen to an arbitrary port number, say
4321. So your soap client must connect to port 4321, not 8080. The
From
the previous replys, it looks like there is a unanimous choice. I
purchased O'Reilly's Programming Web Services with SOAP about two months
ago. I would say this book is marginal, and would not recommend it.
It was enough to get me going with Apache SOAP, but quickly left me wanting
Amen to Pete R. The book is okay, but
rather thin, and from the looks of what you are trying to do, it will not help
much.
Newman
-Original Message-
From: Roumeliotis, Pete
[mailto:[EMAIL PROTECTED]]
Sent: 02 April, 2002 11:28 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Any g
Hello all,
I am trying to understand how fault handling works within axis (with
tomcat). I have a service, and it throws an exception. When I deploy the
service, the exception is also seen on the client. It appears in the wsdl
as the 'fault msg'.
HOWEVER - when thrown, it seems that the exc
Well
I would like to recommend it if you want to have a quick overview about web
services, but not if you are looking for some user guide to any toolkit. This
book actually gave me a good understanding of web services.
Roman
-Ursprüngliche Nachricht-
Von: Roumeliotis, Pete
[ma
On Tue, 2 Apr 2002, Evan Jehu wrote:
> Sorry, I may have become sidetracked.
>
> Passing the clients IP/FQDN:port to the server to allow callback would
> effectively make the client a web service in itself?
Indeed.
It isn't clear exactly what you are trying to accomplish. The key
question is w
Another book is Professional XML web services from WROX. It covers SOAP
basics as well as Apache SOAP 2.2, UDDI and other tools. It has also shown
SOAP implementations with Perl, Python, C++, .Net and Microsoft SOAP toolkit
2.0.
It's
good book as you can use Java to develop SOAP server sid
Okay I give
up. I'm trying to run the simple jws example (Calculator), and I
keep
getting a runtime
exception, both from the client and from tomcat. It
literally
says "compiler
found", but I suspect it means "no compiler found".
JAVA_HOME\lib\tools.jar
is indeed on every
classpath you
When
registering these in a WSDD descriptor, are you allowed to register
either
1) a
class that implements Serializer/Deserializer
2) a
class that implements SerializerFactory/DeserializerFactory
?
***
WARNI
Robert -
You description sounds correct.
See /samples/message or /samples/proxy for examples of how to perform
XML document based messaging.
Another way to pass an XML document over the wire would be to use an RPC
call with a String argument whose value is encoded in XML. The string
would then
- Original Message -
From: "Evan Jehu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 7:11 AM
Subject: Re: pass by reference in Axis
> Sorry, I may have become sidetracked.
>
> Passing the clients IP/FQDN:port to the server to allow callback would
> effectivel
Barbara -
The Axis framework currently does not map custom fault objects. If you
do not throw an AxisFault, the framework will only map the base
exception message (i.e. e.getMessage()). The faultcode and faultmessage
will be set to a default Axis constant.
Is the problem that you can't catch
- Original Message -
From: "Jim Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 6:10 AM
Subject: Re: pass by reference in Axis
> > do you meant that you want to do callbacks from a SOAP service to the
> > client?
> >
> > If that is the case there is no ea
Ramon,
I have the same problem -- I've been hoping that someone with more Axis
experience than I have would jump in and either tell us how to do this
or confirm that it can't be done for some reason.
The only solution I've been able to come up with is one that you've
probably already considered
You have to put tools.jar in the classpath before start Tomcat
I had the same throuble with some tomcat old version in W2K.
I included it in the file \jakarta-tomcat-x-x-x\bin\tomcat.bat
and it work fine.
Walden Mathews wrote:
Okay
I give up. I'm trying to run the simple jws example (Calcu
I've had tomcat not stop executing,
even though I have stopped it through the batch file. Try stopping tomcat batch
file, go into windows task manager, look on the processes tab, and see if
tomcat.exe is still there. If it is, end the process, and restart tomcat. I'm
using 4.0.3 and hav
Ramon & Steve...
This is not quite the answer you want, but may send you in the right
direction. Take a look at this service:
http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService
/VB/MathService.asmx
The service is style="document" and provides four methods:
float Add
Hi all,
I
am getting very frustrated trying to get my axis web service that returns an
array to interoperate with a .net client.
I am relatively new to this so I hope that I am missing something
obvious. I haven’t been able
to generate the csharp proxies for my service. When
Hi all,
I
am getting very frustrated trying to get my axis web service that returns an
array to interoperate with a .net client.
I am relatively new to this so I hope that I am missing something
obvious. I haven’t been able
to generate the csharp proxies for my service. When
folks,
is there a condoned way to chain servlets (with
RequestDispatcher.forward()) from inside my web
service implementation?
Hozefa
Not sure about "List", but if you can live with an "Object[]",
the attached WSDL works (your WSDL hacked so that .Net wsdl
compiles it).
Maybe it even works with "List", give it try, you never know.
In any case you'll get an "object[]" on the .Net side.
Why this WSDL works and not the one genera
Hello,
did anyone know what I am doing wrong by sending an attachment ??
These are the error messages I get ,when Iam trying to send an
attachment.
Where is the bug ?? My environment ?? Any ideas ??
java.lang.IllegalArgumentException: java.lang.ClassCastException@9fa8f
on object "samples.attac
Hello,
Got it !!!
The typemapping from the attachdeploy.wsdd was not correctly deployed at
my axis server.
Greetings
I need more detail...
what do you exactly mean with "system property" ?
com.acme.SignMessageHandler is the handler class created by you ?
what means "to use a delegate" ?
I hope, I'm not to stupid...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL P
61 matches
Mail list logo