If you regenerate the code and create and deploy the new service aar file, then I can not find the problem with that. I mean it is same as deploying a new service.
If you want to debug, you can do that by adding a break point at AxisEngine.receive method. Deepal > > I have regenerate the client and the server after the changes in wsdl. > > Any idea where the request arrive in the webservice code ? So i could see > where axis "lose" the values. > > Yves-Marie. > > > > > > -----Message d'origine----- > De : Deepal jayasinghe [mailto:[email protected]] > Envoyé : jeudi 15 janvier 2009 15:20 > À : [email protected] > Objet : Re: Correct SOAP request but server side getting null object > > DANIEL, Yves Marie wrote: > >> Hi everyone ! >> >> I'm using Axis2 to create a webservice with a client and a server. I >> wrote my wsdl, generate both client and server side. Everything ran >> fine (the webservice was OK), i change some names of my types in wsdl, >> and : >> > As I can see you need to code generate again. > > Deepal > >> >> 1) The client send the request (just an object with some string >> fields) >> 2) With tcpmon, i can see the request is good, the fields are filled >> with correct values >> 3) Server side class get the object, but the fields are null ! >> >> I tried to put some logging in the MessageReceiverInOut and it seems >> the request does not go through invokeBusinessLogic or the setters of >> the fields. >> I tried also in the parse method of my object. What i can see is that >> the default constructor is call, creating an empty bean, and the >> method of my webservice is called with this bean, without reading my >> request... >> >> Basically, i have in my wsdl : >> >> <xs:element name="getImmediateAuthorizationsReq"> >> <xs:complexType> >> <xs:sequence> >> <xs:element name="requests" type="xs:string"/> >> </xs:sequence> >> </xs:complexType> >> </xs:element> >> >> I see the SOAP request : >> >> <ns1:getImmediateAuthorizationsReq xmlns:ns1=http:// >> <http://myNamespace>myNamespace <http://myNamespace>> >> <ns1:requests>TESSSST</ns1:requests> >> </ns1:getImmediateAuthorizationsReq> >> and the server get : GetImmediateAuthorizationsReq.getRequests null >> >> Any idea about the cause, or a way to debug ? >> >> (Please note this is my first webservice :D) >> >> Bye, >> Yves-Marie. >> > > > -- > Thank you! > > > http://blogs.deepal.org > http://deepal.org > > > -- Thank you! http://blogs.deepal.org http://deepal.org
