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

Deepal Jayasinghe commented on AXIS2-690:
-----------------------------------------

At the server side if you put your service WSDL into META-INF directory Axis2 
reads it and populate object model using that (AxisServiec , AxisOperation 
etc..), and keep the name spaces and schema and some other related data in the 
object model. So at the run time when you type ?wsdl what it does is it will 
serialize AxisService as a WSDL document and print it out.   In thie WSDL you 
will have new binding , new service element and new portType element as well. 

I fixed few bugs in ?wsdl generation and I think in the current SVN you won't 
be getting any validation exception. So if it is possible please check with 
current code base and let me know whether it is fixed or not. 

> 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