You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Vitor Manuel Alves Rodrigues (JIRA)" <ji...@apache.org> on 2010/03/17 18:35:27 UTC

[jira] Closed: (AXIS2-4650) BAD WSDL generation from Java class

     [ https://issues.apache.org/jira/browse/AXIS2-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitor Manuel Alves Rodrigues closed AXIS2-4650.
-----------------------------------------------

    Resolution: Fixed

> BAD WSDL generation from Java class
> -----------------------------------
>
>                 Key: AXIS2-4650
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4650
>             Project: Axis2
>          Issue Type: Bug
>         Environment: OS: Debian GNU/Linux
> WSO2 WSAS v3.1.3
>            Reporter: Vitor Manuel Alves Rodrigues
>         Attachments: entity.txt, tree_of_org.txt
>
>
> Hello everyone,
> I have this snippet from the WSDL:
> ...
> <xs:complexType name="EntityCompanyWithCountType">
>                 <xs:sequence>
>                     <xs:element minOccurs="0" name="count" nillable="true" type="xs:int" />
>                     <xs:element maxOccurs="unbounded" minOccurs="0" name="entity" nillable="true" />
>                 </xs:sequence>
> </xs:complexType>
> ...
> The correct would be this:
> <xs:complexType name="EntityCompanyWithCountType">
>                 <xs:sequence>
>                     <xs:element minOccurs="0" name="count" nillable="true" type="xs:int" />
>                     <xs:element maxOccurs="unbounded" minOccurs="0" name="entity" type="ax2329:EntityCompanyType" nillable="true" />
>                 </xs:sequence>
> </xs:complexType>
> I have this in Java:
> public class Entity {
> ...
> /*Inner class*/
>        public class EntityCompanyWithContactType {
>         private EntityCompanyType entity;
>         private DigitalAddress.DigitalAddressType[] digital_address;
>         private PhoneNumber.PhoneNumberType[] phone_number;
>         private PostalAddress.PostalAddressType[] postal_address;
>         private PostalAddress.PostalAddressPhoneNumberType[] postal_address__phone_number;
>             /**
>          * The default constructor.
>          */
>         public EntityCompanyWithContactType(){}
>         /**
>          * The constructor with all the input for one record.
>          * @param entity value;
>          * @param digital_address list value;
>          * @param phone_number list value;
>          * @param postal_address list value;
>          * @param postal_address__phone_number list value;
>          */
>         public EntityCompanyWithContactType(EntityCompanyType entity, DigitalAddress.DigitalAddressType[] digital_address, PhoneNumber.PhoneNumberType[] phone_number, PostalAddress.PostalAddressType[] postal_address, PostalAddress.PostalAddressPhoneNumberType[] postal_address__phone_number) { .. }
>  
> .....
> }
> I'm using "ant install" -> <echo> - install: build of AAR and deploy into WSAS. Also generates API documentation.</echo>
> My build.xml  :
> ..
> <target name="install"
>           depends="build-service,doc"
>           description="Installs the service package AAR into the Web service server repository.">
>     <echo message="Copying the created AAR files into the repository..."/>
>     <copy toDir="${repository.dir}/${services.dir}">
>       <fileset dir="${services.dir}">
>         <include name="**/*.aar"/>
>       </fileset>
>     </copy>
>   </target>
> ...
> What am i doing wrong? Help. :(
> For more info, please please contact me :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Right - we are actually planning on generating javascript code (for 
browser-based invocations) from the WSDL
file. I  do know WSO2 and CXF are both doing something similar so I will 
look into that as well.
I also use the Content Type field of the HTTP to identify the nature of 
the incoming request - the links you sent
below are pretty good.

Thanks very much - I will follow up on this and let you know how it goes.

Sagara Gunathunga wrote:
>
>
> On Fri, Mar 19, 2010 at 2:37 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>
>     Thanks Sagara ---
>     Good links - I heard of Woden before but I never looked into it.
>     If I don't want to parse the document manually what is the
>     second choice (in the case of REST I mean). I know with SOAP how
>     things work the stubs etc. But what does the REST
>     case generate? Still stubs which means the application needs to
>     use them to implement the invocations?
>
>
> For REST invocation you can use Axis2 ServiceClient in a programmatic 
> way or simply you can use a web browser with url encoded request ( 
> e.g. - 
> http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF 
> <http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF> 
> ).
>
> Axis2 engine use HTTP Method of the incoming request or content type 
> of  the incoming request to identify REST request. This may help out 
> [1] [2]
>
> [1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
> [2] - http://wso2.org/library/175
>
> Thanks,
>
>
>     Thanks
>
>     Sagara Gunathunga wrote:
>
>         Hi,
>
>         It is possible to use WSDL 2.0 to represent any REST service
>         in the same way as SOAP services [1] , if you want to parse
>         WSDL 2.0 manually you can use Apache Woden [2] for that , as
>         an example have look at this class used in Axis2 [3].
>
>         Thanks,
>
>         [1] -
>         http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>         [2] - http://ws.apache.org/woden/
>         [3] -
>         http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
>         On Thu, Mar 18, 2010 at 11:01 AM, Demetris
>         <demetris@ece.neu.edu <ma...@ece.neu.edu>
>         <mailto:demetris@ece.neu.edu <ma...@ece.neu.edu>>>
>         wrote:
>
>            Hi all,
>
>            Are there any examples of parsing the WSDL 2.0 manually at the
>            application level (instead of
>            the Axis engine doing it?). I am assuming the parsing of a WSDL
>            2.0 representing a SOAP
>            service would be different than the REST one - where are these
>            capabilities in the distribution
>            so that I can make use of them?
>
>            Thanks very much in advance
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail:
>         java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail:
>         java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>
>         -- 
>         Sagara Gunathunga
>
>         Blog - http://ssagara.blogspot.com
>         Web - http://people.apache.org/~sagara/
>         <http://people.apache.org/%7Esagara/>
>         <http://people.apache.org/%7Esagara/>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Right - we are actually planning on generating javascript code (for 
browser-based invocations) from the WSDL
file. I  do know WSO2 and CXF are both doing something similar so I will 
look into that as well.
I also use the Content Type field of the HTTP to identify the nature of 
the incoming request - the links you sent
below are pretty good.

Thanks very much - I will follow up on this and let you know how it goes.

Sagara Gunathunga wrote:
>
>
> On Fri, Mar 19, 2010 at 2:37 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>
>     Thanks Sagara ---
>     Good links - I heard of Woden before but I never looked into it.
>     If I don't want to parse the document manually what is the
>     second choice (in the case of REST I mean). I know with SOAP how
>     things work the stubs etc. But what does the REST
>     case generate? Still stubs which means the application needs to
>     use them to implement the invocations?
>
>
> For REST invocation you can use Axis2 ServiceClient in a programmatic 
> way or simply you can use a web browser with url encoded request ( 
> e.g. - 
> http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF 
> <http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF> 
> ).
>
> Axis2 engine use HTTP Method of the incoming request or content type 
> of  the incoming request to identify REST request. This may help out 
> [1] [2]
>
> [1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
> [2] - http://wso2.org/library/175
>
> Thanks,
>
>
>     Thanks
>
>     Sagara Gunathunga wrote:
>
>         Hi,
>
>         It is possible to use WSDL 2.0 to represent any REST service
>         in the same way as SOAP services [1] , if you want to parse
>         WSDL 2.0 manually you can use Apache Woden [2] for that , as
>         an example have look at this class used in Axis2 [3].
>
>         Thanks,
>
>         [1] -
>         http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>         [2] - http://ws.apache.org/woden/
>         [3] -
>         http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
>         On Thu, Mar 18, 2010 at 11:01 AM, Demetris
>         <demetris@ece.neu.edu <ma...@ece.neu.edu>
>         <mailto:demetris@ece.neu.edu <ma...@ece.neu.edu>>>
>         wrote:
>
>            Hi all,
>
>            Are there any examples of parsing the WSDL 2.0 manually at the
>            application level (instead of
>            the Axis engine doing it?). I am assuming the parsing of a WSDL
>            2.0 representing a SOAP
>            service would be different than the REST one - where are these
>            capabilities in the distribution
>            so that I can make use of them?
>
>            Thanks very much in advance
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail:
>         java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail:
>         java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>
>         -- 
>         Sagara Gunathunga
>
>         Blog - http://ssagara.blogspot.com
>         Web - http://people.apache.org/~sagara/
>         <http://people.apache.org/%7Esagara/>
>         <http://people.apache.org/%7Esagara/>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Right - we are actually planning on generating javascript code (for 
browser-based invocations) from the WSDL
file. I  do know WSO2 and CXF are both doing something similar so I will 
look into that as well.
I also use the Content Type field of the HTTP to identify the nature of 
the incoming request - the links you sent
below are pretty good.

Thanks very much - I will follow up on this and let you know how it goes.

Sagara Gunathunga wrote:
>
>
> On Fri, Mar 19, 2010 at 2:37 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>
>     Thanks Sagara ---
>     Good links - I heard of Woden before but I never looked into it.
>     If I don't want to parse the document manually what is the
>     second choice (in the case of REST I mean). I know with SOAP how
>     things work the stubs etc. But what does the REST
>     case generate? Still stubs which means the application needs to
>     use them to implement the invocations?
>
>
> For REST invocation you can use Axis2 ServiceClient in a programmatic 
> way or simply you can use a web browser with url encoded request ( 
> e.g. - 
> http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF 
> <http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF> 
> ).
>
> Axis2 engine use HTTP Method of the incoming request or content type 
> of  the incoming request to identify REST request. This may help out 
> [1] [2]
>
> [1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
> [2] - http://wso2.org/library/175
>
> Thanks,
>
>
>     Thanks
>
>     Sagara Gunathunga wrote:
>
>         Hi,
>
>         It is possible to use WSDL 2.0 to represent any REST service
>         in the same way as SOAP services [1] , if you want to parse
>         WSDL 2.0 manually you can use Apache Woden [2] for that , as
>         an example have look at this class used in Axis2 [3].
>
>         Thanks,
>
>         [1] -
>         http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>         [2] - http://ws.apache.org/woden/
>         [3] -
>         http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
>         On Thu, Mar 18, 2010 at 11:01 AM, Demetris
>         <demetris@ece.neu.edu <ma...@ece.neu.edu>
>         <mailto:demetris@ece.neu.edu <ma...@ece.neu.edu>>>
>         wrote:
>
>            Hi all,
>
>            Are there any examples of parsing the WSDL 2.0 manually at the
>            application level (instead of
>            the Axis engine doing it?). I am assuming the parsing of a WSDL
>            2.0 representing a SOAP
>            service would be different than the REST one - where are these
>            capabilities in the distribution
>            so that I can make use of them?
>
>            Thanks very much in advance
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail:
>         java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail:
>         java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>
>         -- 
>         Sagara Gunathunga
>
>         Blog - http://ssagara.blogspot.com
>         Web - http://people.apache.org/~sagara/
>         <http://people.apache.org/%7Esagara/>
>         <http://people.apache.org/%7Esagara/>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Right - we are actually planning on generating javascript code (for 
browser-based invocations) from the WSDL
file. I  do know WSO2 and CXF are both doing something similar so I will 
look into that as well.
I also use the Content Type field of the HTTP to identify the nature of 
the incoming request - the links you sent
below are pretty good.

Thanks very much - I will follow up on this and let you know how it goes.

Sagara Gunathunga wrote:
>
>
> On Fri, Mar 19, 2010 at 2:37 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>
>     Thanks Sagara ---
>     Good links - I heard of Woden before but I never looked into it.
>     If I don't want to parse the document manually what is the
>     second choice (in the case of REST I mean). I know with SOAP how
>     things work the stubs etc. But what does the REST
>     case generate? Still stubs which means the application needs to
>     use them to implement the invocations?
>
>
> For REST invocation you can use Axis2 ServiceClient in a programmatic 
> way or simply you can use a web browser with url encoded request ( 
> e.g. - 
> http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF 
> <http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF> 
> ).
>
> Axis2 engine use HTTP Method of the incoming request or content type 
> of  the incoming request to identify REST request. This may help out 
> [1] [2]
>
> [1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
> [2] - http://wso2.org/library/175
>
> Thanks,
>
>
>     Thanks
>
>     Sagara Gunathunga wrote:
>
>         Hi,
>
>         It is possible to use WSDL 2.0 to represent any REST service
>         in the same way as SOAP services [1] , if you want to parse
>         WSDL 2.0 manually you can use Apache Woden [2] for that , as
>         an example have look at this class used in Axis2 [3].
>
>         Thanks,
>
>         [1] -
>         http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>         [2] - http://ws.apache.org/woden/
>         [3] -
>         http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
>         On Thu, Mar 18, 2010 at 11:01 AM, Demetris
>         <demetris@ece.neu.edu <ma...@ece.neu.edu>
>         <mailto:demetris@ece.neu.edu <ma...@ece.neu.edu>>>
>         wrote:
>
>            Hi all,
>
>            Are there any examples of parsing the WSDL 2.0 manually at the
>            application level (instead of
>            the Axis engine doing it?). I am assuming the parsing of a WSDL
>            2.0 representing a SOAP
>            service would be different than the REST one - where are these
>            capabilities in the distribution
>            so that I can make use of them?
>
>            Thanks very much in advance
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail:
>         java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail:
>         java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>
>         -- 
>         Sagara Gunathunga
>
>         Blog - http://ssagara.blogspot.com
>         Web - http://people.apache.org/~sagara/
>         <http://people.apache.org/%7Esagara/>
>         <http://people.apache.org/%7Esagara/>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Right - we are actually planning on generating javascript code (for 
browser-based invocations) from the WSDL
file. I  do know WSO2 and CXF are both doing something similar so I will 
look into that as well.
I also use the Content Type field of the HTTP to identify the nature of 
the incoming request - the links you sent
below are pretty good.

Thanks very much - I will follow up on this and let you know how it goes.

Sagara Gunathunga wrote:
>
>
> On Fri, Mar 19, 2010 at 2:37 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>
>     Thanks Sagara ---
>     Good links - I heard of Woden before but I never looked into it.
>     If I don't want to parse the document manually what is the
>     second choice (in the case of REST I mean). I know with SOAP how
>     things work the stubs etc. But what does the REST
>     case generate? Still stubs which means the application needs to
>     use them to implement the invocations?
>
>
> For REST invocation you can use Axis2 ServiceClient in a programmatic 
> way or simply you can use a web browser with url encoded request ( 
> e.g. - 
> http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF 
> <http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF> 
> ).
>
> Axis2 engine use HTTP Method of the incoming request or content type 
> of  the incoming request to identify REST request. This may help out 
> [1] [2]
>
> [1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
> [2] - http://wso2.org/library/175
>
> Thanks,
>
>
>     Thanks
>
>     Sagara Gunathunga wrote:
>
>         Hi,
>
>         It is possible to use WSDL 2.0 to represent any REST service
>         in the same way as SOAP services [1] , if you want to parse
>         WSDL 2.0 manually you can use Apache Woden [2] for that , as
>         an example have look at this class used in Axis2 [3].
>
>         Thanks,
>
>         [1] -
>         http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>         [2] - http://ws.apache.org/woden/
>         [3] -
>         http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
>         On Thu, Mar 18, 2010 at 11:01 AM, Demetris
>         <demetris@ece.neu.edu <ma...@ece.neu.edu>
>         <mailto:demetris@ece.neu.edu <ma...@ece.neu.edu>>>
>         wrote:
>
>            Hi all,
>
>            Are there any examples of parsing the WSDL 2.0 manually at the
>            application level (instead of
>            the Axis engine doing it?). I am assuming the parsing of a WSDL
>            2.0 representing a SOAP
>            service would be different than the REST one - where are these
>            capabilities in the distribution
>            so that I can make use of them?
>
>            Thanks very much in advance
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail:
>         java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-unsubscribe@axis.apache.org
>         <ma...@axis.apache.org>>
>
>            For additional commands, e-mail:
>         java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>
>            <mailto:java-dev-help@axis.apache.org
>         <ma...@axis.apache.org>>
>
>
>
>
>
>         -- 
>         Sagara Gunathunga
>
>         Blog - http://ssagara.blogspot.com
>         Web - http://people.apache.org/~sagara/
>         <http://people.apache.org/%7Esagara/>
>         <http://people.apache.org/%7Esagara/>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 19, 2010 at 2:37 AM, Demetris <de...@ece.neu.edu> wrote:

>
> Thanks Sagara ---
> Good links - I heard of Woden before but I never looked into it. If I don't
> want to parse the document manually what is the
> second choice (in the case of REST I mean). I know with SOAP how things
> work the stubs etc. But what does the REST
> case generate? Still stubs which means the application needs to use them to
> implement the invocations?
>

For REST invocation you can use Axis2 ServiceClient in a programmatic way or
simply you can use a web browser with url encoded request ( e.g. -
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF).

Axis2 engine use HTTP Method of the incoming request or content type of  the
incoming request to identify REST request. This may help out [1] [2]

[1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
[2] - http://wso2.org/library/175

Thanks,

>
> Thanks
>
> Sagara Gunathunga wrote:
>
>> Hi,
>>
>> It is possible to use WSDL 2.0 to represent any REST service in the same
>> way as SOAP services [1] , if you want to parse WSDL 2.0 manually you can
>> use Apache Woden [2] for that , as an example have look at this class used
>> in Axis2 [3].
>>
>> Thanks,
>>
>> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>> [2] - http://ws.apache.org/woden/
>> [3] -
>> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>>
>> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu <mailto:
>> demetris@ece.neu.edu>> wrote:
>>
>>    Hi all,
>>
>>    Are there any examples of parsing the WSDL 2.0 manually at the
>>    application level (instead of
>>    the Axis engine doing it?). I am assuming the parsing of a WSDL
>>    2.0 representing a SOAP
>>    service would be different than the REST one - where are these
>>    capabilities in the distribution
>>    so that I can make use of them?
>>
>>    Thanks very much in advance
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: java-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/><
>> http://people.apache.org/%7Esagara/>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 19, 2010 at 2:37 AM, Demetris <de...@ece.neu.edu> wrote:

>
> Thanks Sagara ---
> Good links - I heard of Woden before but I never looked into it. If I don't
> want to parse the document manually what is the
> second choice (in the case of REST I mean). I know with SOAP how things
> work the stubs etc. But what does the REST
> case generate? Still stubs which means the application needs to use them to
> implement the invocations?
>

For REST invocation you can use Axis2 ServiceClient in a programmatic way or
simply you can use a web browser with url encoded request ( e.g. -
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF).

Axis2 engine use HTTP Method of the incoming request or content type of  the
incoming request to identify REST request. This may help out [1] [2]

[1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
[2] - http://wso2.org/library/175

Thanks,

>
> Thanks
>
> Sagara Gunathunga wrote:
>
>> Hi,
>>
>> It is possible to use WSDL 2.0 to represent any REST service in the same
>> way as SOAP services [1] , if you want to parse WSDL 2.0 manually you can
>> use Apache Woden [2] for that , as an example have look at this class used
>> in Axis2 [3].
>>
>> Thanks,
>>
>> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>> [2] - http://ws.apache.org/woden/
>> [3] -
>> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>>
>> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu <mailto:
>> demetris@ece.neu.edu>> wrote:
>>
>>    Hi all,
>>
>>    Are there any examples of parsing the WSDL 2.0 manually at the
>>    application level (instead of
>>    the Axis engine doing it?). I am assuming the parsing of a WSDL
>>    2.0 representing a SOAP
>>    service would be different than the REST one - where are these
>>    capabilities in the distribution
>>    so that I can make use of them?
>>
>>    Thanks very much in advance
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: java-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/><
>> http://people.apache.org/%7Esagara/>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 19, 2010 at 2:37 AM, Demetris <de...@ece.neu.edu> wrote:

>
> Thanks Sagara ---
> Good links - I heard of Woden before but I never looked into it. If I don't
> want to parse the document manually what is the
> second choice (in the case of REST I mean). I know with SOAP how things
> work the stubs etc. But what does the REST
> case generate? Still stubs which means the application needs to use them to
> implement the invocations?
>

For REST invocation you can use Axis2 ServiceClient in a programmatic way or
simply you can use a web browser with url encoded request ( e.g. -
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF).

Axis2 engine use HTTP Method of the incoming request or content type of  the
incoming request to identify REST request. This may help out [1] [2]

[1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
[2] - http://wso2.org/library/175

Thanks,

>
> Thanks
>
> Sagara Gunathunga wrote:
>
>> Hi,
>>
>> It is possible to use WSDL 2.0 to represent any REST service in the same
>> way as SOAP services [1] , if you want to parse WSDL 2.0 manually you can
>> use Apache Woden [2] for that , as an example have look at this class used
>> in Axis2 [3].
>>
>> Thanks,
>>
>> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>> [2] - http://ws.apache.org/woden/
>> [3] -
>> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>>
>> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu <mailto:
>> demetris@ece.neu.edu>> wrote:
>>
>>    Hi all,
>>
>>    Are there any examples of parsing the WSDL 2.0 manually at the
>>    application level (instead of
>>    the Axis engine doing it?). I am assuming the parsing of a WSDL
>>    2.0 representing a SOAP
>>    service would be different than the REST one - where are these
>>    capabilities in the distribution
>>    so that I can make use of them?
>>
>>    Thanks very much in advance
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: java-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/><
>> http://people.apache.org/%7Esagara/>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 19, 2010 at 2:37 AM, Demetris <de...@ece.neu.edu> wrote:

>
> Thanks Sagara ---
> Good links - I heard of Woden before but I never looked into it. If I don't
> want to parse the document manually what is the
> second choice (in the case of REST I mean). I know with SOAP how things
> work the stubs etc. But what does the REST
> case generate? Still stubs which means the application needs to use them to
> implement the invocations?
>

For REST invocation you can use Axis2 ServiceClient in a programmatic way or
simply you can use a web browser with url encoded request ( e.g. -
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF).

Axis2 engine use HTTP Method of the incoming request or content type of  the
incoming request to identify REST request. This may help out [1] [2]

[1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
[2] - http://wso2.org/library/175

Thanks,

>
> Thanks
>
> Sagara Gunathunga wrote:
>
>> Hi,
>>
>> It is possible to use WSDL 2.0 to represent any REST service in the same
>> way as SOAP services [1] , if you want to parse WSDL 2.0 manually you can
>> use Apache Woden [2] for that , as an example have look at this class used
>> in Axis2 [3].
>>
>> Thanks,
>>
>> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>> [2] - http://ws.apache.org/woden/
>> [3] -
>> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>>
>> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu <mailto:
>> demetris@ece.neu.edu>> wrote:
>>
>>    Hi all,
>>
>>    Are there any examples of parsing the WSDL 2.0 manually at the
>>    application level (instead of
>>    the Axis engine doing it?). I am assuming the parsing of a WSDL
>>    2.0 representing a SOAP
>>    service would be different than the REST one - where are these
>>    capabilities in the distribution
>>    so that I can make use of them?
>>
>>    Thanks very much in advance
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: java-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/><
>> http://people.apache.org/%7Esagara/>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Mar 19, 2010 at 2:37 AM, Demetris <de...@ece.neu.edu> wrote:

>
> Thanks Sagara ---
> Good links - I heard of Woden before but I never looked into it. If I don't
> want to parse the document manually what is the
> second choice (in the case of REST I mean). I know with SOAP how things
> work the stubs etc. But what does the REST
> case generate? Still stubs which means the application needs to use them to
> implement the invocations?
>

For REST invocation you can use Axis2 ServiceClient in a programmatic way or
simply you can use a web browser with url encoded request ( e.g. -
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC&productCode=DEF).

Axis2 engine use HTTP Method of the incoming request or content type of  the
incoming request to identify REST request. This may help out [1] [2]

[1] - http://ws.apache.org/axis2/1_5_1/rest-ws.html
[2] - http://wso2.org/library/175

Thanks,

>
> Thanks
>
> Sagara Gunathunga wrote:
>
>> Hi,
>>
>> It is possible to use WSDL 2.0 to represent any REST service in the same
>> way as SOAP services [1] , if you want to parse WSDL 2.0 manually you can
>> use Apache Woden [2] for that , as an example have look at this class used
>> in Axis2 [3].
>>
>> Thanks,
>>
>> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
>> [2] - http://ws.apache.org/woden/
>> [3] -
>> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>>
>> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu <mailto:
>> demetris@ece.neu.edu>> wrote:
>>
>>    Hi all,
>>
>>    Are there any examples of parsing the WSDL 2.0 manually at the
>>    application level (instead of
>>    the Axis engine doing it?). I am assuming the parsing of a WSDL
>>    2.0 representing a SOAP
>>    service would be different than the REST one - where are these
>>    capabilities in the distribution
>>    so that I can make use of them?
>>
>>    Thanks very much in advance
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>    For additional commands, e-mail: java-dev-help@axis.apache.org
>>    <ma...@axis.apache.org>
>>
>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/><
>> http://people.apache.org/%7Esagara/>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Thanks Sagara ---
Good links - I heard of Woden before but I never looked into it. If I 
don't want to parse the document manually what is the
second choice (in the case of REST I mean). I know with SOAP how things 
work the stubs etc. But what does the REST
case generate? Still stubs which means the application needs to use them 
to implement the invocations?

Thanks

Sagara Gunathunga wrote:
> Hi,
>
> It is possible to use WSDL 2.0 to represent any REST service in the 
> same way as SOAP services [1] , if you want to parse WSDL 2.0 manually 
> you can use Apache Woden [2] for that , as an example have look at 
> this class used in Axis2 [3].
>
> Thanks,
>
> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
> [2] - http://ws.apache.org/woden/
> [3] - 
> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>     Hi all,
>
>     Are there any examples of parsing the WSDL 2.0 manually at the
>     application level (instead of
>     the Axis engine doing it?). I am assuming the parsing of a WSDL
>     2.0 representing a SOAP
>     service would be different than the REST one - where are these
>     capabilities in the distribution
>     so that I can make use of them?
>
>     Thanks very much in advance
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Thanks Sagara ---
Good links - I heard of Woden before but I never looked into it. If I 
don't want to parse the document manually what is the
second choice (in the case of REST I mean). I know with SOAP how things 
work the stubs etc. But what does the REST
case generate? Still stubs which means the application needs to use them 
to implement the invocations?

Thanks

Sagara Gunathunga wrote:
> Hi,
>
> It is possible to use WSDL 2.0 to represent any REST service in the 
> same way as SOAP services [1] , if you want to parse WSDL 2.0 manually 
> you can use Apache Woden [2] for that , as an example have look at 
> this class used in Axis2 [3].
>
> Thanks,
>
> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
> [2] - http://ws.apache.org/woden/
> [3] - 
> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>     Hi all,
>
>     Are there any examples of parsing the WSDL 2.0 manually at the
>     application level (instead of
>     the Axis engine doing it?). I am assuming the parsing of a WSDL
>     2.0 representing a SOAP
>     service would be different than the REST one - where are these
>     capabilities in the distribution
>     so that I can make use of them?
>
>     Thanks very much in advance
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Thanks Sagara ---
Good links - I heard of Woden before but I never looked into it. If I 
don't want to parse the document manually what is the
second choice (in the case of REST I mean). I know with SOAP how things 
work the stubs etc. But what does the REST
case generate? Still stubs which means the application needs to use them 
to implement the invocations?

Thanks

Sagara Gunathunga wrote:
> Hi,
>
> It is possible to use WSDL 2.0 to represent any REST service in the 
> same way as SOAP services [1] , if you want to parse WSDL 2.0 manually 
> you can use Apache Woden [2] for that , as an example have look at 
> this class used in Axis2 [3].
>
> Thanks,
>
> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
> [2] - http://ws.apache.org/woden/
> [3] - 
> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>     Hi all,
>
>     Are there any examples of parsing the WSDL 2.0 manually at the
>     application level (instead of
>     the Axis engine doing it?). I am assuming the parsing of a WSDL
>     2.0 representing a SOAP
>     service would be different than the REST one - where are these
>     capabilities in the distribution
>     so that I can make use of them?
>
>     Thanks very much in advance
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Thanks Sagara ---
Good links - I heard of Woden before but I never looked into it. If I 
don't want to parse the document manually what is the
second choice (in the case of REST I mean). I know with SOAP how things 
work the stubs etc. But what does the REST
case generate? Still stubs which means the application needs to use them 
to implement the invocations?

Thanks

Sagara Gunathunga wrote:
> Hi,
>
> It is possible to use WSDL 2.0 to represent any REST service in the 
> same way as SOAP services [1] , if you want to parse WSDL 2.0 manually 
> you can use Apache Woden [2] for that , as an example have look at 
> this class used in Axis2 [3].
>
> Thanks,
>
> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
> [2] - http://ws.apache.org/woden/
> [3] - 
> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>     Hi all,
>
>     Are there any examples of parsing the WSDL 2.0 manually at the
>     application level (instead of
>     the Axis engine doing it?). I am assuming the parsing of a WSDL
>     2.0 representing a SOAP
>     service would be different than the REST one - where are these
>     capabilities in the distribution
>     so that I can make use of them?
>
>     Thanks very much in advance
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Thanks Sagara ---
Good links - I heard of Woden before but I never looked into it. If I 
don't want to parse the document manually what is the
second choice (in the case of REST I mean). I know with SOAP how things 
work the stubs etc. But what does the REST
case generate? Still stubs which means the application needs to use them 
to implement the invocations?

Thanks

Sagara Gunathunga wrote:
> Hi,
>
> It is possible to use WSDL 2.0 to represent any REST service in the 
> same way as SOAP services [1] , if you want to parse WSDL 2.0 manually 
> you can use Apache Woden [2] for that , as an example have look at 
> this class used in Axis2 [3].
>
> Thanks,
>
> [1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
> [2] - http://ws.apache.org/woden/
> [3] - 
> http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
>
> On Thu, Mar 18, 2010 at 11:01 AM, Demetris <demetris@ece.neu.edu 
> <ma...@ece.neu.edu>> wrote:
>
>     Hi all,
>
>     Are there any examples of parsing the WSDL 2.0 manually at the
>     application level (instead of
>     the Axis engine doing it?). I am assuming the parsing of a WSDL
>     2.0 representing a SOAP
>     service would be different than the REST one - where are these
>     capabilities in the distribution
>     so that I can make use of them?
>
>     Thanks very much in advance
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>     <ma...@axis.apache.org>
>     For additional commands, e-mail: java-dev-help@axis.apache.org
>     <ma...@axis.apache.org>
>
>
>
>
> -- 
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/ 
> <http://people.apache.org/%7Esagara/>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,

It is possible to use WSDL 2.0 to represent any REST service in the same way
as SOAP services [1] , if you want to parse WSDL 2.0 manually you can use
Apache Woden [2] for that , as an example have look at this class used in
Axis2 [3].

Thanks,

[1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
[2] - http://ws.apache.org/woden/
[3] -
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

On Thu, Mar 18, 2010 at 11:01 AM, Demetris <de...@ece.neu.edu> wrote:

> Hi all,
>
> Are there any examples of parsing the WSDL 2.0 manually at the application
> level (instead of
> the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0
> representing a SOAP
> service would be different than the REST one - where are these capabilities
> in the distribution
> so that I can make use of them?
>
> Thanks very much in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,

It is possible to use WSDL 2.0 to represent any REST service in the same way
as SOAP services [1] , if you want to parse WSDL 2.0 manually you can use
Apache Woden [2] for that , as an example have look at this class used in
Axis2 [3].

Thanks,

[1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
[2] - http://ws.apache.org/woden/
[3] -
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

On Thu, Mar 18, 2010 at 11:01 AM, Demetris <de...@ece.neu.edu> wrote:

> Hi all,
>
> Are there any examples of parsing the WSDL 2.0 manually at the application
> level (instead of
> the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0
> representing a SOAP
> service would be different than the REST one - where are these capabilities
> in the distribution
> so that I can make use of them?
>
> Thanks very much in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,

It is possible to use WSDL 2.0 to represent any REST service in the same way
as SOAP services [1] , if you want to parse WSDL 2.0 manually you can use
Apache Woden [2] for that , as an example have look at this class used in
Axis2 [3].

Thanks,

[1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
[2] - http://ws.apache.org/woden/
[3] -
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

On Thu, Mar 18, 2010 at 11:01 AM, Demetris <de...@ece.neu.edu> wrote:

> Hi all,
>
> Are there any examples of parsing the WSDL 2.0 manually at the application
> level (instead of
> the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0
> representing a SOAP
> service would be different than the REST one - where are these capabilities
> in the distribution
> so that I can make use of them?
>
> Thanks very much in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,

It is possible to use WSDL 2.0 to represent any REST service in the same way
as SOAP services [1] , if you want to parse WSDL 2.0 manually you can use
Apache Woden [2] for that , as an example have look at this class used in
Axis2 [3].

Thanks,

[1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
[2] - http://ws.apache.org/woden/
[3] -
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

On Thu, Mar 18, 2010 at 11:01 AM, Demetris <de...@ece.neu.edu> wrote:

> Hi all,
>
> Are there any examples of parsing the WSDL 2.0 manually at the application
> level (instead of
> the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0
> representing a SOAP
> service would be different than the REST one - where are these capabilities
> in the distribution
> so that I can make use of them?
>
> Thanks very much in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: WSDL 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,

It is possible to use WSDL 2.0 to represent any REST service in the same way
as SOAP services [1] , if you want to parse WSDL 2.0 manually you can use
Apache Woden [2] for that , as an example have look at this class used in
Axis2 [3].

Thanks,

[1] - http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/
[2] - http://ws.apache.org/woden/
[3] -
http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

On Thu, Mar 18, 2010 at 11:01 AM, Demetris <de...@ece.neu.edu> wrote:

> Hi all,
>
> Are there any examples of parsing the WSDL 2.0 manually at the application
> level (instead of
> the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0
> representing a SOAP
> service would be different than the REST one - where are these capabilities
> in the distribution
> so that I can make use of them?
>
> Thanks very much in advance
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

Are there any examples of parsing the WSDL 2.0 manually at the 
application level (instead of
the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0 
representing a SOAP
service would be different than the REST one - where are these 
capabilities in the distribution
so that I can make use of them?

Thanks very much in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

Are there any examples of parsing the WSDL 2.0 manually at the 
application level (instead of
the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0 
representing a SOAP
service would be different than the REST one - where are these 
capabilities in the distribution
so that I can make use of them?

Thanks very much in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

Are there any examples of parsing the WSDL 2.0 manually at the 
application level (instead of
the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0 
representing a SOAP
service would be different than the REST one - where are these 
capabilities in the distribution
so that I can make use of them?

Thanks very much in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

Are there any examples of parsing the WSDL 2.0 manually at the 
application level (instead of
the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0 
representing a SOAP
service would be different than the REST one - where are these 
capabilities in the distribution
so that I can make use of them?

Thanks very much in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


WSDL 2.0

Posted by Demetris <de...@ece.neu.edu>.
Hi all,

Are there any examples of parsing the WSDL 2.0 manually at the 
application level (instead of
the Axis engine doing it?). I am assuming the parsing of a WSDL 2.0 
representing a SOAP
service would be different than the REST one - where are these 
capabilities in the distribution
so that I can make use of them?

Thanks very much in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org