When running the samples.attachments.EchoAttachment code, a
NullPointerException is thrown in
org.apache.axis.Message.createAttachmentPart(), on line 620 of the file. It
appears that the member variable mAttachments is null. Comments in the file
suggest that the variable is null when attachme
Title: RE: wsdl2java mapping primitives to objects
Just to follow up on this.
I tried this with 1.1 and it worked fine. For the following type:
1.2 Alpha generated an int and a double, where 1.1 generated a java.lang.double
and a java.lang.integ
Roberto,
I am not sure how to generate the doc/lit wsdl).
Tony.Martini Roberto <[EMAIL PROTECTED]> wrote:
Thanks Tony for the help, but It was only a simple reproduction of the problem that I'm having. The real problem involves about 10 interfaces with 7-8 methods taht use about 50 "complex-t
Andreas,
It sounds that example 3 has not been deployed on your server. To determine if a service has been deployed, you can go to http://localhost:8080/axis (assuming you have installed your app server on port 8080) then click on the "View" tab to view all the deployed services. If you don't see
Hi Tony,
thanks for your reply.
I took another example, because with this example
you need a network connection and this bring perhaps some problems.
The userguide example2 (Calculator)
worked.
Now I have a problem with example3 (%
java samples.userguide.example3.Client "test me!")
I get an
Hi there,
Is your app server (i.e. TomCat) running?
Regards,
Tony.Andreas Roppel <[EMAIL PROTECTED]> wrote:
Hi,
I have set the axisclasspath in the runtimenvironment like you said, but now comes another errormessage:
"java.net.ConnectException: Connection refused: connect"
What can I do?
I have a webservice that takes as input some string fields and an attachment
and it returns back another attachment.
I get the following error when I try to browse the wsdl from the AxisServlet
Fault - ; nested exception is: WSDLException: faultCode=OTHER_ERROR:
Can't find prefix for 'urn:ClaimS
Is Axis up to the task of implementing the
foundations of a SOA?
One of the tenents of a SOA is the ability to have
a Service call another Service. Can Axis act as both a Server and a
Client? If so, is there a good example of the Server/Client
code?
thanks,
pg
thank you!
the example2 (Calculator) worked :))
regards,
andi from germany
- Original Message -
From:
Kees van Dieren
To: [EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 5:52
PM
Subject: RE: Problem with running example
with apache axis
That's because you
Title: RE: wsdl2java mapping primitives to objects
Sekhar,
I’m
using 1.2 alpha, so maybe I need to try this with 1.1 as well. I think what I’ll do is to create a
test case using multiple primitives, try it out with 1.1, 1.2 alpha, and the
nightly builds. If it
That's
because you run the connectionTest example, this endpoint currently doesn't
work. You should try the stockquote example, as described in the
user-guide.
Hope
that helps!
-Oorspronkelijk bericht-Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]Verzonden: dinsdag 17 f
Hi,
I have set the axisclasspath in the
runtimenvironment like you said, but now comes another
errormessage:
"java.net.ConnectException: Connection refused:
connect"
What can I do?
thanks
- Original Message -
From:
Saunders,
Roger
To: [EMAIL PROTECTED]
Sent: Tuesda
Title: RE: wsdl2java mapping primitives to objects
Bill,
I am using axis 1.1 and it does work for me but for a
slightly different case. The case I have is
and it maps to a Double. I do not have a specific case for Integer but was
assuming it would work if it came up.
I also had a ca
Title: RE: wsdl2java mapping primitives to objects
Java2WSDL and WSDL2Java are buggy. I know
that some bugs have been fixed in the nightlies, so I'm actually going to
download that now instead of using 1.2 alpha. A committer would probably
tell you to upgrade to the nightlies, see if the bu
Title: RE: wsdl2java mapping primitives to objects
Sekhar,
Based
on the documentation, it looks like there is a bug in wsdl2java. Have you been able to map a nillable
xsd:int to a Java Integer? Has anyone
else?
Bill
Bill Heitzeg
1-734-995-9131
-Origina
Title: RE: wsdl2java mapping primitives to objects
Here is the documentation on this from user guide
Standard mappings from WSDL to Java
xsd:base64Binary byte[]
xsd:boolean boolean
xsd:byte byte
xsd:dateTime java.util.Calendar
xsd:decimal java.math.
Thanks Matt,
Unfortunately, the WSDL does specify that the element is nillable, but it is still
being mapped to an int. In the wsdl the element looks like:
Bill
Bill Heitzeg
1-734-995-9131
-Original Message-
From: Matthew Sgarlata [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Febr
Hi
the WSDL you see at ?WSDL is automatically generated
by Axis and is not stored on the HardDisk.
If you want to keep track of the generated WSDL, save it from the web
pages ?WSDL or use Java2WSDL tool
Regards
Guillaume
Tony Blair wrote:
>
> Hi,
>
> After deploying my web service to Tomcat us
I believe that if the WSDL specifies that the field is nillable, then
xsd:int is mapped to Integer instead of int. Can you change your WSDL?
Matt
- Original Message -
From: "Heitzeg, Bill" <[EMAIL PROTECTED]>
To: "Axis-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 1
Hi,
When I generate a client using wsdl2java, xsd:int is mapped to a java int
type. I would like it to be mapped to an Integer. Does anyone know how to do this?
Thanks,
Bill
Bill Heitzeg
1-734-995-9131
Hamid,
That's true. "Request" will cause a new object to be created per request. This would be an ideal choice only if the service object contains state. Otherwise "Application" or "Session" would be preferable.
Tony.Aaron Hamid <[EMAIL PROTECTED]> wrote:
Doesn't that create a new object per req
run wsdl2java with "-O -1"
-O, --timeout
timeout in seconds (default is 45, specify -1 to disable)
thanks,
dims
--- Susantha Kumara <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I parsed a huge WSDL (SLWebSvc.wsdl) WSDL2Java throws following
> exception.
>
> java org.apac
I have my own web service
right now. I ‘m testing it using the uri http://127.0.0.1 … but I need to use my own ip, an later the server ip. I don’t know how to do this. Any help would be
thanked.
Thanks.
Hey all,
Me again. I found the problem. The 505 exception
thrown pointed me looking in the wrong direction.
With the creation of the WSDL file, I gave some
'wrong' parameters. This caused the service name to be '
MyBank -n urn:MyBank'. When I looked at the
deployed services in axis it showe
Put . in your classpath:
set axisclasspath=.;%axisclasspath%
works for me
Roger
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 13:18
To: [EMAIL PROTECTED]
Subject: Problem with running
example with apache axis
Hi,
Hi,
When I parsed a huge WSDL (SLWebSvc.wsdl) WSDL2Java throws following
exception.
java org.apache.axis.wsdl.WSDL2Java SLWebSvc.wsdl
java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL
at the specified URL is inaccessible)!
at org.apache.axis.wsdl.gen.Parser.run(Parser.j
Have implemented a Java client for a web service on Legacy system using Axis 1.0.
Using Axis 1.0, we are fetching data from a legacy system. In the WSDL none of the elements are specified as nillable. However when the data comes from the Web Service some of the elements are blank. This results in d
Hi,
sorry when message is double.
I have a problem to run an example from http://ws.apache.org/axis/java/user-guide.html?
See the cmd:
---
Microsoft Windows XP [Version
Jagannath,
If you wish not to authenticate the client, then in the
server.xml you may set clientAuth=false, for SSL handshake.
Also you should ensure that the keystore server.xml is
referring to has the server certificate. Your JDK's cacerts file should
also have the root cert installed (the
Doesn't that create a new object per request? I thought "Application"
scope allows the service to persist accross many requests.
Anyway, regardless, if you are using HTTP pipelining, then there is a
good chance whatever calls are queued on your pipeline will be issued
sequentially (that is the
Hey all,
I'm struggling with an exception I get when calling
a web service. I deployed all the samples with axis on tomcat 5.0.18. With the
clients provided with the exampes I can succesfully get some results, so no
problem there.
I wanted to see how the creation of a webservice
from an
smime.p7m
Description: S/MIME encrypted message
Did
you mention where you have the trust store in the client
side?
Thanks & regards, Ayyappan Gandhirajan [GANDHIRAJAN,AYYAPPAN
(HP-India,ex2)] -Original
Message-From: jagannath
[mailto:[EMAIL PROTECTED]Sent: Tuesday, February 17, 2004 3:00
PMTo: [EMAIL PROTECTED]Subject:
SSLHa
Hi,
I am trying to run WSOverSSL example. I have installed axis in tomcat.
I have generated certificates and keystore using the keytool as
mentioned in the README of the example. I have also configured Tomcat
for SSL. But when I invoke a method in my deployed Web Service I get an
SSLHandshak
Thanks
Tony for the help, but It was only a simple reproduction of the problem that I'm
having. The real problem involves about 10 interfaces with 7-8 methods taht use
about 50 "complex-type". Moreover I need the generation of the wsdls and wsdd
besause these interfaces are subject of contin
35 matches
Mail list logo