Brammer, Steve wrote:

I am already using style="wrapped" but it does not seem to be putting
elementFormDefault="qualified" into the generated WSDL file.

I decompiled the version of org/apache/axis/wsdl/fromJava/Types.class
that is in the axis.jar file I have and those lines are not in there.

Do you know what version of Axis that code was introduced in?


Look at:

http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java?r1=1.79&r2=1.80&diff_format=h
http://issues.apache.org/bugzilla/show_bug.cgi?id=21930

Axis 1.1 includes Types.java release 1.75, so that's why you can't find that code. Any axis release after 1.1 will include it (if not removed :)

I am using version 1.1. I tried using version 1.2 RC1 earlier but it
gave me some problems (can't remember what just now only that it didn't
work). I'm quite new to all this web services stuff although I do have a
good knowledge of Java. Could I just enter the lines myself and
recompile if I get hold of the source?

What would you recommend? Should I try and get 1.2 RC1 working or is
there a later version of 1.1 available that I don't know about.


I'll recommend you to check out the code from the CVS repository and compile it. Axis 1.2 final must be near and some bugs have been fixed since last release candidate. Don't panic, CVS code should compile nicely.

Thanks for your help.

/Steve Brammer




-----Original Message-----
From: Adrian Perez Jorge [mailto:[EMAIL PROTECTED]
Sent: 24 January 2005 12:34
To: [EMAIL PROTECTED]
Subject: Re: elementFormDefault="qualified"

Look at lines 926-928 from:

http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/
axis/wsdl/fromJava/Types.java?annotate=1.108


 It seems you get a elementFormDefault="qualified" when
using document/wrapped.

Adrian P.J.


Brammer, Steve wrote:



Hi,

How do I get the schema element attribute


elementFormDefault="qualified" into the WSDL file generated by Axis?


The WSDL file currently generated by Axis for my web service


does not contain the above attribute and so it is defaulting
to elementFormDefault="unqualified" and this is giving me an
interop issue consuming the web service in .Net.


What do I need to change so that the


elementFormAttribute="qualified" gets into the generated
WSDL? Can I put something in the deployment descriptor
(.WSDD) file or do I need to change something else?


/Steve Brammer





This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.








Reply via email to