I have cheked in the servicemix.log file and the out message of the webservice operation is not null...
Any Help ? Thanks, Santiago. smontico wrote: > > Hi, > > I have deployed a cxf sa into servicemix 4, the webservice operation has 4 > arguments, 2 for in parameters and 2 for out parameters. > I dont know why, one of the 2 out parameters is not modified when i > received the response from the webservice operation but it is modified in > the server side, the other object is modified correclty. > > Could be something in my wsdl ? > > This is my wsdl: > > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > xmlns:gr="http://com/crs/sag/service" > xmlns:tns="http://com/crs/sag/service" name="validateLocation" > targetNamespace="http://com/crs/sag/service"> > <wsdl:types> > <xs:schema targetNamespace="http://com/crs/sag/service" > elementFormDefault="qualified"> > <xs:include schemaLocation="ValidateLocationRQ.xsd"/> > <xs:include schemaLocation="ValidateLocationRS.xsd"/> > <xs:include > schemaLocation="../Common_Usage/HeaderRQ.xsd"/> > <xs:include > schemaLocation="../Common_Usage/HeaderRS.xsd"/> > </xs:schema> > </wsdl:types> > <wsdl:message name="sendValidateLocationInput"> > <wsdl:part name="HeaderRQ" element="gr:HeaderRQ"/> > <wsdl:part name="ValidateLocationRQ" > element="gr:ValidateLocationRQ"/> > </wsdl:message> > <wsdl:message name="sendValidateLocationOutput"> > <wsdl:part name="HeaderRS" element="gr:HeaderRQ"/> > <wsdl:part name="ValidateLocationRS" > element="gr:ValidateLocationRS"/> > </wsdl:message> > <wsdl:portType name="GeographicReferenceType"> > <wsdl:operation name="ValidateLocation"> > <wsdl:input message="gr:sendValidateLocationInput"/> > <wsdl:output message="gr:sendValidateLocationOutput"/> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="validateLocationSOAPBinding" > type="tns:GeographicReferenceType"> > <soap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="ValidateLocation"> > <wsdl:input> > <soap:body use="literal" > parts="ValidateLocationRQ"/> > <soap:body use="literal" parts="HeaderRQ"/> > > </wsdl:input> > <wsdl:output> > <soap:body use="literal" > parts="ValidateLocationRS"/> > <soap:body use="literal" parts="HeaderRQ"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="ValidateLocationService"> > <wsdl:port name="ValidateLocation" > binding="tns:validateLocationSOAPBinding"> > <soap:address > location="http://localhost:8193/ValidateLocationService/"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > > This is the webservice operation: > > @WebService(name = "ValidateLocationService", targetNamespace = > "http://com/crs/sag/service" , endpointInterface = > "com.crs.sag.service.GeographicReferenceType") > public class GeographicReferenceTypeImpl implements > GeographicReferenceType{ > > public void validateLocation(HeaderRQ headerRQ, > ValidateLocationRQ validateLocationRQ, Holder<HeaderRQ> > headerRS, > Holder<ValidateLocationRS> validateLocationRS) { > > > In the server i set an instance of HeaderRQ into headerRS.value but when i > check this variable in the client side the value is null.... > > What could be wrong? > > Thanks in advance, Santiago. > > -- View this message in context: http://old.nabble.com/Object-not-modified-in-webservice-response---servicemix-4-tp27851039p27852567.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
