WSDL2Java client generation field-value mapping

2010-07-19 Thread Abhishek V
Hello, I am using WSDL2Java for generating client code. Is there any way in the tool to generate mapping for Java fields values to SOAP values. For example, generated clients maps value of false to "0" for datatype xsd:boolean, but our services are expecting "false" as value for those field. Tha

Re: block method from service.xml

2010-07-19 Thread Nadir Amra
Currently, you can block methods using excludeOperations in services.xml as follows: op1 However, this only works when the WSDL is generated dynamically by the Axis2 engine. There is a JIRA https://issues.apache.org/jira/browse/AXIS2-4440 that will ensure this feature works for stati

Re: Specifying client timeout?

2010-07-19 Thread Meeusen, Christopher W.
Great!!! Thanks! On Jul 19, 2010, at 9:59, "rahul yadav" wrote: stub._getServiceClient().getOptions().setTimeOutInMilliSeconds (_ws.__EvipSvrService_timeout); On Mon, Jul 19, 2010 at 8:15 PM, Meeusen, Christopher W. > wrote: Hi, I’ve got what I hope is an easy question, but I ha

Re: Specifying client timeout?

2010-07-19 Thread rahul yadav
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(_ws.__EvipSvrService_timeout); On Mon, Jul 19, 2010 at 8:15 PM, Meeusen, Christopher W. < [email protected]> wrote: > Hi, > > > > I’ve got what I hope is an easy question, but I haven’t been able to find > much on it thro

RE: Specifying client timeout?

2010-07-19 Thread Christian Gosch
In the generated „Stub“ class, there should be a method for every operation of the service. Each of these methods follows a simple stereotype as you will see by code inspection. Just between preparing the SOAP headers and execution of the actual operation, you can set some arbitrary options

Specifying client timeout?

2010-07-19 Thread Meeusen, Christopher W.
Hi, I've got what I hope is an easy question, but I haven't been able to find much on it through google I've got some web service stubs that I've generated from wsdl2java using adb as the databinding. I want to explicitly specify a timeout value for the remote call. How do I do that?

Re: block method from service.xml

2010-07-19 Thread Afkham Azeez
http://wso2.org/library/2060 On Fri, Jul 16, 2010 at 9:53 PM, haipeng du wrote: > I have one java service class to handle webservice call. And there are some > methods I do not want to expose. How could I modify service.xml to block > these methods? > Thanks a lot. > > -- > Haipeng Du > Salt Lake