[ 
http://issues.apache.org/jira/browse/AXIS2-690?page=comments#action_12416249 ] 

Mike McAngus commented on AXIS2-690:
------------------------------------

Deepal,

At the server side, my WSDL is in the META-INF directory of the .aar file.

However, the WSDL that is returned by Axis-2 1.0 
(http://localhost/axis2/services/MyService?wsdl) does not return my WSDL.  
Instead Axis-2 1.0 returns an Axis-2 generated WSDL.  I'm glad that the 
generated WSDL uses my "namespaces and schema and some other related data in 
the object model" but I would be much happier if the WSDL returned was the WSDL 
that I created and spent so much time making human-friendly.

Let me try to spell it out again; under Axis-2 0.9x the WSDL returned WAS THE 
WSDL THAT I PUT IN THE META-INF DIRECTORY, not an AXIS-2 generated WSDL.  Under 
1.0 (including the current snapshot that I downloaded today) I no longer 
receive my WSDL from the META-INF directory.

My WSDL has internal documentation that is stripped out of the Axis-2 generated 
WSDL.

My WSDL specifies a CSS that can be used to better display the internal 
documentation of my WSDL

The source of my WSDL is nicely formatted, unlike the Axis-2 generated WSDL 
which only seems to have new lines up until the end of the <wsdl:type> element 
and doesn't seem to be pretty printed at all.

If I am going to go to the trouble of putting my WSDL into the META-INF 
directory, why can't Axis-2 1.0 return that document when the WSDL is requested?

Also, if Axis-2 1.0 does not return my WSDL, then there is absolutely no reason 
for JIRA Axis2-618 to be fixed, and I would REALLY like Axis2-618 to be fixed.


> WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is 
> not the one in META-INF.
> ------------------------------------------------------------------------------------------------------
>
>          Key: AXIS2-690
>          URL: http://issues.apache.org/jira/browse/AXIS2-690
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 1.0
>  Environment: Windows XP Professional SP2
> Tomcat 5.0.28
> Axis 1.0
>     Reporter: Mike McAngus
>     Assignee: Deepal Jayasinghe
>  Attachments: AppRelease.wsdl, build.xml
>
> This is related to issues AXIS2-634 and AXIS2-654 (item #3) which were, IMHO, 
> closed prematurely.
> I used WSDL2Java to create my environment.
> I modified the build.xml to include the original WSDL in the META-INF 
> directory of the .aar.
> I used this wsdl and buld.xml successfully to generate the code and deploy it 
> to Tomcat.
> The deployed .aar served up my original .wsdl mostly correctly (see 
> AXIS2-618) under Axis2 0.94 and 0.95.
> I regenerated the source under 1.0 and reapplied my Skeleton and Test class 
> changes (with appropriate modifications to accomodate the new class names in 
> 1.0).
> The wsdl file in META-INF is named AppRelease.wsdl, and my service name is 
> AppRelease (which worked under 0.94 and 0.95).
> Problem:  The new code only returns a generated WSDL in response to 
> http://localhost:8080/axis2/services/Service?wsdl, not the one in META-INF.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to