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

Reply via email to