You must use to import a schema, not .
something like this:
...
...
Then you must reference elements from the schema using their fully
qualified element names (bar:...)
Anne
On Tue, 28 Dec 2004 20:10:52 +0100, laura baño <[EMAIL PROTECTED]> wrote:
> Hello ever
There's no need to do this.
In an rpc/encoded WSDL, the message part must reference a type, not an
element. It's perfectly legal to reference an xsd type. So the
original WSDL description is fine:
The error was caused by the erroneously placed soapAction attri
Christian,
I think the type for the part name (nameParam) must refer to an element
(or complex type) defined in your schema type, not a xsd:string.
Refering to message:
Change the type to an element in the wsdlns namespace, and you shouldn't
get the error.
As
0.1.3 preview
[http://www.oracle.com/technology/products/jdev/howtos/10g/WS_WSI/WSI_HowTo.html].
Eric
From: Faucher, Christian
[mailto:[EMAIL PROTECTED] Sent: Friday, December 17,
2004 5:53 AMTo: [EMAIL PROTECTED]Subject: RE :
wsdl2java does not understand the 'soapAction
ine-De : Eric Rajkovic
[mailto:[EMAIL PROTECTED] Envoyé : jeudi 16 décembre
2004 15:54À : [EMAIL PROTECTED]Objet :
RE: wsdl2java does not understand the 'soapAction' attribute in
/definitions/portType/operation
Christian,
the soapAction attribute is only valid for th
Christian,
There is a problem with your WSDL. You have a soapAction attribute
specified on the wsdl:portType/wsdl:operation element, which is not
permitted:
http://localhost:8090/action/HelloWorld.Execute";
parameterOrder="nameParam">
The soapAction attribute b
Title: Message
Christian,
the soapAction attribute is only valid for the binding
element, not the portType element
replace
http://localhost:8090/action/HelloWorld.Execute"
parameterOrder="nameParam"> with
and it should work.
Also, you could use WS-I tool to validate you
on) in a wrong nameSpace. Is this a valid attribute for
Operation?
Attached are the original version and
the version I chagned with your modifications.
BR,
Christian Faucher
-Message d'origine-De : TMG [mailto:[EMAIL PROTECTED]]Envoyé : jeudi 16
décembre 2004 15:11À : [EMAIL P
Christian,
Maybe the third time is the charm :).
Change the message to be:
I had the right words, wrong wsdl :).
Tom Gordon
TMG wrote:
Sorry,
Typo below:
As in should have PART =
TMG
TMG wrote:
Christian,
I think the type for the part name (nameParam) must refer t
Sorry,
Typo below:
As in should have PART =
TMG
TMG wrote:
Christian,
I think the type for the part name (nameParam) must refer to an
element (or complex type) defined in your schema type, not a xsd:string.
Refering to message:
Change the type to an element in
On Tuesday 07 December 2004 10:32, [EMAIL PROTECTED] wrote:
> Have you looked at the Service constructors that take a WSDL? This
> might be the best route for you, rather than using WSDL2Java. You can
> build a client very simply.
Thanks for pointing this out. I didn't realize there was such a
co
Have you looked at the Service constructors
that take a WSDL? This might be the best route for you, rather than using
WSDL2Java. You can build a client very simply. For example (with a service
operation that returns a list of types):
...
import org.apache.axis.client.Call;
import org.apache.axis.
I'm guessing that Axis is replacing any characters
that might be confused with XML markup, hence "<" is being
replaced with "<" and so on. I'm not sure why this wouldn't
get changed back again at the server side. Perhaps you can try defining
the parameter as a CDATA section, in your XML schema.
T
I have to take this back. The service locator is used for all port
types. So, using this, I could get all 3 references to the ports.
Original Message-
From: KHSergel [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 12:50 PM
To: [EMAIL PROTECTED]
Subject: Re: wsdl2java - are generated JUnit tests complete?
Hello,
the JUnit test cases should work without further modification, but will only
test the accessibility of
Hello,
the JUnit test cases should work without further modification, but will only
test the accessibility of the defined Operations and the proper return of the
expected returnClass.
To test if something usefull is returned is up to you.
hope it helps
khs
-Ursprüngliche Nachricht-
Von: L
The following code posted by Michael
Binz could help you.
-- START--
package .util;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.io.ByteArrayInputStream;
import java.lang.reflect.Method;
Kim Tan wrote:
Anyway, basically you have 2 intereface classes, both needed on the
client side, hence together with the actual implementation, you need
the 4 classes on the client side.
on the server side, you need 2, one interface, and one the actual
implementation.
if you are not implementing
your client side will need 4 files, 2 are intereface and 2 are the classes that actually implement the interface, from the names of the files, I will think they are as followed :
1. Dummy.java -- your service interface
2. DummyService.java -- locator interface3. DummyServiceLocator.java --- impl
The WSDL2Java tool always generates classes that can be
used on the client, regardless of whether or not you specify the -s option.
Classes that it generates for the defined types can be used on the server
or client. The locator and stub can be used on the client. I don't think
there is a way to s
Chetan Vora wrote:
Hi,
Is there any way to get access to the parse tree that is generated by
WSDL2Java ? For our project, we need to create custom output (classes
probably) from the WSDL instead of the interfaces/stubs that WSDL2Java
generates.
Any help or pointers will be appreciated.
CV
See o
t that someone file a bug
report.
So I repeat, please file a bug report.
Thanks,
Anne
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 9:12 AM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java does not generate custom exception
Hi Ann
;s a bug. It is not compliant with the
> specifications.
>
> Please file a bug report.
>
> Anne
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 27, 2004 4:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: WSD
WSDL
file without raising a warning, it's a bug. It is not compliant with the
specifications.
Please file a bug report.
Anne
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:21 AM
To: [EMAIL PROTECTED]
Subject: RE: WSD
nd:body be defined using the element attribute. This
> requirement does the same for soapbind:fault, soapbind:header and
> soapbind:headerfault elements.
>
>
> [1] http://www.w3.org/TR/wsdl#_soap:fault
> [2]
> http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings
CTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java does not generate custom exception
OK
First define your exception as a complex type as follows:
Next define the message as follows:
OK
First define your exception as a complex type as follows:
Next define the message as follows:
N.B. The part name attribute is "fault"
Next define the operation in the portType section of your WSDL as follows:
Lastly in the bin
Nathan Wardle wrote:
Here's the template I'm using and ant target.
Thanks, Nathan. I've never used XDoclet, though I had heard of it, and
so wasn't sure how it worked. Your template gives me a much better idea
of how to use it.
Thanks again,
Dan.
begin:vcard
fn:Dan Ciarniello
n:Ciarniello;D
rniello [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 19 October 2004 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java and deploy.wsdd
Nathan Wardle wrote:
>Hi Dan,
>
>I had similar problems because I wanted to use a custom provider. My solution was to
>not use WSDL2Java for the generation
Nathan Wardle wrote:
Hi Dan,
I had similar problems because I wanted to use a custom provider. My solution was to
not use WSDL2Java for the generation of server side code. Instead, I used XDoclet to
generate the deploy.wsdd (well actually I just generated the server-config.wsdd for
all services.
Hi Dan,
I had similar problems because I wanted to use a custom provider. My solution was to
not use WSDL2Java for the generation of server side code. Instead, I used XDoclet to
generate the deploy.wsdd (well actually I just generated the server-config.wsdd for
all services. This works really w
Please file a bug report.
Thanks!
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java and Basic Profile
Anne Thomas Manes wrote:
>Dan,
>
>The child elements (, , and ) are d
Please file a bug report.
Thanks!
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java and Basic Profile
Anne Thomas Manes wrote:
>Dan,
>
>The child elements (, , and ) are d
st.
I hope that what I've described above is clear. Depending on comments
received, I will post 1 or 2 bugs to JIRA.
Dan.
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 6:36 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java and B
ied, you can add the
elementFormDefault="qualified" attribute to the definition. But
this issue really shouldn't make a difference.
Anne
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 6:36 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Ja
Anne,
Thanks for the info. I had to make a few minor changes to what you sent
(I've attached a corrected version below) but that gave me enough to
work with. Except for one problem...
WSDL2Java produces both client and server code without apparent problem
but when I invoke the service I get a
Interesting. I think you found a bug in the WS-I Basic Profile.
According to the WSDL 1.1 specification [1] and the latest version of the
WSDL 1.1 XML Schema [2], the definitions/binding/operation/input element
does not include the @message attribute. Therefore the sample in the WS-I
Basic Profile
Flores, Raul wrote:
http://www.capescience.com/soa/index.shtml
-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java and Basic Profile
Could you provide the web site for downloading "a free
From: Henry Lu [mailto:[EMAIL PROTECTED]
> Could you provide the web site for downloading "a free WSDL
> editor with a validator"?
I've been using the wsvt validator [1] with Eclipse. It works very well.
Combined with any of the various XML plugins for Eclipse, and Eclipse's
support for Ant, it m
http://www.capescience.com/soa/index.shtml
-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java and Basic Profile
Could you provide the web site for downloading "a free WSDL editor w
Could you provide the web site for downloading "a free WSDL editor with
a validator"?
-Henry
>>> [EMAIL PROTECTED] 10/11/2004 10:13:04 AM >>>
Cap Science provides a free WSDL editor with a validator.
Raul
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Friday,
Cap Science provides a free WSDL editor with a validator.
Raul
-Original Message-
From: Dan Ciarniello [mailto:[EMAIL PROTECTED]
Sent: Friday, October 08, 2004 5:08 PM
To: [EMAIL PROTECTED]
Subject: WSDL2Java and Basic Profile
I am trying to follow the advice that I've seen in this ma
thanks for the tip Steve - looks like this isnt just me so ive made it a bug
report.
/tom
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: wsdl2java fault bug ?
You need to hand modify the
You need to hand modify the wsdl file so that the qname for each fault is
different.
The java2wsdl util creates the same qname for each fault. This name is used to
lookup the fault from a map and hey presto only one id returned, generally the
last fault specified.
If you hand modify the wsdl f
PROTECTED]
Subject: Re: wsdl2java fault bug ?
Yes, I just got that very same problem! I'm using axis-1_2RC1.
Any workarounds? (Well, besides resorting to using just one fault type,
of course 8-)
silvano
[EMAIL PROTECTED] wrote:
>Anyone else observed that when you have code that throws
Yes, I just got that very same problem! I'm using axis-1_2RC1.
Any workarounds? (Well, besides resorting to using just one fault type,
of course 8-)
silvano
[EMAIL PROTECTED] wrote:
Anyone else observed that when you have code that throws multiple possible
faults, the generated stub assumes that
Chris,
You have a space in the name below:
Remove the space and it may fix your problem.
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: WSDL2Java error
I am creating a new soap service f
Never mind. I found my typo.
Chris
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 2:04 PM
To: [EMAIL PROTECTED]
Subject: WSDL2Java error
I am creating a new soap service from scratch. I took my preexisting wsdl,
and changed the m
nd it back to the server for another purpose!
(NOTE: I need both WebServices and JMS between the client and the server)
Thanks
Fady
- Original Message -
From: "Paul Callahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 2:40 PM
S
: Re: WSDL2Java issue
whats in SomeXObject? what is being generated--in addition to what
should be there?
- Original Message -
From: Fady Kaddoum <[EMAIL PROTECTED]>
Date: Tue, 14 Sep 2004 09:15:56 +0200
Subject: WSDL2Java issue
To: [EMAIL PROTECTED]
Hello everybody!
I 've
whats in SomeXObject? what is being generated--in addition to what
should be there?
- Original Message -
From: Fady Kaddoum <[EMAIL PROTECTED]>
Date: Tue, 14 Sep 2004 09:15:56 +0200
Subject: WSDL2Java issue
To: [EMAIL PROTECTED]
Hello everybody!
I 've developped some services that
Thank you, I believed that worked!
-Original Message-
From: Wagle, Shriniwas
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004
8:41 AM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java and HTTPS
The name on the
certificate (The CN component) should match the hostname
When I’m generating the certificate
with keytool I should enter the host name instead of my first and last name as
it request?
-Original Message-
From: Wagle, Shriniwas
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004
8:41 AM
To: [EMAIL PROTECTED]
Subject: RE
The name on the certificate (The CN component) should
match the hostname on the service endpoint in the WSDL.
If you get these two to match, that should fix the error
you are getting.
From: Daniel Herbison
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07,
2004 9:12 AMTo: [EMAIL PROTEC
Don't worry; I think I've figured this out.
I had assumed that an object needed to be
passed to the method in the generated stub. The actual web service implementation
doesn't need a parameter but the generated stub method takes an object.
I'm new to this but managed to find some reference to a S
sage-
From: Elliot Metsger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java overloading functions
Anand et. al,
Can you offer your perspective on the interoperability of rpc/lit in the
future? Dosen't the WS-I Basic Profile 1
sage-
From: Elliot Metsger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java overloading functions
Anand et. al,
Can you offer your perspective on the interoperability of rpc/lit in the
future? Dosen't the WS-I Basic Profile 1
Anand:
Many thanks for the summary!
Anand Natrajan wrote:
doc/lit of course decouples the request/response from a procedural model on
the server side, which is nice and fine philosophically, but practically,
doesn't affect me much. I suspect it doesn't affect many others as well,
especially those
Yes, right now it's rpc/enc.
The overloading is a management decision for me - there's really no
flexibility despite talking about some of these issues.
Definitely important points for others to consider before doing it though.
Thanks,
Charles
Nelson Minar wrote:
Is it possible to overload method
Elliot,
In general, reducing functionality will raise interoperability issues - that
observation applies to the deprecation of rpc/literal as well.
Given the two major style/usage combinations, i.e., rpc/encoded and
document/literal, the latter seems to me a superior model mainly because all
refe
>Is it possible to overload methods and use the WSDL2Java tool to
>generate the stubs for the overloaded methods.
It may work, but it's probably a bad idea. WS-I Basic Profile
explicitly forbids overloading methods. And I wouldn't count on
interop on other platforms. You said elsewhere you were d
Anand et. al,
Can you offer your perspective on the interoperability of rpc/lit in the
future? Dosen't the WS-I Basic Profile 1.0 go a ways to reducing
opportunities for interoperability issues?
Thanks,
Elliot (a ws newbie)
Anand Natrajan wrote:
Charles and Steve,
Mostly for my curiousity, are
Yes, you are right. I'm using rpc/encoding. I'll have to keep the doc/lit
stuff in mind. For now, rpc does the job for me
Steve
- Original Message -
From: "Anand Natrajan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 200
Charles and Steve,
Mostly for my curiousity, are you using an rpc/encoded service or a
document/literal service? My information may be wrong, but I believe the
latter doesn't support overloaded methods. Given that the web services
world is moving to doc/lit, having overloaded methods may be ill-ad
Thanks Steve,
Got it now on the same setup.
Looks like the problem was in the WSDL file.
Explicitly setting the name attribute of the operation within the
binding and then have it correspond to the name attribute of the input
in the corresponding portType operation fixed it.
XMLSpy v5 r2 messed
It works for me in Axis 1.1 with Tomcat 5
Steve
.
- Original Message -
From: "Charles Roy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 1:55 PM
Subject: WSDL2Java overloading functions
> Hi,
>
> Is it possible to overload methods and use the WSDL2Java t
Charles,
Can you please review the axis cvs and look for wsdl's similar to
yours? (start with a known working wsdl?)
thanks,
dims
On Fri, 16 Jul 2004 17:24:16 +0100, Cordingley, Charles
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having problems generating the java from a wsdl (with attachments)
SOAP passes XML types. A Web service does not expect its clients to send
objects -- it expects the clients to send XML structures. It makes no
difference at all whether the application at one end converts those XML
types to primitives or to objects. Java and .NET interoperate by
communicating using
SOAP passes XML types. A Web service does not expect its clients to send
objects -- it expects the clients to send XML structures. It makes no
difference at all whether the application at one end converts those XML
types to primitives or to objects. Java and .NET interoperate by
communicating using
/>
>
>
>
>
>
>
>
>
>
>
> ----- Original Message -
> From: Asanka Priyanjitih <[EMAIL PROTECTED]>
> Date: Fri, 4 Jun 2004 17:34:18 +0600
> Subject: RE: wsdl2java - got the following exception
> To
Priyanjitih <[EMAIL PROTECTED]>
Date: Fri, 4 Jun 2004 17:34:18 +0600
Subject: RE: wsdl2java - got the following exception
To: [EMAIL PROTECTED]
Hi Team
I also face same thing, I don't know
what a problem is.
Please help to us.
Hi Team
I also face same thing, I don’t know
what a problem is.
Please help to us.
G J Asanka Priyanjith
-Original Message-
From: Malinda
[mailto:[EMAIL PROTECTED]]
Sent: Friday, June 04, 2004 3:44 PM
To: [EMAIL PROTECTED]
Subject: wsdl2java - got t
ComputedKeyEnum is defined only once in the XSD: :element name='ComputedKey' type='wst:ComputedKeyOpenEnum' /> :simpleType name='ComputedKeyEnum' > :restriction base='xs:anyURI' > :enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1' />
ComputedKeyEnum is defined only once in the XSD: :element name='ComputedKey' type='wst:ComputedKeyOpenEnum' /> :simpleType name='ComputedKeyEnum' > :restriction base='xs:anyURI' > :enumeration value='http://schemas.xmlsoap.org/ws/2004/04/security/trust/CK/PSHA1' />
Michael Engelhart wrote:
Hi -
First off I'm new to WebServices although I've successfully built an
application that uses a WS from a WSDL document and wsdl2java included
in Axis.
That said, I am working with a vendor that has multiple services
available through Web Services. They have documen
Are you sure that it's using the encodingStyle attribute and not just
including a namespace declaration?
Please post your SOAP request and the WSDL definition.
Thanks.
-Original Message-
From: Gutty, Ramesh (MLIM) [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 6:27 PM
To: [EMAIL P
Are you sure that it's using the encodingStyle attribute and not just
including a namespace declaration?
Please post your SOAP request and the WSDL definition.
Thanks.
-Original Message-
From: Gutty, Ramesh (MLIM) [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 6:27 PM
To: [EMAIL P
Supported Scenario is to return javax.activation.DataHandler[] instead of File[] even
that has a
problem. http://nagoya.apache.org/jira/browse/AXIS-1138
-- dims
--- William Bug <[EMAIL PROTECTED]> wrote:
> Many thanks for you feedback, Davanum.
>
> Are you sure this is a bug? Since your on the
AJ, for a relatively naive WS developer (me), please forward
a link!
ndr
William Bug <[EMAIL PROTECTED]>
04/02/2004 10:14 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: WSDL2Java - can't use
mime:multipartRelated in wsdl:output elem
Many thanks for you feedback, Davanum.
Are you sure this is a bug? Since your on the Apache webservices team,
I'll take your word for it.
I was expecting I'm just doing something wrong, though if there's a
right way to do this, I can't find it documented anywhere.
Is there really no way to
Please log a bug - http://issues.apache.org/jira/
--- William Bug <[EMAIL PROTECTED]> wrote:
> 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 docum
try using the -O (timeout) option passed to WSDL2Javav with a higher value. The
default is 45 seconds. I had to set mine to 2 mins for it to work.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 4:02 PM
To: [EMAIL PROTECTED]
Subject
I am
also looking for the answer for a long time but haven't found yet. Though my
application still uses ns1 as namespace instead of what I want it works
fine.
But
any help on how to change this will be great.
Thanks
kiran
pathuru
-Original Message-From: Wei Hsu
[mailto:[EMA
ion.
Bill
-Original Message-
From: Chris Haddad [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: Re: WSDL2Java Error: Relative URI can not be resolved without a base
URI
Bill - it would help if you posted the wsdl..
Bill - it would help if you posted the wsdl...
/Chris
-- Original Message --
From: "Heitzeg, Bill" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 2 Mar 2004 08:46:03 -0600
>Hi all,
>
>I'm trying to generate a client for a service that I have
Title: RE: wsdl2java mapping primitives to objects
If you’ve got Ant then its very
easy:
package="ws-axis"
dest="."
/>
target="compile"
inher
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
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
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
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 i
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
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
, February 17, 2004 10:42 AM
To: [EMAIL PROTECTED]
Subject:Re: wsdl2java mapping primitives to objects
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
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
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
romJava.Emitter.setCls(Emitter.java:1477) atorg.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:500) atorg.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)
From: Ransel Lopez
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004
12:38 PM
To: [EMAIL PROTECTED]
Subject: RE: WSDL2Java p
Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Safdar AliSent: Thursday, January 29, 2004 1:27
PMTo: [EMAIL PROTECTED]Subject: Re: WSDL2Java
problem / Solution
Gourav, you are absolutely right for
WSDL2Java utility, we don't need all these
n jar files
Safdar.
- Original Message -
From:
Pani, Gourav
To: '[EMAIL PROTECTED]'
Sent: Thursday, January 29, 2004 9:02
PM
Subject: RE: WSDL2Java problem /
Solution
That's odd. The only thing I use in my CLASSPATH to do WSDL2Java
is
rsday, January 29, 2004 2:06
PMTo: [EMAIL PROTECTED]Subject: Re: WSDL2Java
problem / Solution
Hi all, (especially Lopez, Kondapalli,
Ashley)
Finally, after doing 3 days of brain storming.. I
have come to a solution for WSDL2Java problem where it throws Exception at
different l
MAIL PROTECTED]
Sent: Monday, January 26, 2004 5:07
PM
Subject: RE: WSDL2Java problem
Hi
Safdar,
I
have the same problem. I sent the same question and I didn't get any answer.
Please, if you find the solution let me know. I'll do the
same.
Thank you very muc
1 - 100 of 387 matches
Mail list logo