Hello,
Out of curiosity:
Your WSDL contains multiple portTypes.
Is this supported with AXIS1JAVA?
Btw i work also with PegsTour (Singular Interface pertaining to PT
version 2.12.2), but i use the C++ implementation of Axis.
This one definitely cannot cope with multiple portTypes (i think even
for Axis2 this is a TODO yet, not quite sure however).
Furthermore Axis1 (both Java and C++) has problems with anonymous
complexTypes (this is much improved in AXISCPP nightly), so i am
slightly surprised to hear that you could successfully use Axis1 1.2
Greetings
Franz
Cantrell, Andrew schrieb:
OK -- have attached a version that I think complies with your
suggestions however we are still getting compile errors
Regards
Andrew
------------------------------------------------------------------------
*From:* Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Okay ... just for starters, your import statement is in error.
You are trying to import a schema definition (PegsTour.xsd) using
<wsdl:import>. <wsdl:import> may be used only to import WSDL
descriptions, not schemas. Axis 1.2 was lax and permitted you to do
this, but Axis 1.4 is more strict.
You must add a <wsdl:types> section to the document, define a schema,
and use <xsd:import> or <xsd:include> to import/include the schema.
You use <xsd:import> to import a schema in a different namespace, and
you use <xsd:include> to include multiple schema files that define the
same namespace.
Next, the PegsTour.xsd schema references a ton of components that are
not defined in the schema file. My guess is that they are defined in
all the other schema files that you supplied, but you don't
<xsd:include> them into the schema. Therefore, you can't reference
them. You must add an <xsd:include> statement for each of the other
schema files. I haven't looked at the other schema files, but if any
of them reference components described in other schema files, you must
also add <xsd:include> statements to those schemas.
Regards,
Anne
On 1/29/07, *Cantrell, Andrew* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Please post the WSDL.
On 1/29/07, Terry Mueller <mailto:[EMAIL PROTECTED]>
_<[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>_ wrote:
> I have tested WSDL2Java with our WSDL using Axis 1.2 without any
> problems. When I upgrade to Axis 1.4 (drop in new jars), the same
> command generates code with compile errors. There are three basic
> compilation problems: (1) in some constructors of simple types there is
> call to super(foo,bar) that doesn't exist (2) the "throws" clauses
> declaration contains an array and (3) the class in the "throws" clause
> does not extend
java.lang.Exception.
>
>
> I was having a play with Lisa test tool from <http://www.itko.com/>
_http://www.itko.com/_ which
> uses Axis 1.4 so I can't upgrade to Axis 2 yet.
>
>
> Any ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_
--
Regards,
Terry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
begin:vcard
fn:Dr. Franz Fehringer
n:Fehringer;Franz
org:ISO Software Systeme
adr;quoted-printable:;;Eichendorffstrasse 29;N=C3=BCrnberg;;90491;Deutschland
email;internet:mailto:[EMAIL PROTECTED]
tel;work:+49/(911) - 99594-0
tel;fax:+49/(911) - 99594-580
x-mozilla-html:TRUE
url:http://www.isogmbh.de/
version:2.1
end:vcard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]