You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Mike McAngus (JIRA)" <ji...@apache.org> on 2006/05/08 21:17:20 UTC

[jira] Created: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

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


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


[jira] Commented: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Mike McAngus (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-690?page=all ]

Deepal Jayasinghe resolved AXIS2-690.
-------------------------------------

    Resolution: Fixed

adding following parameter into services.xml will solve the problem for you
<parameter name="useOriginalwsdl">true</parameter>

> 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)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: Windows XP Professional SP2
> Tomcat 5.0.28
> Axis 1.0
>            Reporter: Mike McAngus
>         Assigned To: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Mike McAngus (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-690?page=comments#action_12378674 ] 

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

After reading other issues, it appears that I should give you all the command line I used to generate my Java from the WSDL:

wsdl2java -o ..\ -s -p com.wendys.ws -t -ss -sd -d adb -g -pn AppReleasePort -sn AppRelease -uri .\AppRelease.wsdl


> 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
>  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


[jira] Commented: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-690?page=all ]

Deepal Jayasinghe reassigned AXIS2-690:
---------------------------------------

    Assign To: Deepal Jayasinghe

> 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


[jira] Commented: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Mike McAngus (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-690?page=comments#action_12378663 ] 

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

BTW, the generated wsdl has issues according to the Eclipse WSDL Validator.

> 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
>  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


[jira] Commented: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Mike McAngus (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-690?page=comments#action_12378501 ] 

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

Perhaps it is obvious, but the 2nd file is my ant build file.

> 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
>  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


[jira] Updated: (AXIS2-690) WSDL served up by http://mmcan01-20044:8080/axis2/services/AppRelease?wsdl is not the one in META-INF.

Posted by "Mike McAngus (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-690?page=all ]

Mike McAngus updated AXIS2-690:
-------------------------------

    Attachment: build.xml

> 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
>  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