You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/10/30 13:36:10 UTC

svn commit: r469137 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

Author: deepal
Date: Mon Oct 30 04:36:08 2006
New Revision: 469137

URL: http://svn.apache.org/viewvc?view=rev&rev=469137
Log:
fixing AXIS2-1550
there was a problem in services.xml.

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml?view=diff&rev=469137&r1=469136&r2=469137
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml Mon Oct 30 04:36:08 2006
@@ -1,11 +1,13 @@
 <service name="AddressBookService" scope="application">
+    <description>
+        This is sample service 2
+    </description>
+    <messageReceivers>
+        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
+                         class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
+        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
+                         class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
+    </messageReceivers>
     <parameter name="ServiceClass" locked="false">sample.addressbook.service.AddressBookService</parameter>
-    <operation name="addEntry">
-        <actionMapping>urn:addEntry</actionMapping>
-        <messageReceiver class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
-    </operation>
-    <operation name="findEntry">
-        <actionMapping>urn:findEntry</actionMapping>
-        <messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
-    </operation>
+
 </service>



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


Re: svn commit: r469137 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

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

Sanjiva Weerawarana wrote:

>On Mon, 2006-10-30 at 12:36 +0000, deepal@apache.org wrote:
>  
>
>>Author: deepal
>>Date: Mon Oct 30 04:36:08 2006
>>New Revision: 469137
>>
>>URL: http://svn.apache.org/viewvc?view=rev&rev=469137
>>Log:
>>fixing AXIS2-1550
>>there was a problem in services.xml.
>>    
>>
>
>What was the problem?? I don't see a problem in what has been changed.
>
>  
>
The problem was he has added operation elements w.o specifying the mep
attribute.In that case axis3 assumes MEP as  in-out and generated wsdl
accordingly. But in this case he has used in-only message receiver with
in-out mep , so stub has generated for in-out operation while method
dose not have any return value , so client wait to get the response ,
but no response so the exception.


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


Re: svn commit: r469137 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

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

Sanjiva Weerawarana wrote:

>On Mon, 2006-10-30 at 12:36 +0000, deepal@apache.org wrote:
>  
>
>>Author: deepal
>>Date: Mon Oct 30 04:36:08 2006
>>New Revision: 469137
>>
>>URL: http://svn.apache.org/viewvc?view=rev&rev=469137
>>Log:
>>fixing AXIS2-1550
>>there was a problem in services.xml.
>>    
>>
>
>What was the problem?? I don't see a problem in what has been changed.
>
>  
>
The problem was he has added operation elements w.o specifying the mep
attribute.In that case axis3 assumes MEP as  in-out and generated wsdl
accordingly. But in this case he has used in-only message receiver with
in-out mep , so stub has generated for in-out operation while method
dose not have any return value , so client wait to get the response ,
but no response so the exception.


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


Re: svn commit: r469137 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Mon, 2006-10-30 at 12:36 +0000, deepal@apache.org wrote:
> Author: deepal
> Date: Mon Oct 30 04:36:08 2006
> New Revision: 469137
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=469137
> Log:
> fixing AXIS2-1550
> there was a problem in services.xml.

What was the problem?? I don't see a problem in what has been changed.

>  <service name="AddressBookService" scope="application">
> +    <description>
> +        This is sample service 2
> +    </description>

If you're putting a description please put a meaningful one - this is
useless :). A small explanation of what the service is would be nice to
have ..

Sanjiva.


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


Re: svn commit: r469137 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/src/META-INF/services.xml

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Mon, 2006-10-30 at 12:36 +0000, deepal@apache.org wrote:
> Author: deepal
> Date: Mon Oct 30 04:36:08 2006
> New Revision: 469137
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=469137
> Log:
> fixing AXIS2-1550
> there was a problem in services.xml.

What was the problem?? I don't see a problem in what has been changed.

>  <service name="AddressBookService" scope="application">
> +    <description>
> +        This is sample service 2
> +    </description>

If you're putting a description please put a meaningful one - this is
useless :). A small explanation of what the service is would be nice to
have ..

Sanjiva.


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