I used WsGen to generate server/client stubs from wsdl. I found out that 
setter methods of lists are not generated. Instead, it assumes that the user 
will use the java.util.List functions to add elements to the list, but it 
seem that the server side doesn't like it and it generates XFireFault. As 
soon as I manually add the setter methods for the lists, everything is 
working fine.
So, what should I do to configure the server to check for setter methods or 
should I configure WsGen to also generate the setter methods?

org.codehaus.xfire.fault.XFireFault: No write method for property 
{http://_07._2003.farexml.webservices.mycompany.com}passengerTypeQuantity in 
class 
com.mycompany.webservices.farexml._2003._07.OTAAirLowFareSearchRQ$TravelerInformation
 at 
org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
 at 
org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
 at 
org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
 at 
org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
 at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
 at org.codehaus.xfire.client.Client.onReceive(Client.java:382)
 at 
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
 at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
 at 
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
 at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
 at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
 at org.codehaus.xfire.client.Client.invoke(Client.java:335)
 at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
 at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
 at $Proxy10.oTA_AirLowFareSearchRQ(Unknown Source)
 at 
com.faresheets.webservices.websvc.OTA_AirLowFareSearchTestClient.testClient(OTA_AirLowFareSearchTestClient.java:83)
 at 
com.faresheets.webservices.websvc.OTA_AirLowFareSearchTestClient.main(OTA_AirLowFareSearchTestClient.java:94)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) 




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to