OK, either this is a very stupid question, or I'm the first person in
the world to ever think of standardising a Java API for serialising
complex parameters.
Should I write a patent to cover this new idea, or will someone please
help to put me out of my misery?
easterguest wrote:
I'm in the pr
Make sure both activation.jar and mail.jar are in your classpaths .
James
"Sivakumar Jagadeesan" <[EMAIL PROTECTED]>
01/04/2004 23:01
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
No serializer found for class javax.activation.DataHandler
I was able to deploy th
Hi
The samples aren't on the classpath.
To do that , just add something like ;%AXIS_HOME%/samples
to the end classpath declaration - that should see you right.
James
[EMAIL PROTECTED]
02/04/2004 04:35
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Classpath help?
Hi there
From your stack trace it looks like the error is
happening here:
OpenDBLPClient.OpenDBLPBindingStub.searchPerson(OpenDBLPBindingStub.java:484)
Do you call your web service directly from your JSP
(through a service singleton)..
Check the stub and line number 484, to see if
there
Hi-
I'm a newbie trying to get Axis 1.1 going on WinXP with Tomcat 5.0, and j2sdk1.4.2_03.
I can get the Happiness page up just fine.
But when I try and run the samples from the command line, I get:
Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/exa
mple1/TestClie
Hi All,
I'm having trouble creating an appropriate WSDL file to create a
service that returns a large set of binary attachments.
I've been trying to combine what I could pull from the documentation on
WSDL2Java with the info in the very useful article:
Web services programming tips and trick
I was able to deploy the web service and connect using the SOAP in
Tomcat4.0.3. When I deployed to Websphere 4, I was able to get the axis
page.I was even able to get the List of deployed services. But when I click
the wsdl link , I am getting this error
[4/1/04 15:51:40:259 CST] 1ce2ad WebGr
Hi,
I built a web service via Axis.
Current I got this error.
When I try the system a few days ago, it was okay.
But, now it gives me the error even though I didn't modify anything.
I am working on public computer which my collegues share so I am thinking that something is modified by others.
Anywa
Hi All;
I have used WSDL2Java to generate server side skeleton code.
AXIS generates the following signature for one of the operations:
public org.w3.www._2001.XMLSchema.Any getEventProperty(javax.xml.namespace.QName PropertyRequest)
When i try to compile the code, it cant find the return type "org
I've done extensive searching on this subject, turning up a lot of questions
but few answers. Most of the questions/answers were regarding implicit
headers and WSDL2Java's failure to support them (in the past, I understand
that they are supported now).
I have an operation defined in my wsdl that
Miller, Janet wrote:
I am new to Axis and Web Services. I want to have two Web Services
available to consumers. I also want to have another main Java process
running all the time. Can the Web Services be set up so that they are
threads running under the main Java process or do they have to be
s
OK, but that got me thinking a bit more and now it works (and yes it was
my fault, D'oh!). It came down to a classloader (another thing add to
the list of things to fix) issue. Axis is running in a web application
on my web server, of course, in its own classloader. The Axis JARs were
in the WEB
I am new to Axis and Web Services. I want to have two Web Services
available to consumers. I also want to have another main Java process
running all the time. Can the Web Services be set up so that they are
threads running under the main Java process or do they have to be
separate JVMs? I will
I'm just getting my feet wet with Axis and web services. I've written a
simple little 'Hello World' type of service that I've deployed through Axis
on a Tomcat 5.0.18 server. Everything seems to deploy OK. When I try to
access this service from a dotNet client, I get the following:
Cl
Hi Tony:
> I am calling it during an active invocation on the server side (not sure
> how you would call it outside of an active invocation there?). I
> basically have a method in my service like this:
>
> public String getFile( String ) {
> // NullPointerException thrown here because
> AxisE
They are in the classpath.
>>> [EMAIL PROTECTED] 04/01/04 10:44AM >>>
I'll try this again...
You need activation.jar and mail.jar in the class path.
Yet another class path issue...it'll be the death of Java...I
hope...perhaps
J3SE can solve it before we move on to something better!
Jeff
I am calling it during an active invocation on the server side (not sure
how you would call it outside of an active invocation there?). I
basically have a method in my service like this:
public String getFile( String ) {
// NullPointerException thrown here because
AxisEngine.getCurrentMessage
I'll try this again...
You need activation.jar and mail.jar in the class path.
Yet another class path issue...it'll be the death of Java...I hope...perhaps
J3SE can solve it before we move on to something better!
Jeff
- Original Message -
From: "Tony Thompson" <[EMAIL PROTECTED]>
To:
Hi Tony:
> So, I am back to my original question. Why does
> AxisEngine.getCurrentMessageContext() return null?
It returns null if there isn't a current MessageContext.
When are you calling it? If you're calling it outside the context of an
active invocation, you won't get anything because the
OK, this looks pretty much like what I am doing but, this line throws a
NullPointerException because getCurrentMessageContext() returns null:
Message rspmsg =
AxisEngine.getCurrentMessageContext().getResponseMessage();
So, I am back to my original question. Why does
AxisEngine.getCurrentMessageC
Yeah, you need activation.jar and mail.jar in the class path.
Yet another class path issue...it'll be the death of Java...I hope...perhaps
J3SE can solve it before we move on to something better!
Jeff
- Original Message -
From: "Tony Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
Hi all,
I got one WSDL file with the following defination:
...
Then I genarate the java files with WSDL2Java. I wonder what does it means
with no more defination within the complexType? How should I implement this
type in java?
Any suggestion would be appreciate!
Thanks!
You will send a attachment - i do it like this:
**
Server
**
public java.lang.String getFileAsAttachment(java.lang.String
XMLRequest) throws java.rmi.RemoteException {
String fileName = "C:\\WebService\\webapps\\xxx\\
If there's a bug you wish to see fixed in Axis 1.2 final, read on...
- If there is no bug currently in JIRA (http://issues.apache.org/jira), please create
one.
- If there is a bug existing in JIRA, then Make sure there is enough information to
recreate the
bug
- Make sure you try latest CVS (1.2
OK, forgive my stupidity, but I am trying to send an attachment back
from the server. I did say that I was trying to send the attachment
back in the response in my original message but, I probably should have
been clearer. That would also explain why I was confused about your
orginal response.
A
I'm in the process of spec'ing a web services framework, and several of
our ws will be exchanging the usual suspects such as images (tiff, jpg,
custom), electronic documents (doc, pdf) etc.
I'm not really fussy as to whether the ws calls are made over SOAP or
HTTP, but was wondering there exists
If you go to the generated code, and you use
MessageContext.getMessage. there, you should get a value.
But calling the generated method and then trying to get the MessageContext
won't work.
James
"Dorner, Thomas" <[EMAIL PROTECTED]>
01/04/2004 13:45
Please respond to
[EMAIL PROTECTED]
Hi dims!
I'm working using the ws-fx implementation of WS-Addressing. In fact
I've just emailed the fx-dev list with a problem that I've encountered
(although I think its a problem in my code rather than the implemenatation!)
Regards,
Richard
Davanum Srinivas wrote:
Richard,
Yes, Please go
Richard,
Yes, Please go ahead and add this information to the Wiki. Also just curious, are u
using
http://ws.apache.org/ws-fx/addressing/ or your own impl? Patches are welcome against
the
addressing project as well.
thanks,
dims
--- Richard Martin <[EMAIL PROTECTED]> wrote:
> Thanks Glen, Sent
oService is your Service or your locator (both are Service or extend
Service!)
--> read my text and think about! ;)
Forget the MessageContext - you can t make
MessageContext context = MessageContext.get
if you use the stub and the skeleton!
I get also null from MessageContext
-Ursprün
In your examples, what is "soapService" and "oService"?
Is it possible that my service is not deployed correctly and that is
why the current message context is null?
Thanks.
Tony
>>> [EMAIL PROTECTED] 04/01/04 02:37AM >>>
You can handle your attachment like this - without using the
MessageConte
Thanks Glen, Senthil and Cristophe!
It now works, although I found some interesting things along the way
which I thought I should share:
1) I tried putting the client-config.wsdd in the classpath as per Glen's
suggestion. This worked, but it worked too well. This caused the
AdminClient to fail
yes,
Weblogic 6.1 !
Thanks
!
Florence Amardeilh
PhD Student in the Semantic Web
area
Mondeca
3, Cité Nollez 75018
Paris
Phone : +33 (0)1 44 92 35
00
Fax : +33 (0)1 44 92 02
59
E-mail : [EMAIL PROTECTED]
visit http://www.mondeca.com/lab
-Message d'origine-De :
[EMAIL PRO
Florence, Weblo=Bea Weblogic? If yes, with version?
-Original Message-From: Florence Amardeilh
[mailto:[EMAIL PROTECTED]Sent: Thursday 01 April 2004
12:05To: [EMAIL PROTECTED] Apache. OrgSubject: Please, does
anyone is using Axis with WebLo ?
Hi,
I really need some
hel
Hi,
I really need some
help, can someone can give me some advice ?
How to deploy a web
service with a wsdd file as it is contain in the axis.war ? Do I need to
recreate this .war each time I want to deploy my web service
?
How can I make Axis
use another application deployed in Weblo with a
Hello,
I've some problems with an axis web service.
I've generated the client stubs and skeletons with the sun wscompile tool, and when i
try to connect to the WS and get the WSDL to create the service, it's unable to do it.
I suspect it 's because the wsdl:port name is the same as the wsdl:p
You can handle your attachment like this - without using the
MessageContext
Object[] attachments = soapService.getAttachments();
AttachmentPart attachPart = (AttachmentPart) attachments[0];
AttachmentPart attachPart1 = (AttachmentPart) attachments[1];
DataHandler arrow =
37 matches
Mail list logo