You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Gordon Gekko <di...@tiscalinet.it> on 2005/10/03 12:17:19 UTC

[axis2 v0.92] wsdl file

Hi all!

In axis2 v0.91 in order to associate a wsdl file to a web service, I 
needed to put in the META-INF directory and name service.wsdl.  But in 
axis2 v0.92 this doesn't seem to work anymore.  What should I do?

Many thanks,

Diego

Re: [axis2 v0.92] wsdl file

Posted by Deepal Jayasinghe <de...@opensource.lk>.
hi ;

small correction;
>  <services>
>     <service name="MySerevice">
>         ..........................
>         ..........................
>     </service>
>  </services>

sorry abt that

Thanks,
 Deepal
................................................................
~Future is Open~

----- Original Message ----- 
From: "Deepal Jayasinghe" <de...@opensource.lk>
To: <ax...@ws.apache.org>
Sent: Monday, October 03, 2005 5:24 PM
Subject: Re: [axis2 v0.92] wsdl file


> Hi Gordon;
>
> It should work , but you need to do some modifications
> 1. You need to have services.xml instead of service.xml
> 2. There should be a service element in side services.xml similar to 
> service element in WSDL file
>
> as an example , say you have a wsdl with following service element
>
>  <service name="MySerevice">
>        <port name="MySerevicePort" binding="mh:MySereviceBinding">
>            <soap:address 
> location="http://www.Monson-Haefel.com/jwsbook/MySereviceService"/>
>        </port>
>    </service>
>
> Then the services.xml should look like follows
> op 1 :
>  <services>
>     <service MySerevice>
>         ..........................
>         ..........................
>     </service>
>  </services>
>
> op 2 :  there should be a service archive file with the name 
> MySerevice.aar and its services.xml should look like follows
>  <service >
>     ..........................
>   </service>
>
>
>
>
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
> ----- Original Message ----- 
> From: "Gordon Gekko" <di...@tiscalinet.it>
> To: <ax...@ws.apache.org>
> Sent: Monday, October 03, 2005 4:17 PM
> Subject: [axis2 v0.92] wsdl file
>
>
>> Hi all!
>>
>> In axis2 v0.91 in order to associate a wsdl file to a web service, I 
>> needed to put in the META-INF directory and name service.wsdl.  But in 
>> axis2 v0.92 this doesn't seem to work anymore.  What should I do?
>>
>> Many thanks,
>>
>> Diego
>>
>
>
> 



Re: [axis2 v0.92] wsdl file

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Gordon;

It should work , but you need to do some modifications
 1. You need to have services.xml instead of service.xml
 2. There should be a service element in side services.xml similar to 
service element in WSDL file

as an example , say you have a wsdl with following service element

  <service name="MySerevice">
        <port name="MySerevicePort" binding="mh:MySereviceBinding">
            <soap:address 
location="http://www.Monson-Haefel.com/jwsbook/MySereviceService"/>
        </port>
    </service>

Then the services.xml should look like follows
 op 1 :
  <services>
     <service MySerevice>
         ..........................
         ..........................
     </service>
  </services>

op 2 :  there should be a service archive file with the name MySerevice.aar 
and its services.xml should look like follows
  <service >
     ..........................
   </service>




Thanks,
 Deepal
................................................................
~Future is Open~

----- Original Message ----- 
From: "Gordon Gekko" <di...@tiscalinet.it>
To: <ax...@ws.apache.org>
Sent: Monday, October 03, 2005 4:17 PM
Subject: [axis2 v0.92] wsdl file


> Hi all!
>
> In axis2 v0.91 in order to associate a wsdl file to a web service, I 
> needed to put in the META-INF directory and name service.wsdl.  But in 
> axis2 v0.92 this doesn't seem to work anymore.  What should I do?
>
> Many thanks,
>
> Diego
>